-
-
Notifications
You must be signed in to change notification settings - Fork 535
new importlib-metadata release causes tox to break pip on Python<3.8 #1473
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
Comments
Closed via #1472 |
I had this error happen quite unexpectedly over the weekend, and spent sunday morning trying to fix it. I resolved it by adding
And now I've started receiving this error a few minutes ago...
I dont think its right to be using a patch-version increment when jumping a major version of a dependency like that. Time to lock tox on v3.14.1. |
I'm having a similar issue but now with importlib-metadata 2.0.0:
|
@StingyJack / @vlizanae - what's worked for me is using the new pip solver: |
I just stopped using floating versions. This wasn't the only patch version break that burned me. |
This line:
https://github.com/tox-dev/tox/blob/master/setup.cfg#L41
Causes pip to end up installing invalid dependencies and then barfing about them at runtime:
Honestly, this is arguably a pip bug, since 1.0.0 still meets the requirements, but it's likely more pragmatic to just change the requirement in your
setup.cfg
to be<2.0
.The text was updated successfully, but these errors were encountered: