You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…1761) (#1764)
* fix (setup_reader): in `setup.py` the `setup()` method can also be called by `setuptools.setup()`
* fix (setup_reader): make black happy
* fix (setup_reader): skip test for python <3.4
shenek
pushed a commit
to shenek/poetry
that referenced
this issue
Dec 31, 2019
…ython-poetry#1761) (python-poetry#1764)
* fix (setup_reader): in `setup.py` the `setup()` method can also be called by `setuptools.setup()`
* fix (setup_reader): make black happy
* fix (setup_reader): skip test for python <3.4
Hello,
I tried to install a git dependency since the master branch include needed fixes for the development.
Then I received the following error:
[RuntimeError] Unable to retrieve the package version for /tmp/pypoetry-git-self-attentive-parserXXXXX
Based on this error I found the following issue describing a similar problem: #673
I tried to add setuptools as
dev dependency
and installed it as suggested.This doesn't helped me and I still recieved the same error message.
Then I took a deeper look into the
setup.py
of this project (https://github.com/nikitakit/self-attentive-parser/blob/master/setup.py#L23)There I have seen that
setup(
was called assetuptools.setup(
instead of the most common way to import the setup command directly.After changing this to
setup
on my fork everything worked fine.Issue
Now my question:
Is this an issue with
ast
parsing and can this be solved in poetry itself or should I ask the project owner to change itssetup.py
?The text was updated successfully, but these errors were encountered: