-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
poetry search fails with ValueError: Unable to parse ".000001". #637
Comments
From the error you see, Poetry tries to parse a |
Right, and where does this version come from? My package version(the one I'm trying to install) is "0.0.1". |
The |
Ok, well I assure you that it's not the case. |
I have run into the same error on poetry version 0.12.11: Running the command
Seems like that command is quite brittle and crashes on packages using custom version strings. In this case, the package |
@sdispater while I agree that
|
This bug is still not fixed in the newest release candidate 1.0.0b1. |
This is a duplicate of #1346 (or rather, the latter is a duplicate of this one). I filed a PR to fix this. |
Some packages (like `pygame-music-grid`) have unparseable metadata. This resulted in a ValueError. pip ignores packages like these, so it's reasonable to do the same in poetry itself and only display the well-formed ones. Fixes python-poetry#1345. Fixes python-poetry#637.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
When I try to run
poetry search <name of my package>
, I get an error:The package I'm searching is mine, and is on a private repository. The problem is probably related to my package, since
poetry search
otherwise works with other packages(existing or not).The text was updated successfully, but these errors were encountered: