-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BLD: Add DLL hashes to RECORD #52556
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
Conversation
for dll in required_dlls: | ||
src = os.path.join(base_redist_dir, dll) | ||
shutil.copy(src, dest_dll_dir) | ||
subprocess.run(["wheel", "pack", tmp_dir, "-d", dest_dir], check=True) |
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.
Just curious, I see that wheel unpack
will check the the hashes and file sizes and raise if there's a mismatch. Is it worth running that once after the packing is done?
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.
Nice suggestion. I hadn't thought about that.
It seems to do the right thing, since I get
wheel unpack pandas-2.0.0-cp310-cp310-win_amd64.whl
Unpacking to: pandas-2.0.0...No hash found for file 'pandas/_libs/window/msvcp140.dll'
when downloading the wheel and trying to unpack on macos.
Thanks for the review. Going to put this in now as failures are unrelated. |
…52641) Backport PR #52556: BLD: Add DLL hashes to RECORD Co-authored-by: Thomas Li <[email protected]>
* BUG: dt.days for timedelta non-nano overflows int32 * Run precommit * lint * Address code check failures * Add whatsnew * PERF: numpy dtype checks (#52582) * CLN: Use #pragma once instead of include guards (#52635) Use #pragma once * Refactored custom datetime functions (#52634) refactored custom datetime functions * BLD: Add DLL hashes to RECORD (#52556) * CI: Remove ArrayManager job (#52637) * DOC: Remove notes to old Python/package versions (#52640) * STYLE sort whatsnew entries alphabeticaly, allow for trailing full stops (#52598) * allow for trailing full stops in sort-whatsnew-entries hook * sort alphabetically instead --------- Co-authored-by: MarcoGorelli <> * Fix redundant entries * remove redundant entries --------- Co-authored-by: jbrockmendel <[email protected]> Co-authored-by: William Ayd <[email protected]> Co-authored-by: Thomas Li <[email protected]>
Pandas
using poetry v1.4.1 #52465 (Replace xxxx with the GitHub issue number)doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.