1. Python Package Publishing using Azure DevOps
following is the structure. Following instruction by AzureDevOps Python Package, tried to upload with twine upload -r <organizationName> dist/*
. But failed! Complaining about file size issue
my_pkg
├─ my_pkg
├─ file (size 2GB)
├─ setup.py
├─ requirements.txt
2. Resolved file issue by splitting the file
my_pkg
├─ my_pkg
├─ file1 (500MB)
├─ file2 (500MB)
├─ file3 (500MB)
├─ file4 (500MB)
├─ setup.py
├─ requirements.txt
3. Still getting error with file size limit
According to AzureDevops individual file size limit, Python packages is limited to 500 MB per file. So I was expecting it to work. But it is still failing to upload due to size limit!
I noticed, python setup.py sdist
forms a binary
which has size > 500MB
. Is it having issue to upload due to increased size of the binary? That is a clear contradiction as the documentation state the limit is on individual file not on the package!!
4. Question
- Any idea how to request for increading the size limit?
- if each of my individual file is within size limit why it is still complaining?
- I have tried using best compression algorithm, bt still couldn't be successful in uploading this package. Any help will be highly appreciated. Thanks