From 142edd5e1e6541a95073bfe448fe86a9fabde297 Mon Sep 17 00:00:00 2001 From: Oliver Papst Date: Fri, 25 Oct 2024 17:28:40 -0400 Subject: [PATCH] Add python 3.12 and root 6.32, remove python 3.8 --- .github/workflows/check-code-formatting.yml | 2 +- .github/workflows/compile-without-helpers.yml | 4 ++-- .github/workflows/release-python-package.yml | 2 +- .github/workflows/run-tests.yml | 13 ++++++++++--- README.md | 2 +- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check-code-formatting.yml b/.github/workflows/check-code-formatting.yml index e8df33ab..675cd933 100644 --- a/.github/workflows/check-code-formatting.yml +++ b/.github/workflows/check-code-formatting.yml @@ -6,7 +6,7 @@ jobs: cpp-formatting: runs-on: ubuntu-latest env: - CLANG_FORMAT: clang-format-15 + CLANG_FORMAT: clang-format-19 steps: - uses: actions/checkout@v2 - name: Install clang-format diff --git a/.github/workflows/compile-without-helpers.yml b/.github/workflows/compile-without-helpers.yml index 52a7cab1..1c52734b 100644 --- a/.github/workflows/compile-without-helpers.yml +++ b/.github/workflows/compile-without-helpers.yml @@ -16,11 +16,11 @@ jobs: miniconda-version: "latest" mamba-version: "*" channels: conda-forge - python-version: '3.10' + python-version: '3.12' - name: Install dependencies shell: bash -l {0} - run: mamba install root='6.26.2' + run: mamba install root='6.32.2' - name: Build shell: bash -l {0} diff --git a/.github/workflows/release-python-package.yml b/.github/workflows/release-python-package.yml index ebad9dcb..1866ba7d 100644 --- a/.github/workflows/release-python-package.yml +++ b/.github/workflows/release-python-package.yml @@ -14,7 +14,7 @@ jobs: - name: Setup python uses: actions/setup-python@v2 with: - python-version: '3.10' + python-version: '3.12' - name: Build run: | pip install wheel diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index a89106fb..a13f8142 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -7,8 +7,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11'] - root-version: ['6.26.10', '6.28.10', '6.30.2'] + python-version: ['3.9', '3.10', '3.11', '3.12'] + root-version: ['6.26.10', '6.28.12', '6.30.4', '6.32.2'] + exclude: + - python-version: '3.12' + root-version: '6.26.10' + - python-version: '3.12' + root-version: '6.28.12' + - python-version: '3.12' + root-version: '6.30.4' fail-fast: false steps: @@ -33,4 +40,4 @@ jobs: - name: Post Coverage uses: codecov/codecov-action@v1 - if: matrix.python-version == '3.11' && matrix.root-version == '6.30.2' + if: matrix.python-version == '3.12' && matrix.root-version == '6.32.2' diff --git a/README.md b/README.md index 3962b733..9b6f2cb4 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ for all user (requires superuser privileges). To build and run HDTV, the following dependencies are required: * Python - - Tested with 3.8, 3.9, 3.10, and 3.11 + - Tested with 3.9, 3.10, 3.11, and 3.12 - Python-dependencies are installed automatically when using pip/pipx - Packages: numpy scipy matplotlib prompt_toolkit>=3.0.14 uncertainties (when manually installed) - Packages for development & testing: docutils pytest pytest-cov