-
Notifications
You must be signed in to change notification settings - Fork 663
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
Error "ModuleNotFoundError: No module named 'typing_extensions'" with ansible-lint-6.17.0 #3515
Comments
To me this looks like a bug to report to rich library itself, which apparently is doing an import from Interestingly it seems to be Textualize/rich#2386 Which version of rich do you have? Try to update rick to latest and try again. We need to identify which version is causing it. You should also install |
The error is seen when installing ansible-lint, I'm probably not the only one to have it ^^ For the moment I downgrade ansible-lint in MegaLinter , but maybe you could downgrade rich version ? :) |
I hit this this morning a few minutes after the release of https://pypi.org/project/rich/13.4.0/. The workaround was to pin `rich<13.4.0' |
@ssbarnea we made the same PR at the same time 🤣 |
Install line in an Dockerfile (installed via pip in a venv), docker base image is python:3.11.3-alpine3.17
Then when calling ansible-lint (every type of call, even --version like in the following example), we have a crash
ModuleNotFoundError: No module named 'typing_extensions'
Error visible here -> https://github.com/oxsecurity/megalinter/actions/runs/5135029416/jobs/9239897146?pr=2708
Is there any workaround ?
Many thanks :)
The text was updated successfully, but these errors were encountered: