-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Use uv build
#140
Use uv build
#140
Conversation
This seems to shave off a couple of seconds so let me know if the change is welcome :) |
I'm obviously very interested in what uv is doing 🤓 I wouldn't give too much on the seconds shaved off, since CIs are rather indeterministic, but the simplification of the requirement files looks extremely lovely. I'm just not 100% if I trust them nailing it on first try. 🤔 I'll merge for now, but I'll think about it for a moment, maybe even bump major version. Thanks! |
Hey @charliermarsh & @zanieb – how confident are you that pushing this out won't break the Pythonverse? :) |
ah shit it totally will: astral-sh/uv#7066 I'll wait a moment before reverting, Astral tends to fix simple things faster than I can type git commands. |
ok, it's all good with SOURCE_DATE_EPOCH, but I'd still like to hear the confidence rating :) |
I'm playing around with uv for building and publishing Flask (although have to wait until |
@davidism The key point is that uv is not involved in that part at all. It's all done by the build backend. I think my confusion was that the wheel command doesn't preserve timestamps so the output was wrong which is why I removed timestamps. I tried replacing wheel with zip but that broke pytest: https://github.com/hynek/build-and-inspect-python-package/pull/114/files If you want to make 100% sure it's accounted for, you'll have to download the built packages and look inside. :| LMK if you run into something else, my memory is somewhat cloudy on that, but again: |
uv v0.4.5 was just released with
uv build
https://docs.astral.sh/uv/concepts/projects/#building-projects