Skip to content

Commit 0127c7f

Browse files
authored
fix: networkx NodeView and random.shuffle incompatible (#1035)
This should resolve bioconda/bioconda-recipes#52577 and bioconda/bioconda-recipes#961
1 parent 1807a97 commit 0127c7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bioconda_utils/autobump.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ async def queue_items(self, send_q, return_q):
142142
# Keep set of recipes "in flight"
143143
sent: Set[Recipe] = set()
144144
while dag:
145-
remaining_recipes = dag.nodes()
145+
remaining_recipes = list(dag.nodes())
146146
if self.shuffle:
147147
random.shuffle(remaining_recipes)
148148
for recipe in remaining_recipes:

0 commit comments

Comments
 (0)