-
Notifications
You must be signed in to change notification settings - Fork 204
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
Bump uv
version to fix zig-bin installation issues
#1650
Comments
Doing it via a task seems to work fine.
Bummer is I lose out on the advantage of a pixi.lock. So it works as a temporary workaround until this gets resolved. |
Also another thing to note, pixi seems to get in a corrupted state when trying to install zig-bin. Deleting the pixi.lock file and recreating it after removing the dependency seems to fix it. |
Hey @TCROC - do you know if this is a regression of the newest release? We updated |
Hey @wolfv ! :) I have reproduced it with both |
In |
I just tested with version |
I tried |
This seems to be an issue with uv pip install zig_bin==0.13.0
Resolved 1 package in 67ms
Prepared 1 package in 2.82s
error: Failed to install: zig_bin-0.13.0-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.musllinux_1_1_x86_64.whl (zig-bin==0.13.0)
Caused by: The wheel is invalid: Wheel contains entry in scripts directory that is not a file: /home/zalms/miniforge3/lib/python3.10/site-packages/zig_bin-0.13.0.data/scripts/lib |
@TCROC maybe you can try |
@wolfv that indeed works! Thank you! :) Now I can do this as a workaround: nushell: $env.PATH = ($env.PATH | prepend ((python3 -m ziglang env | from json).zig_exe | dirname))
zig version And then zig is back on my path for my godot-src project! :) Good news: I get benefits of lockfile and such again! :) Bad news: Its ugly because zig doesn't get installed directly to the .pixi/envs/default/bin folder. It gets installed to: I'll use this for now tho! :) Hopefully we can still get this fixed as I expect this issue will likely arise with other pypi packages. And we may not be so lucky to have an alternative next time. |
@baszalmstra with this being said, is there a uv repo where we should make people aware? |
you could file an issue on https://github.com/astral-sh/uv :) |
@wolfv Should we be closing this issue tho? Technically its still impacting pixi and may be nice to track until it gets solved. If uv for example says "won't fix" then we might want to consider alternate solutions. |
can you try with |
@wolfv pip works fine. I actually listed that as a workaround here: #1650 (comment) |
|
Seems like its already tracked and fixed: astral-sh/uv#5359 |
@wolfv Can we reopen this issue? It looks like we need to update |
@TCROC alrighty then! |
@wolfv Perfect thank you! :) In hindsight I realize I spammed you with @'s. Sorry about that 😅. I was working with the godot team on an issue and didn't realize I had already @'d you twice by the time I got back around to this one. Anywho, would you like me to change the title of the issue to something like "Update uv dependency" or something like that for better organization? |
uv
version to fix zig-bin installation issues
We merged the latest uv in #1829 . Closing this issue, please reopen if issues still occur once a new version of pixi is released. |
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
Issue description
See that you get this error:
Expected behavior
zig should install
The text was updated successfully, but these errors were encountered: