Versions no longer available with Python 3.10 #5236
Replies: 3 comments 8 replies
-
|
yeah, Python 3.10 itself doesn't look like the reason. I tried this in a fresh Python 3.10.20 venv and The update about I'd try forcing the real index and bypassing cache on that machine: python -m pip install --no-cache-dir -i https://pypi.org/simple 'setuptools==81.0.0'
python -m pip config debugIf that works, check |
Beta Was this translation helpful? Give feedback.
-
|
@sueun-dev, I am seeing the exact same thing as @nickvanderstel. I tried your suggestion but still got an error: This followed by a whole list of versions ranging from |
Beta Was this translation helpful? Give feedback.
-
|
This looks more like an index/configuration issue than a Python 3.10 compatibility issue.
On the affected machine I would check:
python -m pip config list -v
echo "$PIP_INDEX_URL"
echo "$PIP_EXTRA_INDEX_URL"Also check any
python -m pip index versions setuptools -vv
python -m pip index versions setuptools --index-url https://pypi.org/simple/ -vv
python -m pip install --no-cache-dir --index-url https://pypi.org/simple/ -vv setuptools==81.0.0If the direct PyPI command succeeds, then something local is overriding or truncating the package index, for example a corporate mirror, proxy cache, or pip config on that one host. If it still stops at python -m pip --version
python -m pip debug --verboseThat should show whether pip is filtering candidates locally or simply not receiving newer candidates from the index. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We've been using setuptools 81.0.0 with our CI for a few months now, but this morning we were no longer able to install that version, and the latest available version reported by pip is 21.0.0. Any reason why python 3.10 would no longer have access to the more recent releases?
Update: this appears to be isolated to one machine, but we're not sure why this sudden behavior, as we didn't update anything over the past couple of days.
One thing I noticed is that running
pip install -vv setuptools==81.0.0stops fetching links from pypi at version 21. It isn't skipping more recent versions.Beta Was this translation helpful? Give feedback.
All reactions