After using dependency-overrides, updating locking will appear every time pixi shell is used
Checks
-
[x] I have checked that this issue has not already been reported.
-
[x] I have confirmed this bug exists on the latest version of pixi, using
pixi --version.
Reproducible example
[workspace]
authors = [""]
channels = ["conda-forge"]
name = "3dgs"
platforms = ["linux-64"]
version = "0.1.0"
[pypi-options]
index-url = "https://mirrors.aliyun.com/pypi/simple"
extra-index-urls = ["https://mirrors.aliyun.com/pypi/simple", "https://pypi.tuna.tsinghua.edu.cn/simple", "https://pypi.mirrors.ustc.edu.cn/simple"]
index-strategy = "unsafe-best-match"
dependency-overrides = {pyyaml = ">=5.4.1"}
[dependencies]
python = "3.9.*"
[pypi-dependencies]
scipy = ">=1.13.1, <2"
ffmpeg = ">=1.4, <2"
opencv-python = ">=4.11.0.86, <5"
ipykernel = ">=6.29.5, <7"
json-tricks = ">=3.17.3, <4"
ad-cloud-sdk = { version = ">=0.1.4.85, <0.2", extras = ["adrn"] }
werkzeug = "==2.0.3"
open3d = ">=0.16.0, <0.17"
[system-requirements]
libc = { family = "glibc", version = "2.31" }
pixi version = 5.0.2
Issue description
Because ad-cloud-sdk package which include numpy confilct with open3d numpy version, so i use dependency-overrides setting, then i can use this python environment, but I found that whenever I use pixi shell, updating locking is triggered.
Expected behavior
https://github.com/user-attachments/assets/0ba61780-cfa2-486a-8eab-48920e696e2a
Does anyone has solution? @lucascolley
I think we don't record them in the lock file! I will look into it
I can reproduce this issue, and this will block vscode debug since it will solve env each time. I'll have a look this weekend if it hasn't been fixed then.
Edit: The vscode debug issue is independent from this issue.
I'm not sure where to look into, @nichmor can you point a string for me?