🧪 Use Pytest 8.2.1 on PyPy #1080
Merged
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.
What do these changes do?
This patch temporarily restricts pytest version below 8.2.2 under PyPy due to a discovered regression that it introduced [1].
The regression has been observed on at least
pypy3.9-7.3.16
,pypy3.10-7.3.19
andpypy3.11-7.3.19
.It can be triggered by running the following in affected runtimes:
pytest --collect-only --no-cov tests/test_abc.py tests/test_copy.py tests/test_incorrect_args.py tests/test_multidict.py tests/test_mypy.py tests/test_pickle.py tests/test_types.py tests/test_update.py tests/test_version.py
Are there changes in behavior for the user?
This is a contributor-only change.
Related issue number
pytest-dev/pytest#13312, #1072, pytest-dev/pytest#12414, pytest-dev/pytest#12409.
Checklist