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

Maximum recursion depth exceeded for requests[security] introduced in 1.0.0b4 #1558

Closed
tonysyu opened this issue Nov 8, 2019 · 4 comments · Fixed by #1574
Closed

Maximum recursion depth exceeded for requests[security] introduced in 1.0.0b4 #1558

tonysyu opened this issue Nov 8, 2019 · 4 comments · Fixed by #1574
Labels
kind/bug Something isn't working as expected

Comments

@tonysyu
Copy link

tonysyu commented Nov 8, 2019

  • [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).

Issue

While testing out the extras export fix for #1313, I tried setting up a new project (with the pyproject.toml linked above) and ran into the following issue:

$ poetry --version
Poetry version 1.0.0b4

$ poetry add -v3 requests[security]
The currently activated Python version 2.7.13 is not supported by the project (^3.6).
Trying to find and use a compatible version.
Using python3 (3.6.5)
Using version ^2.22.0 for requests

Updating dependencies
Resolving dependencies... (13.7s)
Resolving dependencies... (13.8s)
[RuntimeError]
maximum recursion depth exceeded while calling a Python object
  • Running the same command on 1.0.0b3 works as expected
  • Running poetry add requests (without the extras) works as expected
@tonysyu tonysyu added the kind/bug Something isn't working as expected label Nov 8, 2019
@sdispater
Copy link
Member

I know where the issue is coming from and it has been introduced in #1555.

I'll try to make a fix as soon as possible.

Sorry for the regression!

@M5oul
Copy link

M5oul commented Nov 9, 2019

I don’t know if this is related, but it is happening on two projects of mine:

poetry update
Updating dependencies
Resolving dependencies... (4.2s)

[TooManyRedirects]
Exceeded 30 redirects.

Ok, fixed cleaning the cache. Sorry for using your ticket for my issue.

@tonysyu
Copy link
Author

tonysyu commented Nov 18, 2019

Updated to 1.0.0b5 and confirmed the fix. Thanks!

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
kind/bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants