Skip to content

Conversation

@jxramos
Copy link
Contributor

@jxramos jxramos commented Jan 18, 2026

Changing the misleading deprecation notice for pytest_cmdline_preparse and instead communicating that the hook has actually been removed from pytest all together. Given this removal the changelog notice line item will be promoted up to the Breaking Changes section up from the Deprecations section it was previously found.

jxramos and others added 2 commits January 18, 2026 22:22
Changing the mistaken deprecation notice for `pytest_cmdline_preparse` and instead communicating that the hook has actually been removed from pytest.
Copy link
Member

@bluetech bluetech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

I pushed a couple of tweaks:

  • Kept the 7.0.0 changelog, it was correct and refers to the deprecation that occurred then.
  • Add a ref to the deprecation note.

@bluetech bluetech added skip news used on prs to opt out of the changelog requirement backport 9.0.x apply to PRs at any point; backports the changes to the 9.0.x branch labels Jan 18, 2026
@bluetech bluetech enabled auto-merge (squash) January 18, 2026 20:27
@bluetech bluetech merged commit eb0061b into pytest-dev:main Jan 18, 2026
33 checks passed
@patchback
Copy link

patchback bot commented Jan 18, 2026

Backport to 9.0.x: 💚 backport PR created

✅ Backport PR branch: patchback/backports/9.0.x/eb0061b74e730a9ac38adc591a8f12312300d4bc/pr-14124

Backported as #14130

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Jan 18, 2026
bluetech added a commit that referenced this pull request Jan 18, 2026
…b0061b74e730a9ac38adc591a8f12312300d4bc/pr-14124

[PR #14124/eb0061b7 backport][9.0.x] Update changelog to state the removal of the `pytest_cmdline_preparse` hook
@jxramos jxramos deleted the patch-1 branch January 19, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 9.0.x apply to PRs at any point; backports the changes to the 9.0.x branch skip news used on prs to opt out of the changelog requirement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants