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

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

Open
3 tasks done
bmhowe23 opened this issue May 18, 2024 · 2 comments
Open
3 tasks done

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

bmhowe23 opened this issue May 18, 2024 · 2 comments

Comments

@bmhowe23
Copy link

bmhowe23 commented May 18, 2024

Project URL

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

Does this project already exist?

  • Yes

New Limit

200 MiB

Update issue title

  • I have updated the 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

  • I agree to follow the PSF Code of Conduct
@bmhowe23
Copy link
Author

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant