Skip to content

testing: failures on Python 3.11 due to Path.rglob("") #9930

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

Closed
bluetech opened this issue May 9, 2022 · 2 comments · Fixed by #9931
Closed

testing: failures on Python 3.11 due to Path.rglob("") #9930

bluetech opened this issue May 9, 2022 · 2 comments · Fixed by #9931
Labels
type: selftests a problem in the tests of pytest

Comments

@bluetech
Copy link
Member

bluetech commented May 9, 2022

Failures in testing/test_conftest.py due to some test fixture using path.rglob(""). This is not a compat problem in pytest itself, just its test suite. Example run:

https://github.com/pytest-dev/pytest/runs/6348412015

I'll submit a workaround and maybe file a bug with python if this is a regression there.

@hroncok
Copy link
Member

hroncok commented May 11, 2022

maybe file a bug with python if this is a regression there.

It was a regression

@hugovk
Copy link
Member

hugovk commented May 11, 2022

And will be in the next beta due on 2022-05-30, in case you want to remove the workaround:

https://peps.python.org/pep-0664/#release-schedule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: selftests a problem in the tests of pytest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants