Skip to content

docs: note pyproject minversion compatibility with pytest<6#14258

Merged
nicoddemus merged 1 commit intopytest-dev:mainfrom
mitre88:patch-3
Mar 6, 2026
Merged

docs: note pyproject minversion compatibility with pytest<6#14258
nicoddemus merged 1 commit intopytest-dev:mainfrom
mitre88:patch-3

Conversation

@mitre88
Copy link
Contributor

@mitre88 mitre88 commented Mar 5, 2026

Summary

  • Add a compatibility note to the pyproject.toml configuration section.
  • Clarify that pytest versions older than 6.0 do not read pyproject.toml.
  • Recommend keeping minversion in pytest.ini or setup.cfg when supporting older pytest.

Closes #7730

Notes

  • Documentation-only change; no runtime behavior changed.
  • Tests are not required for this docs clarification.

Add note about maintaining minversion for older pytest versions.
@nicoddemus nicoddemus 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 Mar 6, 2026
@nicoddemus nicoddemus merged commit d6fa26c into pytest-dev:main Mar 6, 2026
33 checks passed
@patchback
Copy link

patchback bot commented Mar 6, 2026

Backport to 9.0.x: 💚 backport PR created

✅ Backport PR branch: patchback/backports/9.0.x/d6fa26c62873ea648272b337f2dc45d095394745/pr-14258

Backported as #14267

🤖 @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 Mar 6, 2026
Add note about maintaining minversion for older pytest versions.

Closes #7730

(cherry picked from commit d6fa26c)
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.

document how to handle minversion= in pyproject.toml

2 participants