-
Notifications
You must be signed in to change notification settings - Fork 948
Increase file size precision in wheel check #18731
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
base: branch-25.06
Are you sure you want to change the base?
Increase file size precision in wheel check #18731
Conversation
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
/ok to test |
/ok to test |
ci/validate_wheel.sh
Outdated
@@ -12,6 +12,7 @@ rapids-logger "validate packages with 'pydistcheck'" | |||
|
|||
pydistcheck \ | |||
--inspect \ | |||
--output-file-size-precision=4 \ |
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 appeared to be supported upstream
However am seeing the following error on CI:
Usage: pydistcheck [OPTIONS] [FILEPATHS]...
Try 'pydistcheck --help' for help.
Error: No such option: --output-file-size-precision
# Default precision is 2. Bump this a bit for better visibility. | ||
output_file_size_precision = 4 |
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.
Trying the config option instead
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.
Well that didn't work either.
Here is the error from CI:
ValueError: Configuration value 'output_file_size_precision' is not recognized by pydistcheck
Looks like the CI images pin Whereas the file size feature ( jameslamb/pydistcheck@802a9a8 ) wasn't added until To be able to use this check, we need to allow the new version to be installed in our CI images. Glancing through the history the pin was add as a safety measure (not due to a specific issue). So it seems reasonable to bump it. Doing so with PR: rapidsai/ci-imgs#269 |
/ok to test |
/ok to test |
Description
Checklist