Skip to content
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

(docs): typo on --build-constraints (should be singular) #7315

Closed
lmmx opened this issue Sep 11, 2024 · 0 comments · Fixed by #7330
Closed

(docs): typo on --build-constraints (should be singular) #7315

lmmx opened this issue Sep 11, 2024 · 0 comments · Fixed by #7330
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@lmmx
Copy link

lmmx commented Sep 11, 2024

uv build --build-constraints constraints.txt --require-hashes

0.442 error: unexpected argument '--build-constraints' found
0.442 
0.442   tip: a similar argument exists: '--build-constraint'
0.442 
0.442 Usage: uv build --sdist --wheel --out-dir <OUT_DIR> --build-constraint <BUILD_CONSTRAINT> [SRC]
0.442 
0.442 For more information, try '--help'.
------
Dockerfile:20

I copied the docs directly so I assume typo there

uv build accepts --build-constraints, which can be used to constrain the versions of any build requirements during the build process. When coupled with --require-hashes, uv will enforce that the requirement used to build the project match specific, known hashes, for reproducibility.

If I had the bandwidth I would submit a PR to fix but I'm on a Docker build tightrope right now, apologies 🫶 I've made a note to check back and submit if someone else didn't tomorrow

@zanieb zanieb added documentation Improvements or additions to documentation good first issue Good for newcomers labels Sep 12, 2024
@zanieb zanieb closed this as completed in adcb67a Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants