Skip to content

Commit

Permalink
misc!: Added Python 3.13 support and removed Python 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
flozz committed Oct 29, 2024
1 parent 6b61a29 commit 6830f5b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
9 changes: 5 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Requirements

* PyCairo
* PyGObject ≥ 3.36
* Python 3.8
* YOGA 1.1.0
* Python >= 3.9
* YOGA >= 1.1.0


Installation
Expand Down Expand Up @@ -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::

Expand Down Expand Up @@ -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:**

Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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", ".")
Expand Down

0 comments on commit 6830f5b

Please sign in to comment.