Update release workflow to support PEP 625 for source distribution file names #1152
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As reported in #1148, our source distribution file names are not compliant with PEP 625, (e.g.,
emmet-api-0.84.3rc4.tar.gz
vsemmet_api-0.84.3rc4.tar.gz
)Bumping the minimum versions for the build packages rectifies this.
Support for PEP 625 was added to setuptools in 69.4.0, however that version was yanked, along with a few other version up through 72.0.0, so installing build packages with
--upgrade
explicitly should get us where we want to be.Uploads to TestPyPi now show the correct name normalization: test-emmet-core
Bumping the python version as well while we're here.