-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
blockedIssues we can't or shouldn't get to yetIssues we can't or shouldn't get to yethelp neededWe'd love volunteers to advise on or help fix/implement this.We'd love volunteers to advise on or help fix/implement this.
Description
Describe the bug
The docutils 0.21 has two files (https://inspector.pypi.io/project/docutils/0.21/, https://pypi.org/project/docutils/0.21/#files):
- docutils-0.21.post1.tar.gz
- docutils-0.21-py3-none-any.whl
The source distributions is part of the 0.21 release, while it's actually of version 0.21.post1. Pip agrees that this version is 0.21.post1:
$ virtualenv -p 3.12 --clear -q .venv
$ . .venv/bin/activate
(.venv) $ pip install --no-binary docutils docutils==0.21
ERROR: Could not find a version that satisfies the requirement docutils==0.21 (from versions: 0.3, 0.3.5, 0.3.7, 0.3.9, 0.4, 0.5, 0.6, 0.7, 0.8, 0.8.1, 0.9, 0.9.1, 0.10, 0.11, 0.12, 0.13.1, 0.14rc1, 0.14rc2, 0.14, 0.15, 0.15.1.post1, 0.15.2, 0.16b0.dev0, 0.16rc1, 0.16, 0.17b1, 0.17, 0.17.1b1.dev0, 0.17.1, 0.18b1, 0.18, 0.18.1b0, 0.18.1, 0.19b1, 0.19, 0.20rc1, 0.20, 0.20.1, 0.21rc1, 0.21.post1)
ERROR: No matching distribution found for docutils==0.21
(.venv) $ pip install docutils==0.21
Collecting docutils==0.21
Downloading docutils-0.21-py3-none-any.whl.metadata (2.7 kB)
Downloading docutils-0.21-py3-none-any.whl (587 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 587.4/587.4 kB 4.6 MB/s eta 0:00:00
Installing collected packages: docutils
Successfully installed docutils-0.21
Under the right circumstances, this can break uv too.
Expected behavior
Either docutils-0.21.post1.tar.gz has its own version 0.21.post1, or source dists with this naming scheme are rejected by pypi.
To Reproduce
See description
My Platform
Ubuntu 22.04, Python 3.12
Additional context
n/a
black-snow and ajoga
Metadata
Metadata
Assignees
Labels
blockedIssues we can't or shouldn't get to yetIssues we can't or shouldn't get to yethelp neededWe'd love volunteers to advise on or help fix/implement this.We'd love volunteers to advise on or help fix/implement this.