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 #2900

Closed
1 task done
Kolajik opened this issue May 24, 2024 · 0 comments · Fixed by #2905
Closed
1 task done

Maximum recursion depth exceeded #2900

Kolajik opened this issue May 24, 2024 · 0 comments · Fixed by #2905
Assignees
Labels
🐛 bug Something isn't working

Comments

@Kolajik
Copy link

Kolajik commented May 24, 2024

  • I have searched the issue tracker and believe that this is not a duplicate.

Make sure you run commands with -v flag before pasting the output.

Steps to reproduce

  1. Initialize a PDM project with pdm init -n
  2. Run pdm add -v "mlserver @ git+https://github.com/SeldonIO/MLServer.git@1.4.0"

Actual behavior

An error is being repeated endlessly for maximum recursion depth excession:

pdm.termui: Error parsing pyproject.toml, metadata may be incomplete.
group_dependencies: maximum recursion depth exceeded in comparison at line 111 col 0
pdm.termui: Error parsing pyproject.toml, metadata may be incomplete.
group_dependencies: maximum recursion depth exceeded while calling a Python object at line 107 col 0

Is this because MLServer is a poetry project?

Expected behavior

A dependency is added into pyproject.toml for the SeldonIO/MLServer git repository with specific git tag revision.

Environment Information

# Paste the output of `pdm info && pdm info --env` below:
pdm info --env
{
  "implementation_name": "cpython",
  "implementation_version": "3.11.9",
  "os_name": "posix",
  "platform_machine": "arm64",
  "platform_release": "23.5.0",
  "platform_system": "Darwin",
  "platform_version": "Darwin Kernel Version 23.5.0: Wed May  1 20:12:58 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000",
  "python_full_version": "3.11.9",
  "platform_python_implementation": "CPython",
  "python_version": "3.11",
  "sys_platform": "darwin"
}
@Kolajik Kolajik added the 🐛 bug Something isn't working label May 24, 2024
@frostming frostming self-assigned this May 25, 2024
frostming added a commit that referenced this issue May 25, 2024
Fixes #2900

Signed-off-by: Frost Ming <me@frostming.com>
frostming added a commit that referenced this issue May 25, 2024
* fix: Maximum recursion depth exceeded
Fixes #2900

Signed-off-by: Frost Ming <me@frostming.com>

* fix: compatible with python 3.9-

Signed-off-by: Frost Ming <me@frostming.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants