Skip to content

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

Merged
edsavage merged 1 commit intoelastic:mainfrom
edsavage:fix/dev-tools-pytest-changelog-ci
May 7, 2026
Merged

[ML] Harden dev-tools Python CI: pytest on bookworm, deps, narrow changelog unittest#3052
edsavage merged 1 commit intoelastic:mainfrom
edsavage:fix/dev-tools-pytest-changelog-ci

Conversation

@edsavage
Copy link
Copy Markdown
Contributor

@edsavage edsavage commented May 7, 2026

  • 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.

…ngelog unittest

- 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>
@edsavage edsavage added >build >non-issue :ml auto-backport Automatically merge backport PRs when CI passes v9.5.0 v9.4.1 v9.3.5 labels May 7, 2026
@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.

@elasticsearchmachine
Copy link
Copy Markdown

Pinging @elastic/ml-core (Team:ML)

@edsavage
Copy link
Copy Markdown
Contributor Author

edsavage commented May 7, 2026

Merging as matter of urgency.

@edsavage edsavage merged commit d1e9342 into elastic:main May 7, 2026
36 checks passed
edsavage added a commit that referenced this pull request May 7, 2026
…ngelog unittest (#3052) (#3053)

- 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>
edsavage added a commit that referenced this pull request May 7, 2026
…ngelog unittest (#3052) (#3054)

- 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants