Maximum recursion depth exceeded
See original GitHub issue- 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: OS X 10.14.5
- Poetry version: 0.12.17
[tool.black]
skip-string-normalization = true
[tool.poetry]
name = "kompost"
version = "0.1.0"
description = ""
authors = ["Software Team <software@software.com>"]
[tool.poetry.dependencies]
celery = "*"
flask-celeryext = "*"
[build-system]
requires = ["poetry"]
build-backend = "poetry.masonry.api"
Issue
poetry install --dry-run 5.7s Fri 19 Jul 14:57:40 2019
Updating dependencies
Resolving dependencies... (24.2s)
[RecursionError]
maximum recursion depth exceeded
install [--no-dev] [--dry-run] [-E|--extras EXTRAS] [--develop DEVELOP]
poetry debug:resolve -vvv
Resolving dependencies...
1: fact: kompost is 0.1.0
1: derived: kompost
1: fact: kompost depends on celery (*)
1: fact: kompost depends on flask-celeryext (*)
1: selecting kompost (0.1.0)
1: derived: flask-celeryext (*)
1: derived: celery (*)
PyPI: 7 packages found for flask-celeryext *
PyPI: 132 packages found for celery *
0: Duplicate dependencies for celery
0: Different requirements found for celery (>=3.1) and celery (>=4.3).
1: Version solving took 0.096 seconds.
1: Tried 1 solutions.
0: Retrying dependency resolution for Python (>=3.7,<3.8).
1: fact: kompost is 0.1.0
1: derived: kompost
1: fact: kompost depends on celery (*)
1: fact: kompost depends on flask-celeryext (*)
1: selecting kompost (0.1.0)
1: derived: flask-celeryext (*)
1: derived: celery (*)
0: Duplicate dependencies for celery
0: Different requirements found for celery (>=3.1) and celery (>=4.3).
Issue Analytics
- State:
- Created 4 years ago
- Reactions:16
- Comments:35 (7 by maintainers)
Top Results From Across the Web
What is the maximum recursion depth in Python, and how to ...
The recursion limit is usually 1000. – Boris Verkhovskiy. Apr 24, 2019 at 7:29. 4.
Read more >Python maximum recursion depth exceeded in comparison
The “maximum recursion depth exceeded in comparison” error is raised when you try to execute a function that exceeds Python's built in recursion...
Read more >Python: Maximum Recursion Depth Exceeded [How to Fix It]
The maximum recursion depth in Python is 1000. To check it, call sys.getrecursionlimit() function. To change it, call sys.setrecursionlimit().
Read more >Python | Handling recursion limit - GeeksforGeeks
When you execute a recursive function in Python on a large input ( > 10^4), you might encounter a “maximum recursion depth exceeded...
Read more >Python RecursionError: Maximum Recursion Depth Exceeded ...
A Python RecursionError exception is raised when the execution of your program exceeds the recursion limit of the Python interpreter. Two ways ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think this problem is too impactful to be quiet for so long(while work arounds might be useful, they don’t solve the issue) The reason why I tried poetry was because of its dependency resolution(in particular it’s support for multiple OS’es resolution). I know this is open source and don’t take this as a demand for a quick fix or anything like that, but could we have some kind of update on the issue? Is this something that someone with minimal knowledge of the dependency resolution algorithm could help out?
I second this issue. It makes it impassible to select different versions depending on operating system. This is critical for packages where specially compiled versions are needed on windows… because of windows.