Skip to content

fix: ensure we only create pypi prefix once#4416

Merged
tdejager merged 4 commits intoprefix-dev:mainfrom
baszalmstra:feature/pix-1032-panic-ioerrorremoving-clobbered-file
Aug 22, 2025
Merged

fix: ensure we only create pypi prefix once#4416
tdejager merged 4 commits intoprefix-dev:mainfrom
baszalmstra:feature/pix-1032-panic-ioerrorremoving-clobbered-file

Conversation

@baszalmstra
Copy link
Contributor

We found out that when updating pypi records that require a prefix there might be a race condition when solving for multiple platforms in parallel. This PR eliminates that race condition.


// Spawn tasks to update the pypi packages.
let uv_context = once_cell::sync::OnceCell::new();
let mut pypi_conda_prefix_updaters = HashMap::<EnvironmentName, CondaPrefixUpdater>::new();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove the type hits here?

@tdejager tdejager merged commit a79cdce into prefix-dev:main Aug 22, 2025
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants