Skip to content

Conversation

@jaraco
Copy link
Member

@jaraco jaraco commented May 21, 2022

No description provided.

@jaraco
Copy link
Member Author

jaraco commented May 21, 2022

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 jaraco merged commit 2ee86fc into main May 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 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.

3 participants