Skip to content

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

Copy link
Copy Markdown
Member

No description provided.

@jaraco

Copy link
Copy Markdown
MemberAuthor

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-pierreand 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
jaraco merged commit 2ee86fc into mainMay 21, 2022
@jaraco
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.
Sign up for freeto 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

@jaraco@benoit-pierre