-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expected
Description
-
[x ] I am on the latest Poetry version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
[x ] If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption). -
OS version and name: Ubuntu 16.04
-
Poetry version: 1.0.3
The following command is throwing error
pip add -vvv git+https://github.com/Prakashvanapalli/mmdetection.git
error:
[AttributeError]
'Call' object has no attribute 'id'
In the debug mode, I see the following changes have been made from 1.0.2 to 1.0.3
- previously it was
if not isinstance(func, ast.Name):
continue
if func.id != "setup":
continue- Now it was
if not (isinstance(func, ast.Name) and func.id == "setup") and not (
isinstance(func, ast.Attribute)
and func.value.id == "setuptools"
and func.attr == "setup"
):
continuewhen I changed the code to the old version. the installation is working fine. May I know why is this problem occurring?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expected