You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am test uploading using the command: python3.11 -m twine upload --verbose --repository testpypi dist/*
using twine: twine version 4.0.2 (importlib-metadata: 7.0.1, keyring: 24.3.0, pkginfo: 1.9.6, requests: 2.31.0, requests-toolbelt: 1.0.0, urllib3: 2.1.0)
and receiving the following result:
Uploading distributions to https://test.pypi.org/legacy/
INFO dist/brython_server-2.3.1-py3-none-any.whl (35.4 MB)
INFO dist/brython-server-2.3.1.tar.gz (34.3 MB)
INFO Querying keyring for username
Enter your username: __token__
Enter your password:
INFO username: __token__
INFO password: <hidden>
Uploading brython_server-2.3.1-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 37.2/37.2 MB • 00:00 • 102.5 MB/s
INFO Response from https://test.pypi.org/legacy/:
400 Invalid distribution file.
INFO <html>
<head>
<title>400 Invalid distribution file.</title>
</head>
<body>
<h1>400 Invalid distribution file.</h1>
The server could not comply with the request since it is either malformed or otherwise incorrect.<br/><br/>
Invalid distribution file.
</body>
</html>
ERROR HTTPError: 400 Bad Request from https://test.pypi.org/legacy/
Invalid distribution file.
The last time I successfully test uploaded this package was July 3, 2022. I will try building the old version and test uploading it again, to see if it is me or pypi, but if someone can suggest a reason I may be seeing this error, I would appreciate it!
The text was updated successfully, but these errors were encountered:
The new version I am installing is vastly larger than the old, and contains a file that would expand to about 5.8 GB. I'm guessing that might be the problem.
The large file should not have been there. Removing it solved the problem. A more informative error would help, but for now, I will consider this issue resolved.
Problem description
I am test uploading using the command:
python3.11 -m twine upload --verbose --repository testpypi dist/*
using twine:
twine version 4.0.2 (importlib-metadata: 7.0.1, keyring: 24.3.0, pkginfo: 1.9.6, requests: 2.31.0, requests-toolbelt: 1.0.0, urllib3: 2.1.0)
and receiving the following result:
The last time I successfully test uploaded this package was July 3, 2022. I will try building the old version and test uploading it again, to see if it is me or pypi, but if someone can suggest a reason I may be seeing this error, I would appreciate it!
The text was updated successfully, but these errors were encountered: