jernejfrank commented on PR #1037:
URL: https://github.com/apache/burr/pull/1037#issuecomment-7225068788

   Somehow @potiuk latest email on the dev thread is not showing up for me in 
the archive, but from there:
   
   > Coming back to your question about "incubating" in the sdist filename,
   > which I think got lost in the thread.
   >
   > The release that the ASF votes on, and that has to be in dist, is the
   > -src.tar.gz. It's named correctly. The sdist and the wheel are
   > convenience packages for the Python ecosystem. So you have two
   > consistent options:
   >
   > 1. Keep things as they are (what #1037 documents): ship
   >    apache-burr-X-incubating-sdist.tar.gz in dist and accept that pip
   >    can't infer the name and version from that filename. Few people
   >    install an sdist from a dist URL, so the practical impact is small.
   >
   > 2. Treat the sdist like the wheel: publish it to PyPI under its standard
   >    PEP 625 name (apache_burr-X.tar.gz) and keep only the -src.tar.gz
   >    (plus .asc/.sha512) in dist. That also clears the Clutch warning,
   >    provided the wheel goes the same way.
   >
   > One thing worth checking either way: the release script currently
   > uploads the "-incubating-sdist.tar.gz" file to PyPI as-is. PyPI has been
   > tightening its checks on sdist filenames that don't follow PEP 625, so
   > it's worth confirming the 0.43.0 sdist on PyPI looks right and that the
   > next upload won't be rejected.
   >
   > Both options are fine from a policy point of view. As Stefan said,
   > graduation makes the question go away. Until then, I'd lean towards
   > option 2 for the sdist and the wheel together. It's the simplest way to
   > keep dist to "the source release" and clear the Clutch warning, and
   > voters can still check the convenience files on dist/dev while an RC
   > is under vote, as PJ suggested.
   >
   
   For now, I propose treating both the wheel and sdist as Python convenience 
packages and keeping their standard filenames for PyPI compatibility. The 
latest commit implements this by removing `incubating-sdist` from the sdist 
filename, producing `apache_burr-X.tar.gz`.
   
   This addresses naming only. The release script still promotes both packages 
from `dist/dev` to `dist/release`; I have left that behavior unchanged pending 
agreement on where we want to retain them.
   
   I think it's fine for this PR, let's fine a resolution on the mailing list 
(I gather that is the preferred comms channel for such decisions), and happy to 
open a follow-up PR in case we do not want to promote convenience packages to 
`dist/release`.


-- 
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]

Reply via email to