-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pixi 0.8 doesn't work with editable installations #507
Labels
🐞 bug
Something isn't working
Comments
Hofer-Julian
changed the title
Pixi 0.8 doesn't work with editable
Pixi 0.8 doesn't work with editable installations
Nov 28, 2023
Thanks for the example and letting us know, we're on it! |
We think the issue is that we "uninstall" every package that our lock file doesn't specify as needed. This might be an easy fix. @baszalmstra is on it! |
Merged
ruben-arts
added a commit
that referenced
this issue
Nov 28, 2023
Fix #507 Pixi simply removed all redundant python packages. Only packages without an INSTALLER where left alone. I changed this behavior to only remove python packages installed by pixi itself. Co-authored-by: Ruben Arts <[email protected]>
Wow, that was fast. Thanks for taking care of this @baszalmstra! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
When using pixi, I typically add an editable installation of my current Python package.
This looks something like this:
Starting from pixi 0.8, running
pixi run install
and thenpixi run import
gives this:You can find the complete example here: https://github.com/Hofer-Julian/pixi-0.8
According to our CI, it should happen on Windows, macOS and Linux.
Issue description
While pixi didn't support installation via pip, it was possible to install packages with pixi tasks.
Editable installations are broken since 0.8.
It seems like "normal", non-editable installations still work as expected.
Expected behavior
Ideally editable install would be directly supported by pixi. Alternatively, it would be great if one can at least install packages via pixi tasks.
The text was updated successfully, but these errors were encountered: