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] maximum recursion depth exceeded while calling a Python object with Spyder-kernels #2133

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

Comments

@danieltomasz
Copy link

danieltomasz commented Mar 5, 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 (`` option).
  • OS version and name: Mac Catalina darwin
  • Poetry version: 1.0.5
  • Link of a Gist with the contents of your pyproject.toml file:

Issue

poetry add -D spyder-kernels
Using version ^1.8.1 for spyder-kernels

Updating dependencies
Resolving dependencies... (41.1s)

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

I was able to pinpoint problem to this

Duplicate dependencies for ipykernel
   0: Different requirements found for ipykernel (*) and ipykernel (>=5.1.3).
   1: Version solving took 0.029 seconds.
   1: Tried 1 solutions.
   0: Retrying dependency resolution for Python (>=3.8,<4.0).

which was caused by spyder-kernelsrequirements


REQUIREMENTS = [
  ...
    'ipykernel',
    'ipykernel>=5.1.3; python_version>"2"',
  ...
]

after removing first ipykernel I was able to install spyder-kernels from my fork

@danieltomasz danieltomasz added the kind/bug Something isn't working as expected label Mar 5, 2020
@finswimmer finswimmer added the area/solver Related to the dependency resolver label Mar 7, 2020
@abn abn added this to the 1.1 milestone Aug 9, 2020
@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.

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

3 participants