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 when processing file with a large number of enums #119

Closed
ErnestoLoma opened this issue Aug 17, 2023 · 1 comment
Closed

Comments

@ErnestoLoma
Copy link

I'm getting the following error:
RecursionError: maximum recursion depth exceeded while calling a Python object
When running bump-pydantic on a file containing a very large number of enum.
Attached is a sample file that causes the problem. If you uncomment the last line the error will occur.
I'm using bump-pydantic 0.6.1 with python 3.9.12
enums.py.zip

@Kludex
Copy link
Member

Kludex commented Sep 18, 2023

Please report it to LibCST.

There's nothing we can do on bump-pydantic about it.

@Kludex Kludex closed this as completed Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants