Skip to content

Commit

Permalink
Merge pull request #390 from eblot/dev/ebl/prep-py3.13
Browse files Browse the repository at this point in the history
Prepare for Python v3.13
  • Loading branch information
eblot authored Nov 19, 2024
2 parents 2f9923c + 3c78976 commit b0aefe7
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonchecksyntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pythonmocktests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion pyftdi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
5 changes: 3 additions & 2 deletions pyftdi/doc/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion pyftdi/tests/toolsimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
]
Expand Down Expand Up @@ -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',
)


Expand Down

0 comments on commit b0aefe7

Please sign in to comment.