build,python: Add Python 3.13 and remove Python 3.8

* configure.ac: Look for Python 3.13. Don't look for Python 3.8 anymore.
* lang/python/setup.py.in: Update Python versions in classifiers.
* m4/python.m4: Add python3.13 as valid interpreter. Remove python3.8.
--
This commit is contained in:
Ingo Klöcker 2024-12-04 14:15:06 +01:00
parent 3ba4b75934
commit 27da4ec635
No known key found for this signature in database
GPG Key ID: F5A5D1692277A1E9
3 changed files with 4 additions and 4 deletions

View File

@ -614,7 +614,7 @@ if test "$found_py" = "1"; then
if test "$found_py" = "1" -o "$found_py3" = "1"; then if test "$found_py" = "1" -o "$found_py3" = "1"; then
# Reset everything, so that we can look for another Python. # Reset everything, so that we can look for another Python.
m4_foreach([mym4pythonver], m4_foreach([mym4pythonver],
[[2.7],[3.6],[3.8],[3.9],[3.10],[3.11],[3.12],[all]], [[2.7],[3.6],[3.9],[3.10],[3.11],[3.12],[3.13],[all]],
[unset PYTHON [unset PYTHON
unset PYTHON_VERSION unset PYTHON_VERSION
unset PYTHON_CPPFLAGS unset PYTHON_CPPFLAGS

View File

@ -286,11 +286,11 @@ GPGME and these bindings is available here:
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Operating System :: POSIX', 'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows', 'Operating System :: Microsoft :: Windows',
'Topic :: Communications :: Email', 'Topic :: Communications :: Email',

View File

@ -36,12 +36,12 @@
# numbers and dots only. # numbers and dots only.
AC_DEFUN([AM_PATH_PYTHON], AC_DEFUN([AM_PATH_PYTHON],
[ [
dnl Find a Python interpreter. Python versions prior to 3.8 are dnl Find a Python interpreter. Python versions prior to 3.9 are
dnl end-of-life and not supported, with the exception of 2.7 and 3.6. dnl end-of-life and not supported, with the exception of 2.7 and 3.6.
m4_define_default([_AM_PYTHON_INTERPRETER_LIST], m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
[python2 python2.7 dnl [python2 python2.7 dnl
python dnl python dnl
python3 python3.12 python3.11 python3.10 python3.9 python3.8 python3.6 python3 python3.13 python3.12 python3.11 python3.10 python3.9 python3.6
]) ])
AC_ARG_VAR([PYTHON], [the Python interpreter]) AC_ARG_VAR([PYTHON], [the Python interpreter])