You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I then set UV_BUILD_CONSTRAINT to point to my build-constraints.txt, and then I ran uv build ., but I did not get an error that these versions or hashes are wrong.
Is there a way to constrain build requirements during building? I specifically think of scenarios where I don't control the contents of an sdist, or there are recursive build requirements I want to constrain.
The text was updated successfully, but these errors were encountered:
I tried using the new uv build with a pyproject.toml that looks like this:
I created a
build-constraints.txt
file that looks like this (the versions contradict the build requires and hashes are purposefully wrong):I then set
UV_BUILD_CONSTRAINT
to point to mybuild-constraints.txt
, and then I ranuv build .
, but I did not get an error that these versions or hashes are wrong.Is there a way to constrain build requirements during building? I specifically think of scenarios where I don't control the contents of an sdist, or there are recursive build requirements I want to constrain.
The text was updated successfully, but these errors were encountered: