Skip to content

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

Draft
wants to merge 4 commits into
base: branch-25.06
Choose a base branch
from

Conversation

jakirkham
Copy link
Member

Description

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

Copy link

copy-pr-bot bot commented May 9, 2025

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.

@jakirkham jakirkham added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels May 9, 2025
@jakirkham
Copy link
Member Author

/ok to test

@github-actions github-actions bot added the Python Affects Python cuDF API. label May 9, 2025
@jakirkham
Copy link
Member Author

/ok to test

@@ -12,6 +12,7 @@ rapids-logger "validate packages with 'pydistcheck'"

pydistcheck \
--inspect \
--output-file-size-precision=4 \
Copy link
Member Author

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

Comment on lines +56 to +57
# Default precision is 2. Bump this a bit for better visibility.
output_file_size_precision = 4
Copy link
Member Author

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

Copy link
Member Author

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

@jakirkham
Copy link
Member Author

Looks like the CI images pin pydistcheck to 0.8

Whereas the file size feature ( jameslamb/pydistcheck@802a9a8 ) wasn't added until pydistcheck version 0.9.0

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

@jakirkham
Copy link
Member Author

/ok to test

@GPUtester GPUtester moved this to In Progress in cuDF Python May 9, 2025
@jakirkham
Copy link
Member Author

/ok to test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

1 participant