Skip to content

Fix -V to show version information#14382

Merged
nicoddemus merged 1 commit intopytest-dev:mainfrom
nicoddemus:14381-version
Apr 21, 2026
Merged

Fix -V to show version information#14382
nicoddemus merged 1 commit intopytest-dev:mainfrom
nicoddemus:14381-version

Conversation

@nicoddemus
Copy link
Copy Markdown
Member

This regressed in #13575.

Fixes #14381.

@psf-chronographer psf-chronographer Bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Apr 11, 2026
@nicoddemus nicoddemus added the backport 9.0.x apply to PRs at any point; backports the changes to the 9.0.x branch label Apr 11, 2026
@nicoddemus nicoddemus marked this pull request as ready for review April 11, 2026 13:36
Comment thread src/_pytest/config/__init__.py
@nicoddemus nicoddemus merged commit d72943a into pytest-dev:main Apr 21, 2026
58 of 62 checks passed
@nicoddemus nicoddemus deleted the 14381-version branch April 21, 2026 11:54
@patchback
Copy link
Copy Markdown

patchback Bot commented Apr 21, 2026

Backport to 9.0.x: 💚 backport PR created

✅ Backport PR branch: patchback/backports/9.0.x/d72943a57266ef368fb3498a3fd136cbf1c7aee6/pr-14382

Backported as #14407

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

nicoddemus added a commit that referenced this pull request Apr 21, 2026
This regressed in #13575.

Fixes #14381.

(cherry picked from commit d72943a)

Co-authored-by: Bruno Oliveira <bruno@pytest.org>
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 bot:chronographer:provided (automation) changelog entry is part of PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Version short name (-V) does not appear to work

3 participants