Skip to content

Update changelog to state the removal of the pytest_cmdline_preparse hook - #14124

Merged
bluetech merged 2 commits into
pytest-dev:mainfrom
jxramos:patch-1
Jan 18, 2026
Merged

bluetech merged 2 commits into
pytest-dev:mainfrom
jxramos:patch-1

Conversation

@jxramos

@jxramos jxramos commented Jan 18, 2026

Copy link
Copy Markdown
Contributor

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.

@bluetech bluetech left a comment

Copy link
Copy Markdown
Member

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 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
@patchback

patchback Bot commented Jan 18, 2026 •

Copy link
Copy Markdown

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

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