-
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
Unable to retrieve the package version #2175
Comments
Hello @leibowitz, the issue is the same as explained in #673. poetry itself is running with python2. There there is no support for parsing the The only chance to get it work is to make sure poetry runs with python3. fin swimmer |
Did you mean it is a duplicate of #661? |
Have the same issue while installing this package https://github.com/preusx/python-chain-caller |
@cyberbudy this work for me with no problems with the latest pre-release (1.1.0b2) |
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. |
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 Catalina 10.15.2
Poetry version: 1.0.5
Link of a Gist with the contents of your pyproject.toml file: https://gist.githubusercontent.com/leibowitz/ac9f42e0b3925ca7d01f81e26f3bb292/raw/009eef68c7527d486b4538a60503cbdaea3b0a1a/pyproject.toml
Issue
I am trying to install a package from a git repository (because I had to fork the original package, and I haven't published it to pypi) with:
But I get the following error:
The package is django-moneyfield, and the
setup.py
is usingsetup
fromdistutils
:This seems to be the issue, as any package I try to install in this way (using the git repository url) which has this import seems to fail with the same error.
Using
poetry -vvv
return the traceback, in case it is useful:Reading other issues, I can see some comments about installing setuptools, to allow parsing. This doesn't seem to help.
Reference: #673 (comment)
Another one mention changing the
setup.py
to use setuptools. Is this the only potential solution I could try?Reference: #835 (comment)
I tried with python 3.7.4 (with
poetry add -vvv ...
), and got another error:Not sure what this one is all about. Doesn't even seems related to this issue... Indeed, removing the
-vvv
argument (usingpoetry add ...
) seems to work ?! Therefore, ignoring theNoneType
error, it seems to be related to the python version.Is this then related to #661?
Feel free to close if this is a duplicate issue of the above
The text was updated successfully, but these errors were encountered: