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

Add tool.uv.build-constraint-dependencies to pyproject.toml #11585

Merged

Conversation

cning112
Copy link
Contributor

Summary

Resolves #6913.

Add tool.uv.build-constraint-dependencies to pyproject.toml.
The changes are analogous to the constraint-dependencies feature implemented in #5248.

Add documentation for build-constraint-dependencies

Test Plan

Add tests for uv lock, uv add, uv pip install and uv pip compile.

@charliermarsh charliermarsh self-assigned this Feb 18, 2025
@charliermarsh charliermarsh added the enhancement New feature or improvement to existing functionality label Feb 18, 2025
Copy link
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really thorough, thanks. I just tweaked some of the tests and docs.

@charliermarsh charliermarsh force-pushed the add-build-constraints-to-pyproject-toml branch from e031889 to b33c5a5 Compare February 18, 2025 01:23
@charliermarsh charliermarsh enabled auto-merge (squash) February 18, 2025 01:23
@charliermarsh
Copy link
Member

I hope you'll consider continuing to contribute :)

@charliermarsh charliermarsh force-pushed the add-build-constraints-to-pyproject-toml branch from b33c5a5 to 8dc5598 Compare February 18, 2025 01:30
@charliermarsh charliermarsh enabled auto-merge (squash) February 18, 2025 01:31
@charliermarsh charliermarsh changed the title Add 'tool.uv.build-constraint-dependencies' to pyproject.toml Add tool.uv.build-constraint-dependencies to pyproject.toml Feb 18, 2025
@charliermarsh charliermarsh force-pushed the add-build-constraints-to-pyproject-toml branch from 8dc5598 to 19faba2 Compare February 18, 2025 01:31
@charliermarsh charliermarsh merged commit 8c3a6b2 into astral-sh:main Feb 18, 2025
72 of 73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add build-constraints support to uv lock etc. via pyproject.toml
2 participants