Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Python-announce] release-info 0.3.5

3 views
Skip to first unread message

Anthon van der Neut

unread,
Dec 28, 2021, 8:04:58 AM12/28/21
to
For various reasons you might want to know which Python versions are
“current”:

* provide a list of pyXY targets to tox
* remove a no longer supported version of Python from the .whl files
you generate to upload to PyPI
* determine which ‘Programming Language :: Python ::’ classifiers to
include in your package information
* check if you have the latest micro version of a Python installed on
all of your servers

extracting this kind of information from various PEPs (that often have
slightly different formats), python.org and other web pages, is
cumbersome. This package both provides a commandline utility
python_release_info that you can use in scripts, makefiles, etc. and a
programmatic interface to get to release information.

The release information is retrieved from the internet and can be
updated e.g. only a daily basis, without having update the package
itself. A Python or shell script, can check if one or more new versions
are available for download and take action accordingly. Pre-release
information can be queried as well.

--

The release information is automatically extracted (other information,
like EOL info is not), currently for cpython only. If you are interested
in incorporating release information of specific other releases, let me
know (if possible including mailing list/website etc, at where I could
obtain the most accurate and timely information updates).

Feedback on whether pre-release information should be kept (currently
superseded when the actual .0 release is available) for a specific
project is welcome as well.


0 new messages