Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
a49252b
Add explicit interfaces for loaded entrypoints, resolvable first by g…
jaraco Jan 23, 2021
6596183
Update tests to use new preferred API.
jaraco Jan 23, 2021
b5081fa
Capture the legacy expectation.
jaraco Jan 23, 2021
99dd224
Deprecate dict construction from EntryPoint items.
jaraco Jan 23, 2021
2eeb629
Suppress warning in test_json_dump.
jaraco Jan 23, 2021
eedd810
Add 'groups' and 'names' to EntryPoints collections.
jaraco Jan 23, 2021
720362f
Update documentation on EntryPoints to reflect the new, preferred acc…
jaraco Jan 23, 2021
28adeb8
Update changelog.
jaraco Jan 23, 2021
342a94b
Add deprecated .get to GroupedEntryPoints and test to capture expecta…
jaraco Jan 23, 2021
9448e13
Make entry point collections (more) immutable.
jaraco Feb 15, 2021
71fd4a7
Hide the deprecation warning from flake8 users
jaraco Feb 16, 2021
8320ade
Instead of presenting separate contexts for EntryPoints, unify into a…
jaraco Feb 17, 2021
f80f79d
Merge branch 'main' into feature/entry-points-by-group-and-name
jaraco Feb 21, 2021
e3d1b93
Update changelog.
jaraco Feb 21, 2021
9d55a33
Separate compatibility shim from canonical EntryPoints container.
jaraco Feb 22, 2021
d6f7c20
Add docstrings to the compatibility shim. Give primacy to group looku…
jaraco Feb 23, 2021
2db4dad
Introduce SelectableGroups, created for the 3.x line to provide forwa…
jaraco Feb 23, 2021
2def046
Address coverage misses, ignored for LegacyGroupedEntryPoints.
jaraco Feb 23, 2021
dd8da47
Leverage EntryPoints interfaces in SelectableGroups
jaraco Feb 23, 2021
bdce7ef
Merge branch 'main' into feature/entry-points-by-group-and-name
jaraco Feb 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update changelog.
  • Loading branch information
jaraco committed Feb 22, 2021
commit e3d1b935b3a2185461aadca34192b93bfdeaa9ca
34 changes: 25 additions & 9 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,34 @@
v3.5.0
v4.0.0
======

* #280: ``entry_points`` now only returns entry points for
unique distributions (by name).
* ``entry_points()`` now returns an ``GroupedEntryPoints``
object, a tuple of all entry points but with a convenience
property ``groups`` and ``__getitem__`` accessor. Further,
accessing a group returns an ``EntryPoints`` object,
another tuple of entry points in the group, accessible by
name. Construction of entry points using
* #284: Introduces new ``EntryPoints`` object, a tuple of
``EntryPoint`` objects but with convenience properties for
selecting and inspecting the results:

- ``.select()`` accepts ``group`` or ``name`` keyword
parameters and returns a new ``EntryPoints`` tuple
with only those that match the selection.
- ``.groups`` property presents all of the group names.
- ``.names`` property presents the names of the entry points.
- Item access (e.g. ``eps[name]``) retrieves a single
entry point by name.

``entry_points()`` now returns an ``EntryPoints``
object, but provides for backward compatibility with
a ``__getitem__`` accessor by group and a ``get()``
method.

Construction of entry points using
``dict([EntryPoint, ...])`` is now deprecated and raises
an appropriate DeprecationWarning and will be removed in
a future version.

v3.5.0
======

* #280: ``entry_points`` now only returns entry points for
unique distributions (by name).

v3.4.0
======

Expand Down