Skip to content

fix: pixi lock backend override#5179

Merged
ruben-arts merged 7 commits intoprefix-dev:mainfrom
nichmor:fix/run-exports-in-mock-packages
Dec 22, 2025
Merged

fix: pixi lock backend override#5179
ruben-arts merged 7 commits intoprefix-dev:mainfrom
nichmor:fix/run-exports-in-mock-packages

Conversation

@nichmor
Copy link
Contributor

@nichmor nichmor commented Dec 19, 2025

Summary

  • Add with_run_exports() method to PackageBuilder for setting run exports on mock packages
  • Include info/run_exports.json in materialized mock packages
  • Add variant_configuration to SourceMetadataCacheShard to ensure different variants get separate cache entries
  • Update test to use run_exports on sdl2 packages for proper variant distinction

This allows the solver to distinguish between source package variants by propagating host dependencies (like sdl2 version) to run dependencies through the run_exports mechanism.

Test plan

  • test_different_variants_have_different_caches passes with logging enabled (confirms fix works)
  • Review that other build tests still pass

🤖 Generated with Claude Code

@ruben-arts ruben-arts changed the title fix: add run_exports support to mock packages and include variant in source metadata cache fix: pixi lock backend override Dec 22, 2025
Copy link
Contributor

@ruben-arts ruben-arts left a comment

Choose a reason for hiding this comment

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

Thanks

@ruben-arts ruben-arts enabled auto-merge (squash) December 22, 2025 13:12
@ruben-arts ruben-arts disabled auto-merge December 22, 2025 14:56
@ruben-arts ruben-arts merged commit 20ccb7a into prefix-dev:main Dec 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.

3 participants