Poetry: Maximum recursion depth exceeded on green install

Created on 13 Jan 2019  ·  7Comments  ·  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).

  • OS version and name: macOS 10.14.2

  • Poetry version: 0.12.10
  • Link of a Gist with the contents of your pyproject.toml file: pyproject.toml

    Issue

First of all, thank you @sdispater for working on this tool, it's amazing 👍

I found out that Poetry 0.12.10 is unable to correctly resolve the version for green package.
Below is a suspicious snippet from debug output of poetry install:

      1: fact: issue-795 is 0.1.0
      1: derived: issue-795
      1: fact: issue-795 depends on green (*)
      1: selecting issue-795 (0.1.0)
      1: derived: green (*)
-->   0: Duplicate dependencies for colorama
-->   0: Different requirements found for colorama (*) and colorama (>=0.2.5).

Could you take a look?

Most helpful comment

Any updates on this?

All 7 comments

I can confirm that Poetry 1.0.0a2 is also affected.

Any updates on this?

This may be an issue with the green package, because it lists colorama under install_requires in the setup command and colorama>=0.2.5 under extras_require. Is poetry capable of differentiating between these two?

I removed colorama from Green's extras_require and released Green 2.14.1. Everything seems to work now. Thanks for identifying the issue, @GjjvdBurg!

That's great, thanks for the quick fix!

On Fri, 22 Mar 2019 02:03 Nathan Stocks, notifications@github.com wrote:

I removed colorama from green's extras_require and release Green 2.14.1.
Everything seems to work now. Thanks for identifying the issue, @GjjvdBurg
https://github.com/GjjvdBurg!


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sdispater/poetry/issues/795#issuecomment-475467992,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADImqDKLkVSLlibpss8xjxBTcwrP1G0Pks5vZDnogaJpZM4Z9W18
.

@CleanCut Thank you for fixing this!

No problem 👍

Was this page helpful?
0 / 5 - 0 ratings