Skip to content
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

Conditional dependencies results in exceeeding maximum recursion depth (for manimlib with pycairo) #1885

Closed
3 tasks done
JulianStier opened this issue Jan 14, 2020 · 3 comments
Labels
area/solver Related to the dependency resolver kind/bug Something isn't working as expected
Milestone

Comments

@JulianStier
Copy link

JulianStier commented Jan 14, 2020

Issue

Trying to install manimlib:
poetry add manimlib

Error:

[RecursionError]
maximum recursion depth exceeded while calling a Python object

Executed with -vv:

0: Duplicate dependencies for pycairo
0: Different requirements found for pycairo (1.17.1) and pycairo (>=1.18.0).

A look into https://github.com/3b1b/manim/blob/master/requirements.txt:

pycairo==1.17.1; sys_platform == 'linux'
pycairo>=1.18.1; sys_platform == 'win32'

Apparently poetry does not recognize conditionally defined requirements based on "sys_platform".

@JulianStier JulianStier added the kind/bug Something isn't working as expected label Jan 14, 2020
@finswimmer finswimmer added the area/solver Related to the dependency resolver label Jan 15, 2020
@lvkswrks
Copy link

Probably related / same as #992

@abn
Copy link
Member

abn commented Aug 9, 2020

Fixed in 1.1.0b2. Requires regeneration of lock file. Note that new lock file is not compatible with older versions of poetry.

@abn abn closed this as completed Aug 9, 2020
@abn abn added this to the 1.1 milestone Aug 9, 2020
Copy link

github-actions bot commented Mar 3, 2024

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/solver Related to the dependency resolver kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

4 participants