-
Notifications
You must be signed in to change notification settings - Fork 79
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
AttributeError: 'PathDistribution' object has no attribute 'name' #441
Comments
It's not present in my 3.9.13 either. Unfortunately the list of available fields doesn't seem to be documented, the Python API docs defer to various metadata docs which don't talk about Python versions. One option for the fix is depending on |
Works for me with 3.9.6. And I am sure But I can reproduce your steps in the REPL, which has me really confused. |
Is it possible that tox installs |
If I try to import
|
I can reproduce the error in a venv calling get_docker_client, though, so tox is definitely doing something different. |
I think this is the way to go. But I am concerned about not having a test for this and accidentally removing it in the future. I wonder if we should have a special test out of tox that runs on CI. |
After #434 the following error appears when doing
shub image deploy
for some Python versions:Apparently the
name
attribute is new in Python 3.10, or maybe in a 3.9 version newer than 3.9.6 since that's the one I tested with:The text was updated successfully, but these errors were encountered: