pypa / trove-classifiers

Canonical source for classifiers on PyPI.
https://pypi.org/p/trove-classifiers/
Apache License 2.0
135 stars 95 forks source link

Make it possible to post multiple-releases-in-a-day #86

Open pradyunsg opened 2 years ago

pradyunsg commented 2 years ago

Are folks opposed to setting up releases with the version numbers 2021.11.15.1?

Right now, we're using calver:

https://github.com/pypa/trove-classifiers/blob/4e2248b1fce527e3943358037a1d5db8e8186fd5/setup.py#L30

It doesn't support multiple releases on the same day, which is an issue we've hit in #80.

Secrus commented 1 year ago

I know this issue is quite dated, but as a side note, I would suggest dropping calver. With setuptools moving to pyproject.toml and setup.py scripts being discouraged, using calver will be anchoring the project to old standards, since (according to setuptools docs) it won't be supported in pyproject.toml. If calver is dropped, this project could also be migrated to fully use pyproject.toml metadata declaration (either via setuptools or migrating to another tool that supports it, like flit)

pradyunsg commented 1 year ago

setup.py scripts being discouraged

To quote https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html:

This does not mean that setuptools itself is deprecated, or that using setup.py to configure your package builds is going to be removed.

Secrus commented 1 year ago

@pradyunsg I meant more that the community is going in the direction of having all possible packaging data in static config like setup.cfg/pyproject.toml. I am by no means saying that setuptools is deprecated.