-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Handle duplicated package metadata when using importlib.metadata #342
Conversation
Make it a draft for now so that I can write a test or two and see if I can refactor the code at all 👍👍 |
One other thing I should mention, I think users who have an older pip installed on their system may get the duplicate metadata warning message as when they install $ pipdeptree
Warning!!! Duplicate package metadata found:
"/usr/local/lib/python3.8/site-packages"
pip 23.0.1 (using 24.0, "/home/vscode/.local/lib/python3.8/site-packages")
------------------------------------------------------------------------
covdefaults==2.3.0
└── coverage [required: >=6.0.2, installed: 7.4.4]
diff_cover==8.0.3
├── chardet [required: >=3.0.0, installed: 5.2.0]
├── Jinja2 [required: >=2.7.1, installed: 3.1.3]
. . . Should we accept this, or should we handle this special case in some way? Edit: Now that I think about it, this will only happen if they are using a version of pip<23.1.2 (where |
Gonna merge this and cut a 2.17.0 release! |
Thanks re-running the workflow (not sure why coverage for |
Fixes #341.
Using an environment similar to the one shown in the issue: