potiuk commented on PR #1037: URL: https://github.com/apache/burr/pull/1037#issuecomment-7215911487
One more release-tooling thing, building on the sdist naming discussion on dev@. I checked PyPI against the voted 0.43.0 artifacts: wheel and sdist are byte-identical (sdist SHA-256 `3948ffce…` on both sides). PyPI has the sdist as `apache_burr-0.43.0.tar.gz`, so the voted `apache-burr-0.43.0-incubating-sdist.tar.gz` had to be renamed by hand before upload. `_twine_upload_command` still prints the `-incubating-sdist` name, so that step exists only in the RM's head. Rather than documenting the rename, I'd suggest not adding `-incubating` to the sdist at all and shipping it under its PEP 625 name, `apache_burr-X.tar.gz`, in dist too: - The sdist is a Python convenience package, like the wheel. The ASF source release is the `-src.tar.gz`, which keeps `incubating`. - The file voted on in dist and the file uploaded to PyPI become the same file under the same name, with no rename step to get wrong, and pip can infer name and version from it again. - It's consistent with how the wheel is already treated (and with whatever the PPMC settles on for the Clutch warning, which then covers both). Concretely, that would mean: - dropping the rename to `-incubating-sdist.tar.gz` in `_build_sdist_from_git` - updating the sdist filter in `_twine_upload_command` - updating the artifact names in the vote and result email templates - loosening the `_artifact_files` regex in `verify_apache_artifacts.py` (currently `apache-burr-[^-]+-incubating-(?:src|sdist)`) - flipping the "Keep `incubating` in the Apache sdist filename" bullet in `scripts/README.md` Happy for this to be a follow-up rather than part of this PR. --- *Drafted with an AI-assisted review tool and checked by me; it may contain mistakes.* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
