-
Notifications
You must be signed in to change notification settings - Fork 682
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 constraints (and overrides?) to build environments #5561
Comments
(Note that pip's behaviour is a little weird, only the env var affects the build environments, not the command line flag) |
Oh wow, that's interesting. I'm considering providing separate API for this (like |
@charliermarsh Are there any plans to make Currently build constraints need to be manually specified:
Having a central project setting would be convenient (at least for the use case I have in mind). Use Case (Context)The goal is for packages (source distributions) that include protobufs to support compiling these protobufs during build while being constrained to the same major version of protobuf as required by the project into which they are being installed. Constraining the version of This should also be attainable with no-build-isolation and no-build-isolation-package but it would be preferred to retain build isolation (to avoid unnecessarily constraining any other build requirements). A workaround that somewhat side steps this is to compile protobufs on import. |
Yeah we should add this. I'll make a separate issue. |
Tracking here: #6913 |
We should add a
--build-constraints
that apply to the build environments.See: #5551 (comment)
The text was updated successfully, but these errors were encountered: