-
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
tool.poetry.dependencies -> from github fails with runtimeError #673
Comments
If I change scapy to:
It works as expected, but I need the master branch for a recent commit... |
Unfortunately, there is no way for Poetry to retrieve the version of the package from this line: https://github.com/secdev/scapy/blob/master/setup.py#L58 Poetry tries its best to retrieve the information it needs but sometimes it's just not possible without executing the I think if you do |
I guess I will chuck it up to an issue with scapys setup file and call this resolved. I shall just wait for them to do a release. Thanks |
Poetry can not retrieve version because it is parsing setup.py with AST parsing and thus consider there is no version of the package. Read more: python-poetry/poetry#673
I installed setuptools by pytype = { git = "https://github.com/google/pytype.git", branch = "master" } |
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).Kali linux: Linux kali 4.18.0-kali2-amd64 Add support for private indices #1 SMP Debian 4.18.10-2kali1 (2018-10-09) x86_64 GNU/Linux
Poetry version: 12.10
Issue
After a really long hang at:
It eventually results in:
The text was updated successfully, but these errors were encountered: