-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
GitHub dependency with hashed pins fails on Windows for Python < 3.10 #2773
Comments
As the trace indicates the issue is with packaging and not tox 👍 |
I saw that in the stack trace, but the version of packaging is the same with tox 3 or with tox 4. What should I do to try to narrow this down? |
Irrelevant. tox 3 does not parse your requirement files, per https://tox.wiki/en/latest/faq.html#new-features-in-tox-4
From some quick local testing seems the trailing whitespace is causing the issue, so perhaps report that to packaging? |
The fact that this fails only on Windows is actually a tox bug 😆 it should fail everywhere 😆 |
@nedbat seems master branch https://github.com/nedbat/coveragepy/blob/master/requirements/dev.pip no longer contains this line... |
Yes, separately I got tired of keeping this dependency going. If you don't want to pursue this, I understand. |
https://github.com/tox-dev/tox/pull/2779/files should handle this edge case that's failing with packaging. |
Wow, thanks! |
… 4.0.18 commit 2ec58797334ac7be8e8c04cec4a2909534021436 Author: Bernát Gábor <bgabor8@bloomberg.net> Date: Mon Dec 26 09:09:50 2022 -0800 release 4.0.18 commit acac244f85172dc1a4ad3e9fe2b9cfcbd7ce5e6d Author: Bernát Gábor <gaborjbernat@gmail.com> Date: Mon Dec 26 17:09:40 2022 +0000 Handle whitespace around requirements (#2779) Resolves tox-dev/tox#2773
Issue
After upgrading to tox 4, one of my GitHub-installed dependencies is failing, but only on Windows, and only for Python versions 3.7, 3.8, and 3.9. Other OS's, and Python 3.10 or 3.11 on Windows are successful.
The run with three OS's, and Windows failing, is here: https://github.com/nedbat/coveragepy/actions/runs/3772843444/jobs/6413996847
The failure is here: https://github.com/nedbat/coveragepy/actions/runs/3772843444/jobs/6413996895#step:6:569
The dependency is in dev.pip:
Environment
Provide at least:
Output of running tox
Provide the output of
tox -rvv
: see the action run link above.Minimal example
I tried to remove other factors (especially tox-gh-actions, which I think is fully removed from this run).
The text was updated successfully, but these errors were encountered: