You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scancode-toolkit happens to contain a good number of data files (~ 68K)
What I did as a proof was to:
unzip the built app
remove enough files to go below the 65K limit
rezip and run the app... and things work fine
Since shiv depends on the boostrapping mechanisms of Python zip importer, this is dependent on @thatch Zip64 support in import being merged in python/cpython#94146 ... therefore I am not sure that there is anything to do here beyond some documentation.
The text was updated successfully, but these errors were encountered:
FWIW, there is a similar problem with the same root cause when using large zips (over 2GB) .... this is reported elsewhere in pex-tool/pex#958
pombredanne
changed the title
Run fails if the built app contains more than 65535 files
Run fails if the built app contains more than 65535 files or is over 2GB
Aug 16, 2022
I am trying to build an app for scancode-toolkit and while the build works fine, the built app is failing to run with this error:
I scratched my head and I think this may be subject to these issues python/cpython#77140 and python/cpython#89739
scancode-toolkit happens to contain a good number of data files (~ 68K)
What I did as a proof was to:
Since shiv depends on the boostrapping mechanisms of Python zip importer, this is dependent on @thatch Zip64 support in import being merged in python/cpython#94146 ... therefore I am not sure that there is anything to do here beyond some documentation.
The text was updated successfully, but these errors were encountered: