test: generate snapshots for all Python versions #1748
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.
Description
@bearomorphism I heard you so here's my proposal.
poetry test:allnow usetox-uvto install required Python versions. Contributors have nothing to install on their own. Double benefit: dependencies installation will now be faster when runningpoetry test:allAdded a
python_versionfixture creating a singleparametrizeparameter with the current Python version in the formmajor.minor:test:allsuite will run this over every Python version with a version-specific snapshotAdded a
poetry test:regencommand that will in parallel:Update the contributing guide to document this.
Checklist
Code Changes
tox-uvdependencypoetry test:regencommand and adds it to the contributing guidepython_versionfixture and uses it intest_common_command.pyDocumentation Changes
Update the
CONTRIBUTING.mdExpected Behavior
Steps to Test This Pull Request
Supersedes #1741