Skip to content

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

Merged
merged 18 commits into from
Apr 13, 2023
Merged

Conversation

lithomas1
Copy link
Member

@lithomas1 lithomas1 commented Apr 9, 2023

@lithomas1 lithomas1 added the Build Library building on various platforms label Apr 9, 2023
@lithomas1 lithomas1 added this to the 2.0.1 milestone Apr 12, 2023
@lithomas1 lithomas1 marked this pull request as ready for review April 12, 2023 16:57
@lithomas1 lithomas1 requested a review from mroeschke April 12, 2023 19:06
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)
Copy link
Member

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?

Copy link
Member Author

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.

@lithomas1 lithomas1 merged commit bc5039e into pandas-dev:main Apr 13, 2023
@lithomas1 lithomas1 deleted the fix-wheel-record branch April 13, 2023 01:40
@lithomas1
Copy link
Member Author

Thanks for the review. Going to put this in now as failures are unrelated.

meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Apr 13, 2023
phofl pushed a commit that referenced this pull request Apr 13, 2023
…52641)

Backport PR #52556: BLD: Add DLL hashes to RECORD

Co-authored-by: Thomas Li <[email protected]>
mroeschke pushed a commit to mroeschke/pandas that referenced this pull request Apr 13, 2023
mroeschke added a commit that referenced this pull request Apr 14, 2023
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUILD: Unable to install Pandas using poetry v1.4.1
2 participants