From 3c78976d9cd0723d559f0687f4b8a9845984ea43 Mon Sep 17 00:00:00 2001 From: Emmanuel Blot Date: Tue, 19 Nov 2024 18:50:43 +0100 Subject: [PATCH] python: deprecated EOL'ed v3.8, add v3.13 Signed-off-by: Emmanuel Blot --- .github/workflows/pythonchecksyntax.yml | 2 +- .github/workflows/pythonmocktests.yml | 2 +- .github/workflows/pythonpackage.yml | 2 +- README.md | 2 +- pyftdi/__init__.py | 2 +- pyftdi/doc/requirements.rst | 5 +++-- pyftdi/tests/toolsimport.py | 2 +- setup.py | 4 ++-- 8 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pythonchecksyntax.yml b/.github/workflows/pythonchecksyntax.yml index 46621e22..7dff3c30 100644 --- a/.github/workflows/pythonchecksyntax.yml +++ b/.github/workflows/pythonchecksyntax.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pythonmocktests.yml b/.github/workflows/pythonmocktests.yml index bcd764d4..b213d447 100644 --- a/.github/workflows/pythonmocktests.yml +++ b/.github/workflows/pythonmocktests.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 3fc8e812..6309f6cf 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index abc38fab..86c1ebc4 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,6 @@ PyFtdi currently supports the following features: ### Python support -PyFtdi requires Python 3.8+. +PyFtdi requires Python 3.9+. See `pyftdi/doc/requirements.rst` for more details. diff --git a/pyftdi/__init__.py b/pyftdi/__init__.py index ee5209b5..3c2620d3 100644 --- a/pyftdi/__init__.py +++ b/pyftdi/__init__.py @@ -6,7 +6,7 @@ # pylint: disable=missing-docstring -__version__ = '0.55.4' +__version__ = '0.56.0' __title__ = 'PyFtdi' __description__ = 'FTDI device driver (pure Python)' __uri__ = 'http://github.com/eblot/pyftdi' diff --git a/pyftdi/doc/requirements.rst b/pyftdi/doc/requirements.rst index 0b0f3a51..211acf58 100644 --- a/pyftdi/doc/requirements.rst +++ b/pyftdi/doc/requirements.rst @@ -3,9 +3,10 @@ Requirements ------------ -Python_ 3.8 or above is required. +Python_ 3.9 or above is required. + +* PyFtdi *v0.55* is the last PyFtdi version to support Python 3.8. -* PyFtdi *v0.54* is the last PyFtdi version to support Python 3.7. * Python 3.7 has reached end-of-life on June 27rd, 2023. diff --git a/pyftdi/tests/toolsimport.py b/pyftdi/tests/toolsimport.py index 96bdcd3b..0c5fa4b5 100755 --- a/pyftdi/tests/toolsimport.py +++ b/pyftdi/tests/toolsimport.py @@ -22,7 +22,7 @@ class ToolsTestCase(TestCase): This is especially useful to find Python syntax version mismatch and other not-yet-supported modules/features. - PyFtdi and tools should support Python 3.8 onwards. + PyFtdi and tools should support Python 3.9 onwards. """ @classmethod diff --git a/setup.py b/setup.py index c83d2086..8da347a2 100755 --- a/setup.py +++ b/setup.py @@ -35,11 +35,11 @@ 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: POSIX', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Hardware :: Hardware Drivers', ] @@ -182,7 +182,7 @@ def main(): 'pyftdi.serialext': ['*.rst', 'doc/api/uart.rst']}, classifiers=CLASSIFIERS, install_requires=INSTALL_REQUIRES, - python_requires='>=3.8', + python_requires='>=3.9', )