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

RecursionError when installing mkdocs-material #2376

Closed
3 tasks done
ndevln opened this issue May 3, 2020 · 5 comments · Fixed by #2787
Closed
3 tasks done

RecursionError when installing mkdocs-material #2376

ndevln opened this issue May 3, 2020 · 5 comments · Fixed by #2787
Labels
area/solver Related to the dependency resolver kind/bug Something isn't working as expected

Comments

@ndevln
Copy link

ndevln commented May 3, 2020

  • I am on the latest Poetry version.

  • I have searched the issues of this repo and believe that this is not a duplicate.

  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

  • OS version and name: Windows 10 Pro 1909 18363.719

  • Poetry version: 1.0.5

  • Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/ndevln/f27b5b64251241d40e1b960ec96b8b68

Issue

Hi,

when running: poetry install -E docs_material I get the following error:

[RecursionError]
maximum recursion depth exceeded

There are quite a few similar issues (like #2329), but it seems that this problem is package specific?!?

Thank you for poetry and your effort :)

@ndevln ndevln added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels May 3, 2020
@ndevln
Copy link
Author

ndevln commented May 4, 2020

Could be fixed by #2342 and #2361. I can test it when these PR are part of the pre-release version.

@ndevln
Copy link
Author

ndevln commented Jul 3, 2020

The problem persists in 1.1.0a2 (and 1.0.9).

Installing dependencies from lock file

  RecursionError

  maximum recursion depth exceeded

  at ~\.poetry\lib\poetry\utils\extras.py:47 in <genexpr>
      43│             if package:
      44│                 yield package.name
      45│                 # Recurse for dependencies
      46│                 for dependency_package_name in _extra_packages(
    → 47│                     dependency.name for dependency in package.requires
      48│                 ):
      49│                     yield dependency_package_name
      50│
      51│     return _extra_packages(extra_package_names)

@sdispater
Copy link
Member

@ndevln When using 1.1.0a2 did you regenerate your lock file?

@ndevln
Copy link
Author

ndevln commented Jul 3, 2020

I did not.

I tried again with 1) regenerating the lock file, 2) deleting the lock file and creating it new. For my last test I used the minimal example from the gist above and created a new virtual environment. But still all 3 tests resulted in the same error. Sry

@finswimmer finswimmer added the area/solver Related to the dependency resolver label Jul 10, 2020
abn added a commit to abn/poetry that referenced this issue Aug 9, 2020
@abn abn removed the status/triage This issue needs to be triaged label Sep 25, 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

Successfully merging a pull request may close this issue.

4 participants