FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix expectation on unique packages to include normalization. by jaraco · Pull Request #381 · python/importlib_metadata · GitHub

Fix expectation on unique packages to include normalization. - #381

Merged
jaraco merged 3 commits into
mainfrom
bugfix/entry-points-unique-normalized
May 21, 2022
Merged

Fix expectation on unique packages to include normalization.#381
jaraco merged 3 commits into
mainfrom
bugfix/entry-points-unique-normalized

Conversation

jaraco commented May 21, 2022

Copy link
Copy Markdown
Member

No description provided.

jaraco commented May 21, 2022

Copy link
Copy Markdown
Member Author

I would like to actually test the behavior of unique(distributions()), but that function is currently local to the entry_points function. I've wanted to expose that function, so I might do that now.

benoit-pierre and others added 2 commits May 21, 2022 11:38
- apply PEP 503 normalization to the extracted names
  (e.g.: `zope..inter_face-4.2.dist-info` must yield
   the name `zope_inter_face`)

`entry_points(…)` can yield the entry-points
of a shadowed distribution. For example: with a version of `mypkg`
in the system' site-packages directory when working from another
development checkout of the same package (with a `mypkg.egg-info`
directory mishandled by the first bug).
jaraco merged commit 2ee86fc into main May 21, 2022
jaraco deleted the bugfix/entry-points-unique-normalized branch May 21, 2022 15:42
jaraco added a commit that referenced this pull request Nov 5, 2022
…ized

Fix expectation on unique packages to include normalization.
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL