You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
× Unsupported pep508 requirement: 'my-package@file://./path/to/my-package-0.0.1-py3-none-any.whl'
╰─▶ could not convert './path/to/my-package-0.0.1-py3-none-any.whl' to a file path
If I convert this to an absolute, rather than relative path installation succeeds.
Pixi's method for converting pep508 file paths to requirements does not support relative paths.
Expected behavior
Pixi should be able to install packages via relative paths. This is currently an issue with pip but other tools have workarounds for the limitations in the pep508 spec. For example, Hatch has contextual formatting.
The text was updated successfully, but these errors were encountered:
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
Create a Python project with a dependency like
Running
pixi i
yieldsIf I convert this to an absolute, rather than relative path installation succeeds.
This likely is resulting from an error in
url.to_file_path
.Issue description
Pixi's method for converting pep508 file paths to requirements does not support relative paths.
Expected behavior
Pixi should be able to install packages via relative paths. This is currently an issue with
pip
but other tools have workarounds for the limitations in the pep508 spec. For example, Hatch has contextual formatting.The text was updated successfully, but these errors were encountered: