-
Notifications
You must be signed in to change notification settings - Fork 460
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of pixi, using
pixi --version.
Reproducible example
Check out this repository: https://github.com/baszalmstra/pixi-build-backend-config-invalidation-bug
The package contains a noarch python project.
- Clone https://github.com/baszalmstra/pixi-build-backend-config-invalidation-bug
- Run
pixi lockonce in the clone to populate caches. Lockfile should be up-to-date. - Comment in the following in the
pixi.tomlto make to package platform specific[package.build.config] noarch = false
- Run
pixi lockagain. Note that the lock-file is still up-to-date, which is wrong. - Delete the cache folder.
rm -rf .pixi/build - Rerun
pixi lock. Note that the lock-file is updated.
Issue description
I think the package.build.config section does not invalidate the backend cache.
Expected behavior
The cache should be updated and the lock-file should have changed as soon as the package is made noarch: false.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working