Only installable on Python 3.10 and later

We've dropped testing for Python 3.9 and earlier. Set a
corresponding python_requires value so that the packages for the
next release won't get installed on too-old Python and they'll stick
with the previous version instead.

Modern deployments of Jeepyb and GerritBot in OpenDev use Debian
Bookworm Python 3.11 images and so should be unaffected, but some
external users may still be pip installing onto older platforms.

Change-Id: Ib03f2109ddc851d95ff344bdd861942678ef6b2c
This commit is contained in:
Jeremy Stanley 2024-09-01 16:50:31 +00:00
parent dc754757ab
commit 1dd61d944b

View File

@ -21,6 +21,7 @@ classifier =
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
python_requires = >= 3.10
[files]
packages = gerritlib