-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
pytest 7.1.2 fails over tomli import on Python 3.11.0b1 #9982
Comments
https://github.com/pytest-dev/pytest/pull/9741/files was supposed to fix that i believe |
@nicoddemus @bluetech seems like we missed to backport this one, i added the labels, but i probably wont get to it this weekend myself |
closing - #9983 should resolve this once we merge/release |
@gitpushdashf thanks for bringing this to attention |
A backport doesn't hurt, although I don't see why it would be needed - |
Great, thank you so much!
I installed this in Docker, so it's a clean, standalone environment. I think it has to be some kind of dependency issue. Python 3.11 includes tomllib, preferably used instead of tomli. |
I agree this sounds like an issue in your setup, @gitpushdashf, and not pytest. pytest depends on How are you installing pytest? Can you share the |
I'm starting to think you might be right. It's actually just one project I'm running into this with. Let me do some digging. |
You're right! This is an issue with my virtualenv manager. My bad. Should I close this out? |
Yeah, thanks @gitpushdashf! |
This issue is closed but was the problem really fixed? |
@cclauss This will be released in pytest 7.2.0 only. |
Maybe reopen the issue until v7.2.0 lands? |
Our workflow is to close an issue as soon as it has been fixed, not if it has been released already. |
I can try to come up with a minimal test case for this if needed.
The text was updated successfully, but these errors were encountered: