-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
importlib_metadata.PackageNotFoundError: jeepney #177
Comments
I actually did consider catching that separately, but skipped it because But looks like it wasn't a subclass of So maybe the fix should be to You can also fix this on your end by using a newer version of |
Actually I was wrong about the 3 years ago thing, the So not sure why you get the error, and probably updating |
I see your point and it is backed up by https://docs.python.org/3.7/library/exceptions.html#ImportError In the meantime, we are pinned to pipenv==2022.9.4 which is using pipdeptree==2.2.1 |
After comparing your stack trace to From looking at its code, the problem appears to be here. The builtin Not sure why the code has been written this way ( Going to close this as I believe this is the problem and on top of this we done away with using |
We run
pipenv update --dev
in our CI pipeline for a while now. After pipenv 2022.9.8 bumped its version of pipdeptree #5343 , we are now getting the following stacktrace which seems related to your recent change.If I were to guess, it looks like you are catching ImportError but not importlib_metadata.PackageNotFoundError.
The text was updated successfully, but these errors were encountered: