Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pypi package size limit #86

Closed
yifeif opened this issue Nov 26, 2016 · 20 comments
Closed

Pypi package size limit #86

yifeif opened this issue Nov 26, 2016 · 20 comments

Comments

@yifeif
Copy link

yifeif commented Nov 26, 2016

Hi,

I'm running into the following issue when trying to twine upload a package around 80MB:
HTTPError: 400 Client Error: distribution file too large for url: https://testpypi.python.org/pypi
What is the size limit for pypi package? Is there a way we can up the limit? Thanks.

@dstufft
Copy link
Member

dstufft commented Nov 26, 2016

We can increase the limit on a package per package basis. I think the default limit is somewhere around 60MB? You'll have to upload to Warehouse (upload.pypi.org/legacy/ and test.pypi.org/legacy/) instead of to current PyPI but it will still show up on both.

@yifeif
Copy link
Author

yifeif commented Nov 27, 2016

Thanks @dstufft! Will I still be able to use twine or the upload process is completely different?
I got the following by replacing with the given url,
HTTPError: 404 Client Error: Not Found for url: https://testpypi.python.org/legacy

@merwok
Copy link

merwok commented Nov 28, 2016

The hostname in your error message is testpypi.python.org, but Donald’s message talks about test.pypi.org :)

@matham
Copy link

matham commented Nov 28, 2016

Our project has been waiting for this to be active but I hadn't realized this was already possible. How do we request a size increase for our project?

@dstufft
Copy link
Member

dstufft commented Nov 29, 2016

@yifeif You can still use twine, but you need to use either https://test.pypi.org/legacy/ or upload.pypi.org/legacy/ for TestPyPI or PyPI (note the domain and trailing slash). You would also need to tell me the name of your project and why you need it increased (e.g. large image files, lots of compiled .so's, whatever) if you want the file size limit increased for that project.

@matham You can just ask me for one in this issue or via email or whatever. I just need to know the name of the project and why you need it increased (e.g. large image files, lots of compiled .so's, whatever).

@matham
Copy link

matham commented Nov 29, 2016

@dstufft that's great!

The project name is kivy.deps.gstreamer https://pypi.python.org/pypi/kivy.deps.gstreamer. It's a dependency of the kivy project and is used by the kivy project for video. The reason for the large size is that it includes all the gstreamer binaries and plugin dlls.

Currently we host it on our site and it's about 120MB. However,could you increase the limit to around 150MB in case the gstreamer distribution gets larger?

Thanks!

@yifeif
Copy link
Author

yifeif commented Nov 29, 2016

Thanks @merwok and @dstufft! I was totally using the wrong sites :)

May I get a file size limit increased to 100MB for project 'tensorflow-gpu' https://pypi.python.org/pypi/tensorflow-gpu? It is currently at around 85MB.
In additional to the normal tensorflow package, it has much bigger .so for all the GPU supports. Thanks!

@yifeif
Copy link
Author

yifeif commented Dec 5, 2016

@dstufft gentle ping on the file size increase request. Much appreciated!

@dstufft
Copy link
Member

dstufft commented Dec 5, 2016

Okay, I've set kivy.deps.gstreamer to 150MB and tensorflow-gpu to 100MB. Note: This will only take affect when uploading to the new site at https://upload.pypi.org/legacy/, but the change will be reflected in both the old and the new site.

@dstufft dstufft closed this as completed Dec 5, 2016
@yifeif
Copy link
Author

yifeif commented Dec 5, 2016

Was able to upload to https://upload.pypi.org/legacy/ just now. Thanks so much @dstufft!

One more request, can we have the same size increase at https://test.pypi.org/legacy/ as well?

@dstufft
Copy link
Member

dstufft commented Dec 5, 2016

@yifeif done!

@yifeif
Copy link
Author

yifeif commented Dec 5, 2016

Awesome. Thanks again for all your help @dstufft :)

@matham
Copy link

matham commented Dec 5, 2016

@dstufft Thanks a lot!

@yifeif
Copy link
Author

yifeif commented Jan 18, 2017

Hi @dstufft, we would like to expand tensorflow-gpu's support for more CUDA compute capabilities as mentioned in this thread, which will cause our binary size to go up. Would it be possible to increase tensorflow-gpu size limit to 200MB?
Sorry need to dig up this old thread and really appreciate the help!

@reuben
Copy link

reuben commented Nov 17, 2017

Hi @dstufft,

We're trying to publish project deepspeech-gpu and are running into the same problem as tensorflow-gpu, as we also include a bunch of compiled libraries for CUDA support. Could you bump our limit to 200MB on upload.pypi.org and test.pypi.org?

Thanks!

@merwok
Copy link

merwok commented Nov 17, 2017

New requests for different packages would need their own tickets.

@reuben
Copy link

reuben commented Nov 17, 2017

Thanks. I filed #110

@HangJie720
Copy link

@dstufft! My Program is advanced tensorflow for edge computing, which is named as tensorflow-tflex, its size is 69.1M, could you increase the upload size limit? Thank you very much!
HTTPError: 400 Client Error: File too large. Limit for project 'tensorflow-tflex' is 60 MB. See https://test.pypi.org/help/#file-size-limit for url: https://test.pypi.org/legacy/

Package site: https://pypi.org/project/tensorflow-tflex/#files

@myhub
Copy link

myhub commented Aug 9, 2019

@dstufft My project is tr (https://pypi.org/project/tr/)
it is a deep learning based OCR system which include many .so files and big deep learning model parameter files(text line detect and text recognition), I want a size around 300Mb to store so many files, Thanks

@di
Copy link
Member

di commented Aug 9, 2019

Please open new issues at https://github.com/pypa/warehouse/issues for new limit requests.

@pypa pypa locked as resolved and limited conversation to collaborators Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants