-
-
Notifications
You must be signed in to change notification settings - Fork 372
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
Clean up pip exclusion. #1198
Clean up pip exclusion. #1198
Conversation
This isn't passing CI right now; as soon as there is an updated version of pip that resolves pypa/pip#11982, it should pass. I've submitted this as a PR so that we don't forget the cleanup that will be required once that happens. |
Is it possible something (e.g., a tox environment) is being cached? |
No...I found it, though.
That said, This finally worked for me: diff --git a/tox.ini b/tox.ini
index d1c27bb7..06e25d1e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,3 +1,6 @@
+[pkgenv]
+download = True
+
# The leading comma generates the "py" environment.
[testenv:py{,38,39,310,311,312}]
passenv =
@@ -5,6 +8,7 @@ passenv =
LOCALAPPDATA
extras =
dev
+download = True
commands =
python -m coverage run -m pytest -vv {posargs} |
Ugh... so... the problem is caused by the fact that it downloads the latest version of pip... and the only way to fix it is to force the download of the latest version of pip. 🤯 |
well... |
So - what was causing the error previously then? Did we just luck out and have Virtualenv push out a new version that pinned 23.1 as soon as it was available, but they haven't pushed out an update that pins 23.1.1? |
#1196 added exclusions for pip 23.1; however, due to the way that tox auto-updates pip to the most-recent version, an explicit configuration was needed to avoid using pip 23.1 in practice. That configuration is no longer required, and hard-pinning an old version of pip isn't desirable.
Fixes #1195.
PR Checklist: