From 6830f5b33ad2dddc49e1bba4ee13593b2454515c Mon Sep 17 00:00:00 2001 From: Fabien LOISON Date: Tue, 29 Oct 2024 13:23:49 +0100 Subject: [PATCH] misc!: Added Python 3.13 support and removed Python 3.8 support --- .github/workflows/python-ci.yml | 2 +- .github/workflows/python-packages.yml | 2 +- README.rst | 9 +++++---- noxfile.py | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 7a73afc..2230090 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -10,7 +10,7 @@ jobs: 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: diff --git a/.github/workflows/python-packages.yml b/.github/workflows/python-packages.yml index 3711ec7..269671e 100644 --- a/.github/workflows/python-packages.yml +++ b/.github/workflows/python-packages.yml @@ -27,7 +27,7 @@ jobs: - name: "Set up Python" uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.13" - name: "Install Python build dependencies" run: | diff --git a/README.rst b/README.rst index 50678e4..0fe1397 100644 --- a/README.rst +++ b/README.rst @@ -14,8 +14,8 @@ Requirements * PyCairo * PyGObject ≥ 3.36 -* Python ≥ 3.8 -* YOGA ≥ 1.1.0 +* Python >= 3.9 +* YOGA >= 1.1.0 Installation @@ -161,11 +161,11 @@ or run the tests:: You can use following commands to run the tests only on a certain Python version (the corresponding Python interpreter must be installed on your machine):: - nox --session test-3.8 nox --session test-3.9 nox --session test-3.10 nox --session test-3.11 nox --session test-3.12 + nox --session test-3.13 You can also fix coding style errors automatically with:: @@ -207,7 +207,8 @@ Changelog * **[NEXT]** (changes on ``master``, but not released yet): - * Nothing yet ;) + * misc: Added Python 3.13 support (@flozz) + * misc!: Removed Python 3.8 support (@flozz) * **v1.2.4:** diff --git a/noxfile.py b/noxfile.py index e418718..9d0eaac 100644 --- a/noxfile.py +++ b/noxfile.py @@ -26,7 +26,7 @@ def black_fix(session): # NOTE All Gtk dependencies and introspection files must be installed for this # to work. -@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"], reuse_venv=True) +@nox.session(python=["3.9", "3.10", "3.11", "3.12", "3.13"], reuse_venv=True) def test(session): session.install("pytest") session.install("-e", ".")