Skip to content

🧪 Use Pytest 8.2.1 on PyPy #1080

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

webknjaz
Copy link
Member

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 and pypy3.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

  • I think the code is well written
  • Unit tests for the changes exist

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` and `pypy3.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

[1]: pytest-dev/pytest#13312
[2]: pytest-dev/pytest#12414
[3]: pytest-dev/pytest#12409
@webknjaz webknjaz added the bot:chronographer:skip This PR does not need to include a change note label Mar 19, 2025
@webknjaz webknjaz self-assigned this Mar 19, 2025
@webknjaz webknjaz requested a review from asvetlov as a code owner March 19, 2025 19:45
@webknjaz webknjaz marked this pull request as draft March 19, 2025 19:47
@webknjaz webknjaz merged commit 4445017 into aio-libs:master Mar 19, 2025
42 of 46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:skip This PR does not need to include a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant