Poetry looking for `traitlets 5.2.2.post0`
See original GitHub issueDiscussed in https://github.com/orgs/python-poetry/discussions/6825
<div type='discussions-op-text'>Originally posted by adam-grant-hendry October 17, 2022
commitizen is encountering a strange issue in its CI workflows that poetry cannot find a nonexistent package:
Package traitlets (5.2.2.post0) not found
traitlets went from 5.2.2 -> 5.2.2.post1, but never released a post0 (nor was a post0 ever yanked). See the PyPI history.
The workflow doesn’t cache virtual environments, so there is no cache to manually clear on GitHub.
Has anyone experienced a similar issue? Is the dependency resolver expriencing an issue here because traitlets uses an extra post identifier in its versions and poetry is assuming there should be a post0…?
Any help is welcome and would be appreciated! Thank you!</div>
Issue Analytics
- State:
- Created a year ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Package List — Spack 0.20.0.dev0 documentation
Spack will search your current directory for the download files. ... Versions: master, 5.2.4, 5.2.3, 5.2.2, 5.2.1, 5.1.4, 5.1.3, 5.0.1, 4.0.1 ...
Read more >Software Packages in "kinetic", Subsection python - Ubuntu
Python 3 module to discover libraries. python3-findpython (0.2.1-1) [universe]: utility to find python versions on your system; python3-fiona (1.8.21-1build2) ...
Read more >poetry.lock · master · Swain Lab / aliby / agora · GitLab
Network-independent tools shared by multiple aliby components.
Read more >Available Python wheels - CC Doc
A current list of the Python wheels available from the wheelhouse on our national systems is presented below. This list changes as new...
Read more >Debian -- Software Packages in "sid", Subsection python
... dodgy (0.1.9-5): searches for dodgy looking lines in Python code ... python3-apispec (5.2.2-2): pluggable API specification generator (Python 3) ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This turned out to be an upload with mismatched metadata and filenames. It was resolved through a yank.
Presumably traitlets is a transient dependency. Add an explicit dependency on the version you want to force.
I suspect that the authors of traitlets did some slightly risky stuff (like deleting a release immediately after upload) and are running into a variant of https://github.com/pypi/warehouse/issues/12214.