Repository navigation
Closed
Labels
bugSomething 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
Commands I ran and their output:
pixi install
# with pixi == 0.70.0
✔ The default environment has been installed.
# with pixi == 0.70.1
Error: × Failed to update PyPI packages for environment 'default'
├─▶ Failed to prepare distributions
├─▶ Failed to build `numcodecs @ git+https://github.com/zarr-developers/numcodecs.git#fa92ee7ec031479e48098f57604fed313cc72986`
├─▶ The build backend returned an error
╰─▶ Call to `mesonpy.build_wheel` failed (exit status: 1)
[stdout]
meson-python: error: Unknown option "pixi-conda-environment"
hint: This usually indicates a problem with the package or the build environment.pixi.toml/pyproject.toml file that reproduces my issue:
[workspace]
channels = ["conda-forge"]
name = "repro"
platforms = ["linux-64"]
[tasks]
[dependencies]
python = "3.13.*"
[pypi-dependencies]
numcodecs = { git = "https://github.com/zarr-developers/numcodecs.git" }pixi info output:
System
------------
Pixi version: 0.70.1
TLS backend: rustls
Platform: linux-64
Virtual packages: __unix=0=0
: __linux=7.0.0=0
: __glibc=2.43=0
: __cuda=13.2=0
: __archspec=1=icelake
Cache dir: ~/.cache/rattler/cache
Auth storage: ~/.rattler/credentials.json
Config locations: ~/.config/pixi/config.toml
Global
------------
Bin dir: .../pixi/bin
Environment dir: .../pixi/envs
Manifest dir: .../pixi/manifests/pixi-global.toml
Workspace
------------
Name: repro
Manifest file: /tmp/repro/pixi.toml
Last updated: 03-06-2026 17:19:02
Environments
------------
Environment: default
Features: default
Channels: conda-forge
Dependency count: 1
Dependencies: python
PyPI Dependencies: numcodecs
Target platforms: linux-64
Prefix location: /tmp/repro/.pixi/envs/default
Issue description
This was first found in xarray's CI, e.g. https://github.com/pydata/xarray/actions/runs/26888834470/job/79311778723?pr=11279
Expected behavior
The output I get for pixi=0.70.0 (install succeeded)
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
baszalmstra commentedon Jun 3, 2026
Thanks for the reproducer! This was introduced by #6240. We added config settings to bust uvs cache when the conda environment changes. However, apparently meson verifies these settings which then breaks your install. Im looking for another way to achieve the same result without breaking your workflow!
refactor: scope build cache via config_settings, decoupled from the b…
fix: keep conda-env cache discriminator out of PEP 517 config_settings (