-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 still occurs #3749
Comments
In a language like Python, it might sometimes be acceptable to assume, that recursion will only reach a certain depth. In that case one needs to take care:
("The Little Schemer" by Daniel P. Friedman and Matthias Felleisen) The error looks like either recursion has been used in a place, in which Python, is not capable of doing it, or a case of not getting closer to finishing the computation. In cases where the recursion depth could theoretically get anywhere near the allowed limit, one should probably externalize the stack. |
Whoever bumps into this. This one is caused by #536 Do not install poetry via |
@tastyminerals I am unable to reproduce this using the following. podman run --rm -i --entrypoint bash python:3.8 <<EOF
set -xe
python -m pip install -q poetry
install -d foobar
pushd foobar
cat > pyproject.toml <<TOML
[tool.poetry]
name = "test"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
[tool.poetry.dependencies]
python = "^3.8"
fuzzywuzzy = "^0.17.0"
python-Levenshtein = "^0.12.0"
requests = "^2.22.0"
pandas = "^1"
[tool.poetry.dev-dependencies]
pytest = "^5.0"
pytest-datadir = "^1.3.1"
pytest-cov = "^2.5.0"
pytest-html = "^1.19.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
TOML
poetry install
EOF Closing this issue as it would seem this was an issue with the environment rather than a poetry bug. |
This happens to me with 1.0.10 (I know, team constraint), trying |
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. |
I have a poetry project on Linux machine which builds without issues. Today I have cloned this project to Mac machine, removed
poetry.lock
and gotRuntimeError maximum recursion depth exceeded
.Here is the
-vvv
error log.The text was updated successfully, but these errors were encountered: