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 --locked -v
INFO pixi_core::lock_file::outdated: the dependencies of environment 'default' for platform linux-64 are out of date because 'torch-spline-conv' requires index https://pypi.org/simple, https://pypi.org/simple but the lock file has https://data.pyg.org/whl/torch-2.8.0+cpu.html
Error: × lock file not up-to-date with the workspacepixi.toml/pyproject.toml file that reproduces my issue:
[workspace]
channels = ["conda-forge"]
name = "pypi-indices"
platforms = ["linux-64"]
version = "0.1.0"
[pypi-options]
extra-index-urls = ["https://pypi.org/simple"]
find-links = [{ url = "https://data.pyg.org/whl/torch-2.8.0+cpu.html" }]
[dependencies]
python = "3.10.*"
[pypi-dependencies]
lightning = ">=2.6,<3"
torch = { version = "==2.8.0", index = "https://download.pytorch.org/whl/cpu" }
torch-cluster = "*"
torch-geometric = "*"
torch-scatter = "*"
torch-sparse = "*"
torch-spline-conv = "*"
torchvision = { version = "==0.23.0", index = "https://download.pytorch.org/whl/cpu" }pixi info output:
System
------------
Pixi version: 0.70.0
TLS backend: rustls
Platform: linux-64
Virtual packages: __unix=0=0
: __linux=5.15.0=0
: __glibc=2.35=0
: __archspec=1=cascadelake
Cache dir: $PIXI_HOME/.cache/rattler/cache
Auth storage: $HOME/.rattler/credentials.json
Config locations: $PIXI_HOME/.pixi/config.toml
Global
------------
Bin dir: $PIXI_HOME/.pixi/bin
Environment dir: $PIXI_HOME/.pixi/envs
Manifest dir: $PIXI_HOME/.pixi/manifests/pixi-global.toml
Workspace
------------
Name: pypi-indices
Version: 0.1.0
Manifest file: $HOME/work/pixi_games/pypi-indices/pixi.toml
Last updated: 03-06-2026 12:33:44
Environments
------------
Environment: default
Features: default
Channels: conda-forge
Dependency count: 1
Dependencies: python
PyPI Dependencies: lightning, torch, torch-cluster, torch-geometric, torch-scatter, torch-sparse, torch-spline-conv, torchvision
Target platforms: linux-64
Prefix location: $PIXI_HOME/.cache/rattler/cache/envs/pypi-indices-8025988392485597504/envs/default
Other files (e.g. script files, source files, etc.):
Issue description
I have pixi 0.67.2 binary named pixi0672; with this binary I can lock and install with --locked:
pixi0672 lock && pixi0672 install --locked
# ...
✔ The default environment has been installed in '...'.
however, on the latest pixi (0.70.0), I can't:
pixi lock && pixi install --locked
# ...
Error: × lock file not up-to-date with the workspace
Running with -v I see this log:
❯ pixi install --locked -v
INFO pixi_core::lock_file::outdated: the dependencies of environment 'default' for platform linux-64 are out of date because 'torch-spline-conv' requires index https://pypi.org/simple, https://pypi.org/simple but the lock file has https://data.pyg.org/whl/torch-2.8.0+cpu.html
Error: × lock file not up-to-date with the workspace
I suspect that it has something to do with the usage of find-links (not 100% sure though)
Expected behavior
pixi install --locked should work (after locking)
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
noamgot commentedon Jun 3, 2026
adding explicit indices seems to solve this:
however, I prefer to preserve the previous behavior
test: add find-links satisfiability fixture; avoid index clones
noamgot commentedon Jun 7, 2026
@baszalmstra thanks for this fix!
Are you going to publish a patch version with this fix anytime soon...?