Skip to content

[9.4][ML] Harden dev-tools Python CI: pytest on bookworm, deps, narrow changelog unittest (#3052)#3053

Merged
edsavage merged 1 commit intoelastic:9.4from
edsavage:backport/9.4-pr-3052-dev-tools-ci
May 7, 2026
Merged

[9.4][ML] Harden dev-tools Python CI: pytest on bookworm, deps, narrow changelog unittest (#3052)#3053
edsavage merged 1 commit intoelastic:9.4from
edsavage:backport/9.4-pr-3052-dev-tools-ci

Conversation

@edsavage
Copy link
Copy Markdown
Contributor

@edsavage edsavage commented May 7, 2026

Backport

Backports #3052 to 9.4.

Same changes as main:

  • dev-tools pytest step (python:3.11-bookworm) with test-requirements.txt (PyYAML/jsonschema)
  • run_dev_tools_tests.sh, pytest.ini, dev_tools_pytest Buildkite step
  • Narrow test-changelog-tools.sh unittest discover to test_changelog_tools.py only

Labels: please apply :ml, >build, version label as appropriate, backport, auto-backport if desired.

Made with Cursor

…ngelog unittest (elastic#3052)

- Add dev-tools pytest step (python:3.11-bookworm) with test-requirements.txt
  including PyYAML/jsonschema so changelog helpers import during collection.
- Add run_dev_tools_tests.sh, pytest.ini, and dev_tools_pytest Buildkite step.
- Restrict test-changelog-tools.sh unittest discover to test_changelog_tools.py so
  pytest-only modules are not loaded without pytest installed.

Co-authored-by: Cursor <cursoragent@cursor.com>
@prodsecmachine
Copy link
Copy Markdown

prodsecmachine commented May 7, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@edsavage edsavage merged commit eb68b7a into elastic:9.4 May 7, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants