This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Python fails to execute shiv pyz files greater than 2 GB
Type: behavior Stage: resolved
Components: Versions: Python 3.7
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: barry, divyanshurastogi4, mark.dickinson
Priority: normal Keywords:

Created on 2021-02-02 10:49 by divyanshurastogi4, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg386135 - (view) Author: Divyanshu (divyanshurastogi4) Date: 2021-02-02 10:49
Issue with shiv packages greater than 2GBs.
Any shiv package(.pyz) greater than 2 GB fails to execute on python.
Getting the below error with a simple shiv package that contains a main file that prints Hello World, and some random data files crossing the 2GB mark (can be a data file, a zip file or whatever unrelated)
Error - cannot find 'main' module in abc.pyz

On removing some of the redundant data files so that the size becomes less than 2 GB, the package becomes functional again.
msg386136 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2021-02-02 11:52
This sounds as though it should be reported to the Shiv maintainers. (This tracker is for core Python, and Shiv isn't part of core Python.)

If the Shiv problem turns out to be due to an underlying core Python bug, this issue can be re-opened with more details.
Date User Action Args
2022-04-11 14:59:40adminsetgithub: 87266
2021-02-02 11:56:05mark.dickinsonsetnosy: + barry
2021-02-02 11:52:54mark.dickinsonsetstatus: open -> closed

nosy: + mark.dickinson
messages: + msg386136

resolution: third party
stage: resolved
2021-02-02 10:49:04divyanshurastogi4create