Poetry do not install package version with a post suffix, even in exact requirements #3657
Closed
3 tasks done
Labels
kind/bug
Something isn't working as expected
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 (
-vvv
option).OS version and name: macOS 11.1
Poetry version: 1.1.4
Link of a Gist with the contents of your pyproject.toml file: N/A, a empty project is enough to reproduce this issue
Issue
Try use this command to install nonebot2 package, version
2.0.0a9.post1
(comply with PEP440), which is exist in pypi:poetry add [email protected] --allow-prereleases
but get version
2.0.0.a9
installed:And pyproject.toml says version is
2.0.0a9.post1
:I can use pip to install/upgrade it to target version, though:
Any ideas?
The text was updated successfully, but these errors were encountered: