[release] Make pytorch source distribution package respect pep-0517 #150461
Labels
module: binaries
Anything related to official binaries that we release to users
topic: binaries
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Milestone
🐛 Describe the bug
I would like to make modifications to Source Distribution package to respect https://peps.python.org/pep-0517/
Our source packaging was initially introduced by #63022
and have not changed since then.
I would like to modify create-release yml to build sdist respecting PEP 0517:
https://github.com/pytorch/pytorch/blob/main/.github/workflows/create_release.yml#L68
PyPi documentation on generating sdist:
https://packaging.python.org/en/latest/tutorials/packaging-projects/#generating-distribution-archives
Currently if one tries to install the tar.gz file used in the release, we get something like this:
Versions
2.8.0
cc @seemethere @malfet @osalpekar
The text was updated successfully, but these errors were encountered: