From a81649f512da1f972889dc4d83e1d9fb72e0b9a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Wed, 26 Jun 2024 15:14:53 +0200 Subject: [PATCH 1/2] ci: test with python 3.12 --- .github/workflows/ci.yml | 2 ++ tox.ini | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4663ca13e..76c44b3b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,8 @@ jobs: machine: ubuntu-22.04 - python-version: "3.11" machine: ubuntu-22.04 + - python-version: "3.12" + machine: ubuntu-22.04 steps: - uses: "actions/checkout@v3" - uses: "actions/setup-python@v4" diff --git a/tox.ini b/tox.ini index 6ba2e1f60..6d84a599e 100644 --- a/tox.ini +++ b/tox.ini @@ -10,6 +10,7 @@ envlist = py39 py310 py311 + py312 [testenv] skip_missing_interpreters = True @@ -26,3 +27,4 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 From 7fc946cc3d7305014414cf0432b93865b16de775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Wed, 26 Jun 2024 15:15:21 +0200 Subject: [PATCH 2/2] ci: update GitHub actions --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76c44b3b7..134dc296f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.11" - - uses: pre-commit/action@v2.0.3 + - uses: pre-commit/action@v3.0.1 tests: name: "Test with python ${{ matrix.python-version }} on ${{ matrix.os }}" runs-on: ${{ matrix.machine }} @@ -32,8 +32,8 @@ jobs: - python-version: "3.12" machine: ubuntu-22.04 steps: - - uses: "actions/checkout@v3" - - uses: "actions/setup-python@v4" + - uses: "actions/checkout@v4" + - uses: "actions/setup-python@v5" with: python-version: "${{ matrix.python-version }}" - name: "Install dependencies"