diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 860cede6..65fdf7c1 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -22,17 +22,21 @@ jobs: if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')" strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] platform: [ubuntu-latest, macos-latest, windows-latest] exclude: # Only test on the oldest and latest supported stable Python on macOS and Windows. - - platform: macos-latest - python-version: 3.9 - - platform: windows-latest - python-version: 3.9 - platform: macos-latest python-version: 3.10 - platform: windows-latest python-version: 3.10 + - platform: macos-latest + python-version: 3.11 + - platform: windows-latest + python-version: 3.11 + - platform: macos-latest + python-version: 3.13 + - platform: windows-latest + python-version: 3.13 steps: - uses: actions/checkout@v3.5.3 - name: Set up Python ${{ matrix.python-version }} diff --git a/README.rst b/README.rst index 36bc18fd..9591760d 100644 --- a/README.rst +++ b/README.rst @@ -26,7 +26,7 @@ into something that you wish fontParts did/didn't do. Installation ~~~~~~~~~~~~ -FontParts requires `Python `__ 3.8 or later. +FontParts requires `Python `__ 3.9 or later. The package is listed in the Python Package Index (PyPI), so you can install it with `pip `__: @@ -123,7 +123,7 @@ or the ``TOXENV`` environment variable: :target: https://github.com/robotools/fontParts/actions?query=workflow%3ATests .. |PyPI| image:: https://img.shields.io/pypi/v/fontParts.svg :target: https://pypi.org/project/fontParts -.. |Versions| image:: https://img.shields.io/badge/python-3.8%2C%203.9%2C%203.10%2C%203.11-blue.svg +.. |Versions| image:: https://img.shields.io/badge/python-3.9%2C%203.10%2C%203.11%2C%203.12%2C%203.13-blue.svg :alt: Python Versions .. |Coverage| image:: https://codecov.io/gh/robotools/fontParts/branch/master/graph/badge.svg :target: https://codecov.io/gh/robotools/fontParts diff --git a/pyproject.toml b/pyproject.toml index abb4cb93..85c01fd3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ write_to = 'Lib/fontParts/_version.py' write_to_template = '__version__ = "{version}"' [tool.ruff] -target-version = "py38" +target-version = "py39" [tool.ruff.format] # Enable reformatting of code snippets in docstrings. diff --git a/setup.py b/setup.py index e557733a..ce55b5bf 100755 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ "Topic :: Multimedia :: Graphics :: Graphics Conversion", "Topic :: Software Development :: Libraries", ], - python_requires=">=3.8", + python_requires=">=3.9", zip_safe=True, )