Skip to content

Commit 703a29b

Browse files
committed
Merge tag 'v3.8.1'
2 parents 236cea8 + d91dd25 commit 703a29b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGES.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ v3.9.0
1919
config, resulting in a ~20% performance improvement when
2020
loading entry points.
2121

22+
v3.8.1
23+
======
24+
25+
* #293: Workaround for error in distribution search.
26+
2227
v3.8.0
2328
======
2429

importlib_metadata/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ def search(self, prepared):
736736
if prepared
737737
else itertools.chain.from_iterable(self.eggs.values())
738738
)
739-
return itertools.chain(infos, eggs)
739+
return list(itertools.chain(infos, eggs))
740740

741741

742742
class Prepared:

0 commit comments

Comments
 (0)