Update tox.ini and CI for pytest 9 support#98
Open
paduszyk wants to merge 4 commits into
Open
Conversation
Just to make it consistent with CI.
All tests pass.
NOTE: pytest 8 is now tested within test-legacy-pytest job's matrix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates our test matrix to add support for pytest 9 and improves the organization of test environments for different Python and pytest versions. The main changes focus on expanding and clarifying our CI coverage in both the GitHub Actions workflow and the
tox.iniconfiguration.Updates to CI test matrix and tox environments:
Test matrix improvements:
testjob in.github/workflows/test.ymlto run tests using pytest 9 across all supported Python versions (3.10-3.14 and pypy3.10), and adjusted thetox_envvalues accordingly.test-legacy-pytestjob to include pytest 8 for all supported Python versions (3.9–3.14 and pypy3.10), in addition to the existing coverage for pytest 5-7 on Python 3.9.Tox configuration updates:
envlistintox.inito add new environments for pytest 9 (py{310,311,312,313,314,py3}-pytest9) and to clarify pytest 8 coverage across all relevant Python versions.depssection oftox.ini.