-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
infinite recursion in GriffeLoader.expand_wildcards #57
Labels
Comments
Hi @analog-cbarber, thanks for the report. Do you have a public repo I can use to replicate the issue? |
Sorry, I am afraid this is internal code. I can tell you that this was using a conda environment
|
I see, I'll simply apply the fix you suggest then! Thanks again! |
pawamoy
added a commit
that referenced
this issue
Mar 31, 2022
That should be fixed now. Don't hesitate to open new issues if the exception still gets triggered (I expect it will). |
pawamoy
added
bug
Something isn't working
griffe: wildcard-imports
Related to wildcard imports
labels
Jun 9, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
I was using mkdocstrings 0.18 to build api documentation, and got a recursion error:
Look at the code, it appears that there is a case where
expand_wildcards
calls itself recursively without passingthe seen set:
griffe/src/griffe/loader.py
Line 203 in 9bfdee4
When I add,
seen
to the call, the failure becomes:I instead get this:
I don't know if this second issue is a Griffe error or an error in mkdocstrings for not catching it.
I don't know how to tell Griffe not to bother looking at that package.
The text was updated successfully, but these errors were encountered: