pitrou commented on PR #43325:
URL: https://github.com/apache/arrow/pull/43325#issuecomment-2275832729
Quick and dirty POC:
```pycon
>>> f =
zipfile.ZipFile("pyarrow-18.0.0.dev115-cp312-cp312-manylinux_2_28_aarch64.whl")
>>> outliers = [info.filename for info in f.filelist if not
re.match(r'(pyarrow/|pyarrow-[-.\w\d]+\.dist-info/)', info.filename)]
>>> assert not outliers, f"Unexpected contents in wheel: {sorted(outliers)}"
Traceback (most recent call last):
Cell In[24], line 1
assert not outliers, f"Unexpected contents in wheel: {sorted(outliers)}"
AssertionError: Unexpected contents in wheel: ['benchmarks/',
'benchmarks/__init__.py', 'benchmarks/array_ops.py', 'benchmarks/common.py',
'benchmarks/convert_builtins.py', 'benchmarks/convert_pandas.py',
'benchmarks/io.py', 'benchmarks/microbenchmarks.py', 'benchmarks/parquet.py',
'benchmarks/streaming.py', 'cmake_modules/',
'cmake_modules/AWSSDKVariables.cmake', 'cmake_modules/BuildUtils.cmake',
'cmake_modules/DefineOptions.cmake', 'cmake_modules/FindAWSSDKAlt.cmake',
'cmake_modules/FindAzure.cmake', 'cmake_modules/FindBrotliAlt.cmake',
'cmake_modules/FindClangTools.cmake', 'cmake_modules/FindGTestAlt.cmake',
'cmake_modules/FindInferTools.cmake', 'cmake_modules/FindLLVMAlt.cmake',
'cmake_modules/FindOpenSSLAlt.cmake', 'cmake_modules/FindProtobufAlt.cmake',
'cmake_modules/FindPython3Alt.cmake', 'cmake_modules/FindRapidJSONAlt.cmake',
'cmake_modules/FindSQLite3Alt.cmake', 'cmake_modules/FindSnappyAlt.cmake',
'cmake_modules/FindThriftAlt.cmake', 'cmake_modules/Findc-aresAlt.cmake',
'cmake_modules/FindgRPCAlt.cmake', 'cmake_modules/FindgflagsAlt.cmake',
'cmake_modules/FindglogAlt.cmake', 'cmake_modules/FindjemallocAlt.cmake',
'cmake_modules/Findlibrados.cmake', 'cmake_modules/Findlz4Alt.cmake',
'cmake_modules/FindorcAlt.cmake', 'cmake_modules/Findre2Alt.cmake',
'cmake_modules/Findutf8proc.cmake', 'cmake_modules/FindzstdAlt.cmake',
'cmake_modules/GandivaAddBitcode.cmake', 'cmake_modules/SetupCxxFlags.cmake',
'cmake_modules/ThirdpartyToolchain.cmake', 'cmake_modules/UseCython.cmake',
'cmake_modules/Usevcpkg.cmake',
'cmake_modules/aws_sdk_cpp_generate_variables.sh',
'cmake_modules/san-config.cmake', 'cmake_modules/snappy.diff', 'examples/',
'examples/dataset/', 'examples/dataset/write_dataset_encrypted.py',
'examples/flight/', 'examples/flight/client.py',
'examples/flight/middleware.py', 'examples/flight/server.py',
'examples/parquet_encryption/',
'examples/parquet_encryption/sample_vault_kms_client.py', 'pyarrow./',
'scripts/', 'scripts/run_emscripten_tests.py',
'scripts/test_imports.py', 'scripts/test_leak.py']
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]