File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,6 @@ def _path(url, local_path):
190
190
# 4. Start PyPI solves in parallel after each conda environment is created
191
191
# 5. Download PyPI packages sequentially
192
192
# 6. Create and cache PyPI environments in parallel
193
-
194
193
with ThreadPoolExecutor () as executor :
195
194
# Start all conda solves in parallel
196
195
conda_futures = [
@@ -213,14 +212,14 @@ def _path(url, local_path):
213
212
214
213
# Queue PyPI solve to start after conda create
215
214
if result [0 ] in pypi_envs :
215
+ # solve pypi envs uniquely
216
+ pypi_env = pypi_envs .pop (result [0 ])
216
217
217
218
def pypi_solve (env ):
218
219
create_future .result () # Wait for conda create
219
220
return solve (* env , "pypi" )
220
221
221
- pypi_futures .append (
222
- executor .submit (pypi_solve , pypi_envs [result [0 ]])
223
- )
222
+ pypi_futures .append (executor .submit (pypi_solve , pypi_env ))
224
223
225
224
# Process PyPI results sequentially for downloads
226
225
for solve_future in pypi_futures :
You can’t perform that action at this time.
0 commit comments