From b924c5b0240333b35889fcbb496b0a6647e6232c Mon Sep 17 00:00:00 2001 From: ryanking13 Date: Tue, 19 Sep 2023 21:29:45 +0900 Subject: [PATCH] Fix mistake in initialization --- micropip/transaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micropip/transaction.py b/micropip/transaction.py index a09f7ec..0e03423 100644 --- a/micropip/transaction.py +++ b/micropip/transaction.py @@ -189,7 +189,7 @@ class Transaction: def __post_init__(self): # If index_urls is None, pyodide-lock.json have to be searched first. # TODO: when PyPI starts to support hosting WASM wheels, this might be deleted. - self.search_pyodide_lock_first = self.index_urls is None + self.search_pyodide_lock_first = self.index_urls == package_index.DEFAULT_INDEX_URLS async def gather_requirements( self,