[PATCH gnupgpy 2/5] build: Specify minimum required python version
Lucas via Gnupg-devel <[email protected]>
| Newsgroups | gmane.comp.encryption.gpg.devel |
|---|---|
| Message-ID | <4ba32f03fc3560430c1f29edc00e6c7066dfcdb0.1742770151.git.lucc@posteo.de> |
* pyproject.toml: Specify minimum required python version, also drop classifiers for old python versions. -- Python 2 was dropped previously, See-Commit 5fe5e7c5aa75509dd9d983a9bf0da3d3f09a9b53. Signed-off-by: Lucas Hoffmann <[email protected]> --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) _______________________________________________ Gnupg-devel mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnupg-devel
0002-build-Specify-minimum-required-python-version.patch
(text/x-patch, 838 B)
diff --git a/pyproject.toml b/pyproject.toml
index c3c9d70..a86f6c6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -15,8 +15,6 @@ classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
- "Programming Language :: Python :: 2",
- "Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.9",
@@ -31,6 +29,9 @@ classifiers = [
]
urls = {homepage = "https://www.gnupg.org"}
+# Which versions should be supported? https://devguide.python.org/versions/
+requires-python = ">= 3.6"
+
[build-system]
# Minimum requirements for the build system to execute.
requires = ["setuptools"]