pypi / support

Issue tracker for support requests related to using https://pypi.org
90 stars 47 forks source link

File Limit Request: cuda-quantum - 200 MiB #4069

Closed bmhowe23 closed 2 weeks ago

bmhowe23 commented 1 month ago

Project URL

https://pypi.org/project/cuda-quantum/

Does this project already exist?

New Limit

200 MiB

Update issue title

Which indexes

PyPI, TestPyPI

About the project

This is actually a clone of #3693. That request was approved, but when trying to upload our latest release (0.7.1) to TestPyPI, it is rejecting it for the file size even though it is only 105 MB, which is less than the previously approved limit of 200 MB.

Copied from prior request: CUDA Quantum is a comprehensive framework for quantum programming. It has been active on PyPi for >6 months, and we are adding significant new features in our upcoming release related to more-native-feeling Python language support for quantum programming using the LLVM/MLIR infrastructure.

Reasons for the request

This is actually a clone of #3693. That request was approved, but when trying to upload our latest release (0.7.1) to TestPyPI, it is rejecting it for the file size even though it is only 105 MB, which is less than the previously approved limit of 200 MB.

Copied from prior request: Our per-wheel file size for our previous release (0.6.0) was approx 60 MB, and with our new Python language features (that heavily use MLIR for JIT compilation), we are exceeding 100 MB.

Code of Conduct

bmhowe23 commented 1 month ago

This is the error message that is being shown:

$ python3 -m twine upload --repository testpypi cuda_quantum-0.7.1-cp310-cp310-manylinux_2_28_x86_64.whl
Uploading distributions to https://test.pypi.org/legacy/
Uploading cuda_quantum-0.7.1-cp310-cp310-manylinux_2_28_x86_64.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 105.8/105.8 MB • 00:17 • 7.4 MB/s
WARNING  Error during upload. Retry with the --verbose option for more details.
ERROR    HTTPError: 400 Bad Request from https://test.pypi.org/legacy/
         File too large. Limit for project 'cuda-quantum' is 100 MB. See https://test.pypi.org/help/#file-size-limit for more information.

As mentioned above, #3693 says that we should've already been approved for 200 MB.

bmhowe23 commented 1 month ago

I tried uploading our latest release (0.7.1) to pypi.org despite it not working on test.pypi.org, and it worked, so it seems like our problem is limited to test.pypi.org.

cmaureir commented 2 weeks ago

Hey @bmhowe23 :wave: I've set the upload limit for cuda-quantum to 200 MB on TestPyPI. have a nice week :tada: