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

Move to setuptools #1

Closed
FFY00 opened this issue Mar 17, 2023 · 2 comments
Closed

Move to setuptools #1

FFY00 opened this issue Mar 17, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@FFY00
Copy link
Owner

FFY00 commented Mar 17, 2023

Currently, we can't upload sdists due to pypi/warehouse#10030, so it'd make sense to change the build backend to hatchling.

@FFY00 FFY00 added the enhancement New feature or request label Mar 17, 2023
@FFY00
Copy link
Owner Author

FFY00 commented Mar 17, 2023

Uh, I tried to upload an artifact generated by hatchling and it still doesn't work.

Uploading ffy00_packaging-0.1.0-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.5/15.5 kB • 00:00 • 53.7 MB/s
WARNING  Error during upload. Retry with the --verbose option for more details.
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
         Start filename for 'ffy00.packaging' with 'ffy00.packaging'.

I also tried changing the version.

Uploading distributions to https://upload.pypi.org/legacy/
Uploading ffy00_packaging-0.1.0.post1-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.5/15.5 kB • 00:00 • 59.9 MB/s
WARNING  Error during upload. Retry with the --verbose option for more details.
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
         Start filename for 'ffy00.packaging' with 'ffy00.packaging'.

@FFY00
Copy link
Owner Author

FFY00 commented Mar 17, 2023

🤦 thanks dyslexia. I misunderstood the issue. We should move to setuptools instead.

@FFY00 FFY00 changed the title Move to hatchling Move to setuptools Mar 17, 2023
@FFY00 FFY00 closed this as completed Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant