Open brettc opened 1 month ago
Since we leave all of this up to uv
is that a bug on their side @tdejager ?
When trying the reproducer I think this is actually a bug on our side, because we do most of the validation logic if the correct package is installed ourself. It seems that for some reason it's not hitting validation check where it should.
Something we need to look into.
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
Set up a new python project
Create the following file at
src/pixi_bug/hello.py
Test that it works (you should see "Hello" printed).
Now try to install this as a script. Add this section to the
pyproject.toml
Try to re-install the project and run your new script:
Nope, you get :
hello: command not found
However, it works if you blow everything away and install:
Conclusion: pixi install does not detect changes to [project.scripts] section.
Issue description
As per title.
Expected behavior
Changes to project.scripts should trigger a new install?