-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Milestone
Description
Describe the bug
I am trying to move Pyodide over to using wheels to distribute packages pyodide/pyodide#2027. After building the wheel, we need to do some postprocessing so we use python -m wheel unpack wheel-name.whl, then rearrange the wheel as appropriate, then pack the wheel again. The PyPa wheel package does not correctly handle commas in file names, so it breaks on statsmodels because of the following files:
statsmodels/datasets/tests/raw.github.com,vincentarelbundock,Rdatasets,master,csv,car,Duncan.csv.zip
statsmodels/datasets/tests/raw.github.com,vincentarelbundock,Rdatasets,master,datasets.csv.zip
statsmodels/datasets/tests/raw.github.com,vincentarelbundock,Rdatasets,master,doc,car,rst,Duncan.rst.zip
I made a pull request over at pypa/wheel#427 to fix it.
Code Sample, a copy-pastable example if possible
python3.9 setup.py bdist_wheel
python3.9 -m wheel unpack dist/statsmodels-0.9.0-cp39-cp39-linux_x86_64.whlExpected Output
It should succeed.
What happens instead
It prints:
Unpacking to: ./statsmodels-0.9.0...No hash found for file 'statsmodels/datasets/tests/raw.github.com,vincentarelbundock,Rdatasets,master,csv,car,Duncan.csv.zip'and quits.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels