Checks
Reproducible example
The issue can be reproduced with the following project: rerun.tar.gz
Uncompress in /tmp, clear the lock file, and pixi install:
❯ pixi install
⠙ updating pypi packages in 'default'
thread 'main' panicked at src/install_pypi.rs:199:14:
could not convert path into uv dist: NotFound(Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/private/tmp/rerun/file:/private/tmp/rerun/clock", query: None, fragment: None })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Issue description
Discussed in the following discord thread: https://discord.com/channels/1082332781146800168/1228365148243366010
The relevant pyproject is:
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "redirect"
version = "0.1.0"
requires-python = ">=3.8"
dependencies = [
"clock @ file:///Users/hhip/src/rerun/examples/python/clock"
]
[tool.hatch.metadata]
# needed for hatch to be happy with file:// deps
allow-direct-references = true
Specifically, pixi seems to have an issue with @ file:///... dependency descriptor.
Expected behavior
The repro is a valid project and should work. In particular, uv is happy with it.
/tmp/rerun
❯ touch clock/clock.py # missing from the repro archive
/tmp/rerun
❯ uv pip install redirect/.
Resolved 8 packages in 9ms
Built clock @ file:///private/tmp/rerun/clock Downloaded 2 packages in 415ms
Installed 8 packages in 46ms
+ attrs==23.2.0
+ clock==0.1.0 (from file:///private/tmp/rerun/clock)
+ numpy==1.26.4
+ pillow==10.3.0
+ pyarrow==15.0.2
+ redirect==0.1.0 (from file:///private/tmp/rerun/redirect)
+ rerun-sdk==0.15.1
+ typing-extensions==4.11.0
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
The issue can be reproduced with the following project: rerun.tar.gz
Uncompress in
/tmp, clear the lock file, andpixi install:Issue description
Discussed in the following discord thread: https://discord.com/channels/1082332781146800168/1228365148243366010
The relevant pyproject is:
Specifically, pixi seems to have an issue with
@ file:///...dependency descriptor.Expected behavior
The repro is a valid project and should work. In particular, uv is happy with it.