Poetry cannot find and install package with 0.???a (alpha/beta designation) in its version
See original GitHub issue-
I am on the latest Poetry version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption). -
OS version and name: Oracle Linux Server 7.5
-
Poetry version: 0.12.11
-
Link of a Gist with the contents of your pyproject.toml file: Proprietary!
Issue
When trying to add “bit-vector” package, I get this error:
$ poetry add bit-vector
[ValueError]
Could not find a matching version of package bit-vector
add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] <name> (<name>)...
poetry search bit-vector shows:
bit-vector (0.42a0)
A BitVector class for Python
Editing the .toml file and adding ‘bit-vector = “0.26a0”’ works, but poetry show --outdated does not show new “0.42a0” version nor, poetry update updates to this version.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9
Top Results From Across the Web
How can Python Poetry be forced to use a certain setuptools ...
I found a workaround for my problem. In the case of pyhash, the dependency on use_2to3 has already been removed in the master...
Read more >Why you should use Poetry instead of Pip or Conda for Python ...
For example, if we ran the command conda install -c conda-forge numpy==1.22.3 , we would see the following in the terminal:
Read more >Png to vpk
Modern free online conversion tool is This PNG to JPG convert app responds to a request to make documents easier to send, shareJPG...
Read more >python jobs columbus ohio
The Python Jobs Guy August 11, 2022 0 Views 0 Save Saved Removed 0 Python Developer at Echo IT Solutions Role requiring 'No...
Read more >Commands | Documentation | Poetry - Python dependency ...
To get help from the command-line, simply call poetry to see the complete list of commands, ... --dependency : Package to require with...
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

Just a note:
poetrycould print a message likeIf the package you try to install is in alpha/beta, try with the --allow-prereleases flagwhen the command fails. Currently, people experiencing this issue must come here on the issue tracker and search for this problem to get the solution, which is not efficient. Sometimes they will even open duplicate issues 😅 A simple message could help reduce this.Have you tried adding the
--allow-prereleasesflag?