Skip to content

Commit 823778d

Browse files
committed
WIP: remove stale code, add whats-new.rst entry
1 parent ee89d92 commit 823778d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

doc/whats-new.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ Bug fixes
3636
~~~~~~~~~
3737
- Fix plot.line crash for data of shape ``(1, N)`` in _title_for_slice on format_item (:pull:`5948`).
3838
By `Sebastian Weigand <https://github.com/s-weigand>`_.
39+
- Fix a regression in the removal of duplicate backend entrypoints (:issue:`5944`, :pull:`5959`)
40+
By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_.
3941

4042
Documentation
4143
~~~~~~~~~~~~~
@@ -49,6 +51,10 @@ Documentation
4951
Internal Changes
5052
~~~~~~~~~~~~~~~~
5153

54+
- Use ``importlib`` to replace functionality of ``pkg_resources`` in
55+
backend plugins tests. (:pull:`5959`).
56+
By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_.
57+
5258

5359
.. _whats-new.0.20.1:
5460

xarray/tests/test_plugins.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def dummy_duplicated_entrypoints():
4949

5050
@pytest.mark.filterwarnings("ignore:Found")
5151
def test_remove_duplicates(dummy_duplicated_entrypoints) -> None:
52-
entrypoints = plugins.remove_duplicates(dummy_duplicated_entrypoints)
5352
with pytest.warns(RuntimeWarning):
5453
entrypoints = plugins.remove_duplicates(dummy_duplicated_entrypoints)
5554
assert len(entrypoints) == 2

0 commit comments

Comments
 (0)