Skip to content

Commit

Permalink
feat: official Python 3.13 support
Browse files Browse the repository at this point in the history
Things worked before. However, now the project is tested on 3.13, too.
  • Loading branch information
languitar committed Jan 12, 2025
1 parent 33259b3 commit a8ea72d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- name: Install native dependencies
run: sudo apt-get update && sudo apt-get -y install libdbus-1-dev libgirepository1.0-dev libcairo2-dev
- name: Cache Python packages
Expand All @@ -49,10 +49,10 @@ jobs:
steps:
- name: Clone repo
uses: actions/checkout@v4
- name: Set up Python 3.12
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- name: Install native dependencies
run: sudo apt-get update && sudo apt-get -y install libdbus-1-dev libgirepository1.0-dev plantuml libcairo2-dev
- name: Cache Python packages
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12", "3.13"]

steps:
- name: Clone repo
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = coverage-clean,test-py310-psutil59-dateutil28-tzlocal2, test-py{310,311,312}-psutillatest-dateutillatest-tzlocal{4,latest}, integration-py{310,311,312}, mindeps, check, docs, coverage
envlist = coverage-clean,test-py310-psutil59-dateutil28-tzlocal2, test-py{310,311,312,313}-psutillatest-dateutillatest-tzlocal{4,latest}, integration-py{310,311,312,313}, mindeps, check, docs, coverage

[testenv]
extras = test
Expand Down Expand Up @@ -28,7 +28,7 @@ commands = coverage erase
depends =

[testenv:coverage]
depends = test-py310-psutil{59,latest}-dateutil{28,latest}, test-py{310,311,312}-psutillatest-dateutillatest, integration-py{310,311,312}
depends = test-py310-psutil{59,latest}-dateutil{28,latest}, test-py{310,311,312,313}-psutillatest-dateutillatest, integration-py{310,311,312,313}
deps =
coverage
skip_install = true
Expand Down Expand Up @@ -60,7 +60,7 @@ commands =
{envbindir}/mypy src tests

[testenv:docs]
basepython = python3.12
basepython = python3.13
depends =
deps = -rrequirements-doc.txt
commands = {envbindir}/sphinx-build -W -b html -d {envtmpdir}/doctrees doc/source {envtmpdir}/html
Expand All @@ -70,3 +70,4 @@ python =
3.10: py310, coverage
3.11: py311, coverage
3.12: py312, coverage
3.13: py313, coverage

0 comments on commit a8ea72d

Please sign in to comment.