From 3423632d25b5bc4b4cf2021a849844f80e70955d Mon Sep 17 00:00:00 2001 From: Ludovic Steinbach Date: Fri, 10 Nov 2023 13:45:19 +0100 Subject: [PATCH 1/2] Support python 3.12 --- .github/workflows/ci_cd.yml | 2 +- pyproject.toml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 68d9c7db..f3ccf85b 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -69,7 +69,7 @@ jobs: - /tmp/keytabs:/tmp/keytabs strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v3 diff --git a/pyproject.toml b/pyproject.toml index c418f6df..f8f31830 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] packages = [ { include = "**/*.py", from = "src" } @@ -87,7 +88,7 @@ linux-kerberos = [ [tool.tox] legacy_tox_ini = """ [tox] -envlist = py38,py39,py310,py311 +envlist = py38,py39,py310,py311,py312 isolated_build = True requires = tox-gh-actions==2.9.1 @@ -98,6 +99,7 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [testenv] whitelist_externals = poetry From 55248635f113e5564bce431b71f92babf880a124 Mon Sep 17 00:00:00 2001 From: Ludovic Steinbach Date: Fri, 10 Nov 2023 14:12:42 +0100 Subject: [PATCH 2/2] Update package index --- .github/workflows/ci_cd.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index f3ccf85b..7350c7bf 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -25,7 +25,9 @@ jobs: python-version: '3.10' - name: Install kerberos headers - run: sudo apt install libkrb5-dev + run: | + sudo apt-get update + sudo apt install libkrb5-dev - name: Install tox run: | @@ -109,7 +111,9 @@ jobs: python-version: '3.10' - name: Install kerberos headers - run: sudo apt install libkrb5-dev + run: | + sudo apt-get update + sudo apt install libkrb5-dev - name: Create wheel run: | @@ -140,7 +144,9 @@ jobs: python-version: '3.10' - name: Install kerberos headers - run: sudo apt install libkrb5-dev + run: | + sudo apt-get update + sudo apt install libkrb5-dev - name: Install library run: |