Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Sort exported conda explicit spec topologically #2101

Merged

Conversation

synapticarbors
Copy link
Contributor

This PR changes pixi project export conda-explicit-spec to sort the urls in the .txt file topologically. This addresses the error raised by @matthewfeickert in #1873 (comment). I've tested the exported file using the minimal example provided, and can reproduce the error using 0.30.0 and checked that the docker image builds correctly with the changes in this PR.

Strangely, I didn't get any errors when I ran the export using 0.30.0 on osx-64 and then created an env using mamba locally. I'm not sure what the difference is between micromamba in the linux docker image and mamba locally on macos, but the latter created the env from the spec without errors. Again, my apologies for overlooking the sorting issue in the specification of the .txt file.

@ruben-arts
Copy link
Contributor

Thanks for taking the ownership of the feature!

@ruben-arts ruben-arts enabled auto-merge (squash) September 20, 2024 14:28
@ruben-arts ruben-arts merged commit f9f9710 into prefix-dev:main Sep 20, 2024
16 checks passed
@ruben-arts ruben-arts mentioned this pull request Sep 23, 2024
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