poetry add robotframework

Created on 28 Nov 2020  路  4Comments  路  Source: python-poetry/poetry

  • [X] I am on the latest Poetry version.
  • [X] 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 (-vvv option).

Issue


Using pip install robotframework the installation is successful.
But, the following error happens when using poetry add robotframework -vvv

Bug Triage

Most helpful comment

@cleversondeveloper As @tomzx said: you can't name your project "_robotframework_" and add a dependency of the same name. That can not possibly work. This is not allowed in Python. Not just with poetry.

All 4 comments

Works fine for me with poetry 1.1.4, Windows 7 x64 SP1, Python 3.8.5.

It looks like you called your package robotframework when you ran poetry init? Is that correct? I'm basing this on the fact that your output says

Resolving dependencies...
   1: fact: robotframework is 0.1.0

where it should be something like your-library. It seems to be failing because it's resolving to itself instead of finding robotframework on PyPI. I would suggest you rename your package to something else to avoid this conflict.

Works fine for me with poetry 1.1.4, Windows 7 x64 SP1, Python 3.8.5.

It looks like you called your package robotframework when you ran poetry init? Is that correct? I'm basing this on the fact that your output says

Resolving dependencies...
   1: fact: robotframework is 0.1.0

where it should be something like your-library. It seems to be failing because it's resolving to itself instead of finding robotframework on PyPI. I would suggest you rename your package to something else to avoid this conflict.

3.8.6

@cleversondeveloper As @tomzx said: you can't name your project "_robotframework_" and add a dependency of the same name. That can not possibly work. This is not allowed in Python. Not just with poetry.

as @sinoroc wrote!

Was this page helpful?
0 / 5 - 0 ratings