-
Notifications
You must be signed in to change notification settings - Fork 47
wheel builds: react to changes in pip's handling of build constraints #567
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
wheel builds: react to changes in pip's handling of build constraints #567
Conversation
|
ahh see this is |
|
Yeah, this is just a test for rapidsai/build-planning#242 @jameslamb - Is this what you had in mind? |
|
/ok to test |
jameslamb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mike and I are pairing on this @rockhowse, and it's just a test that'll never be merged. You can unsubscribe.
For this test, I'd like to see the proposed new rapids-init-pip used everywhere in this repo. We should be testing the effect of these changes on both builds AND tests.
b89be42 to
c8f7ef1
Compare
|
/ok to test |
1 similar comment
|
/ok to test |
@mmccarty, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/1/ |
|
/ok to test |
@mmccarty, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/1/ |
|
/ok to test c8f7ef1 |
|
/ok to test 66e6398 |
|
Interesting error in
|
|
/ok to test 8143b9d |
Ugh that is going to make this a bit more complicated. I was hoping we could just set these environment variables and be done with it, but that error message means we'll need to go case-by-case and do different things based on whether or not build isolation is used. We really do want So maybe the right mix here is like this?
Kind of unfortunate that it'll require touching every repo, but that shouldn't be too bad and should allow the process of cross-PR testing to still work exactly as it did in https://docs.rapids.ai/resources/github-actions/#using-wheel-ci-artifacts-in-other-prs. Do you agree? If so could you try something like that here? |
|
Agreed. I'll work on that. Thanks! |
|
/ok to test 2818508 |
|
/ok to test 342efd1 |
|
/ok to test dd142bd |
|
/ok to test 1cef895 |
|
This latest commit conditionally passes the build constraint flag if build isolation is enabled. Note, that we still get the deprecation warning when build isolation is disable (example here). |
Ok good, I think that's what we want to do.
I think this is because you've fully reverted out As the warning says:
|
jameslamb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is getting closer, left a few comments for your consideration.
|
/ok to test 6c3b7ce |
build_wheel.sh updates to avoid passing --build-constaint and --no-build-isolation together|
/ok to test 52d60cb |
|
/ok to test 1b670c5 |
Co-authored-by: James Lamb <[email protected]>
Co-authored-by: James Lamb <[email protected]>
1b670c5 to
a3e83fd
Compare
|
/ok to test a3e83fd |
jameslamb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-approving, looks great, thanks!
|
/merge |
|
Ah right, can't |
Contributes to rapidsai/build-planning#242
Modifying
ci/build_wheel.shto avoid passing--build-constraintand--no-build-isolationtogether which results in an error frompip, however we want to keep environment variablePIP_CONSTRAINTset unconditionally.Can be merged after rapidsai/gha-tools#237