Add popular utility package mappings (attrs, python-docx, XlsxWriter) - #545
Open
Johnnnmai wants to merge 1 commit into
Open
Add popular utility package mappings (attrs, python-docx, XlsxWriter)#545Johnnnmai wants to merge 1 commit into
Johnnnmai wants to merge 1 commit into
Conversation
PNHD
suggested changes
Sep 3, 2026
PNHD
left a comment
There was a problem hiding this comment.
Two of these one-to-one mappings are ambiguous and can produce incorrect requirements. attr is itself a distinct PyPI distribution that provides from attr import attr (and explicitly notes that attrs also provides/shadows an attr package), while both whois and python-whois are separate distributions using the whois import name. Hard-mapping attr -> attrs and whois -> python-whois therefore rewrites valid dependencies to different projects. #141 already tracks this one-import-to-multiple-distributions problem. Please remove/split the ambiguous entries unless the resolver can disambiguate them; the unambiguous mappings can be reviewed separately.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds mappings for widely-used utility packages. For example,
import attrrequiresattrson PyPI, andimport docxrequirespython-docx.