Skip to content

Allow setting build constraints#963

Merged
gaborbernat merged 1 commit intopypa:mainfrom
layday:feat-build-constraints
Mar 3, 2026
Merged

Allow setting build constraints#963
gaborbernat merged 1 commit intopypa:mainfrom
layday:feat-build-constraints

Conversation

@layday
Copy link
Copy Markdown
Member

@layday layday commented Dec 12, 2025

No description provided.

@layday layday linked an issue Dec 12, 2025 that may be closed by this pull request
@layday layday marked this pull request as ready for review December 12, 2025 21:00
@layday
Copy link
Copy Markdown
Member Author

layday commented Dec 14, 2025

Still not sure if I'm entirely onboard with this or if we should allow passing arbitrary (or checked) --installer-args - or neither.

)
install_group.add_argument(
'--dependency-constraints-txt',
help='constrain build dependencies using a constraints.txt when installing dependencies',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this take into account a future possibility of people passing pylock.toml files as constraints? Or would that be a dedicated CLI option when that happens?

@gaborbernat gaborbernat merged commit cea8dcd into pypa:main Mar 3, 2026
64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow setting build env constraints

3 participants