Skip to content

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

@JulianStier

Description

@JulianStier

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/solverRelated to the dependency resolverkind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions