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
I'm observing the lockfile never being up to date. I'm only seeing this in one repo with lots of dependencies, but am not seeing it in another with simpler dependencies:
❯ pixi install
WARN These conda-packages will be overridden by pypi:
requests
✔ The default environment has been installed.
❯ pixi install
✔ The default environment has been installed.
❯ pixi install --locked
Error: × lock-file not up-to-date with the workspace
❯ pixi lock
✔ Updated lock-file
❯ pixi lock
✔ Updated lock-file
❯ pixi install --locked -v
INFO pixi_core::lock_file::outdated: the pypi dependencies of environment 'default' for platform linux-64 are out of date because metadata for local package 'synth' has changed: dependencies changed - added: [qdev-utils], removed: [qdev-utils]
INFO pixi_core::lock_file::outdated: the pypi dependencies of environment 'default' for platform win-64 are out of date because metadata for local package 'synth' has changed: dependencies changed - added: [qdev-utils], removed: [qdev-utils]
<snip>
...same for all envs...
<snip>
Error: × lock-file not up-to-date with the workspaceThis error seems to be to do with the qdev-utils dependency. If I remove that dependency, the error goes away.
Separately if I add the qdev-quant package as a dependency of my synth project I again observe the lock file being out of date, but with a different error
❯ pixi install
✔ The default environment has been installed.
❯ pixi install --locked -v
INFO pixi_core::lock_file::outdated: the dependencies of environment 'default' for platform win-64 are out of date because 'synth' with specifiers '>=1.6.0' does not match the locked version '0a0.dev0'
INFO pixi_core::lock_file::outdated: the dependencies of environment 'default' for platform linux-64 are out of date because 'synth' with specifiers '>=1.6.0' does not match the locked version '0a0.dev0'
Error: × lock-file not up-to-date with the workspace
❯ cat pixi.lock | rg synth
name: synth
- synth>=1.6.0
❯ cat pixi.lock | rg 0a0.dev0
❯ pixi tree -i synth
synth <unknown>
└── qdev_quant 0.6.4
The qdev-quant package does depend on synth and pin it to >=1.6.0. I have no idea where '0a0.dev0 comes from - as can be seen it's not in the lock file.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
dhirschfeld commentedon May 19, 2026
Sorry there's nothing actionable there - I just wanted to flag this before bed, in case anyone else is seeing similar.
I'll try and track it down further
tomorrowtoday 😬dhirschfeld commentedon May 19, 2026
It's odd that I'm only seeing this in one repo. It does seem related to complex dependencies though.
benmoss commentedon May 19, 2026
Do you think this could be the same as #6136 ?
dhirschfeld commentedon May 19, 2026
Sounds the same. I'll build the latest
maintoday and test...dhirschfeld commentedon May 20, 2026
Unfortunately, after building from a8f4c72 I'm still seeing the lock file as out of date.
dhirschfeld commentedon May 20, 2026
So, I think I've tracked down one of the errors. The error:
where specifying
qdev-utilsresults it it appearing to be added and removed coms from optional dependencies.The actual dependency is:
If I don't include optional dependencies, or even if I specify them separately like:
...then the error doesn't occur.
benmoss commentedon May 20, 2026
I'm not sure if we solved the
qdev-quantissue you were describing here, feel free to reopen or start another issue if that ends up being a distinct bugdhirschfeld commentedon May 21, 2026
Thanks @benmoss - that's fixed the unordered optional dependencies problem!
dhirschfeld commentedon May 21, 2026
I'm still seeing the
does not match the locked version '0a0.dev0'error, but I'll open a new issue just for that to keep the conversation focused/clean.dhirschfeld commentedon May 21, 2026
0.68.1] Lockfile out of date with circular dependencies #6167