Update uv_build version range in pyproject.toml#414
Conversation
|
Thanks @ds-cbo, updating this range makes sense to me. I'd also be fine with widening the constraint like you said.
Making sure I understand: you're pre-configuring the build environment with a specific build backend, rather than letting the build backend bootstrap its own version ranges? Is this a constraint imposed by distro packaging mechanisms?
Do you have some stats you could share for this? I'd be interested in seeing them (and I suspect @konstin would too). |
This is explicitly documented in https://github.com/astral-sh/uv/releases/tag/0.10.0:
|
Correct, we use the packaging environment from our distro (FreeBSD) where packages ("ports") ideally only have a single (and preferably most recent) version. If we have build instructions for
I don't have stats to the second, but preparing Of course there's much to say about how that's designed, but I hope you can understand that that system won't change overnight, so my "perceived build time" of
My bad, I only scanned the bold headers, I missed that sentence |
|
Thanks for explaining! Loosening the range here seems fine to me. |
uv-build 0.10 was released 2 weeks ago, making this cachecontrol package uninstallable in environments that have already updated their build tooling, this fixes that until next minor release
Note that
uv-buildfollows the semver ofuvdespite only being a small subsection - in the release notes of 0.10 I couldn't find anything related touv-build. Perhaps it would also be fine to increase the range to<1to allow more leeway next time it updatesAlso note that since moving to
uv-buildbuild times ofcachecontrolhave gone up considerably compared to when it was usingflit. That plus this seeming instability of the tool would make me question whether it's already fit for use in a package as important ascachecontrol, but that's for another issue.