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

Migrate wheel workflow scripts locally #1546

Merged
merged 49 commits into from
Jul 21, 2023

Conversation

divyegala
Copy link
Member

@divyegala divyegala commented May 23, 2023

@divyegala divyegala added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels May 23, 2023
@divyegala divyegala self-assigned this May 23, 2023
@divyegala divyegala changed the base branch from branch-23.06 to branch-23.08 May 23, 2023 20:40
@github-actions github-actions bot added the ci label May 23, 2023
@github-actions github-actions bot removed the python label May 23, 2023
ci/build_wheel.sh Outdated Show resolved Hide resolved
Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

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

Just need to update the workflow names then this is good to go I think.

.github/workflows/build.yaml Outdated Show resolved Hide resolved
.github/workflows/build.yaml Outdated Show resolved Hide resolved
.github/workflows/pr.yaml Outdated Show resolved Hide resolved
.github/workflows/pr.yaml Outdated Show resolved Hide resolved
Co-authored-by: Vyas Ramasubramani <[email protected]>
@divyegala divyegala marked this pull request as ready for review July 19, 2023 23:12
@divyegala divyegala requested a review from a team as a code owner July 19, 2023 23:12
ci/build_wheel.sh Outdated Show resolved Hide resolved
ci/build_wheel.sh Show resolved Hide resolved
ci/build_wheel_raft_dask.sh Outdated Show resolved Hide resolved
@divyegala divyegala changed the title Local wheel build scripts Migrate wheel workflow scripts locally Jul 20, 2023
ci/test_wheel_pylibraft.sh Outdated Show resolved Hide resolved
ci/test_wheel_raft_dask.sh Outdated Show resolved Hide resolved
cd "${package_dir}"

# Hardcode the output dir
python -m pip wheel . -w dist -vvv --no-deps --disable-pip-version-check
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
python -m pip wheel . -w dist -vvv --no-deps --disable-pip-version-check
python -m pip wheel . -w dist --no-deps --disable-pip-version-check

Is the verbosity here necessary?

In the past, we've intentionally turned off verbosity for things like pytest because it can make the GHA logs difficult to read.

Copy link
Member Author

Choose a reason for hiding this comment

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

I will let @vyasr comment on the verbosity questions

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes I was going to raise this point towards the end. I say let's turn off the verbosity for tests, but keep it for builds (i.e. pip wheel -v) That matches what we do for conda and I think that's generally helpful. Test failures tend to be self-contained, so it's enough to see that a single test failure to know what's going on, whereas with builds the real cause can often be hidden (e.g. pip does something wrong in dependency installation which results in compile-time errors).

ci/test_wheel_pylibraft.sh Outdated Show resolved Hide resolved
ci/test_wheel_pylibraft.sh Outdated Show resolved Hide resolved
ci/test_wheel_raft_dask.sh Outdated Show resolved Hide resolved
ci/test_wheel_raft_dask.sh Outdated Show resolved Hide resolved
@divyegala
Copy link
Member Author

/merge

@rapids-bot rapids-bot bot merged commit 11b0dd1 into rapidsai:branch-23.08 Jul 21, 2023
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants