Hi Chandan,

On Wed, 2023-07-26 at 22:14 +0100, Chandan Singh wrote:
> Answering my own question:
[...]
> 
> Oops, my bad. Please disregard this part in my previous reply.
> 
> I had overlooked that https://github.com/apache/buildstream/pull/1723
> already accomodates for the odd/even detail.
> 

Ummm, no actually thanks for raising this because you've touched on a
detail in setup.py which I've overlooked.

The goal here is to *drop* the "odd minor point version means unstable"
semantics from our versioning, and the setup.py does some versioneer
hackery to trick it into understanding odd number minor points as
unstable and then append ".dev0" to the version.

It looks to me like this patchwork must be removed, as we want versions
like "2.1.0" to be considered by PyPI as a normal release.

Instead, if and when we want to make an unstable snapshot in the
future, we can explicitly tag a release as "2.2.0.dev0" (as in a
snapshot leading up to an eventual final "2.2.0") - and our github
workflows and such should just let the tarballs/versions through
indescriminately.

PyPI will anyway treat a ".dev0" suffixed package as a prerelease, and
pip will only install it with the "-pre" argument.

Please let me know if you think there is still something I'm missing
here...

Cheers,
    -Tristan


Reply via email to