From e63360255dd755aaf70b3077ae7b87806e328123 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 7 Oct 2024 16:54:14 -0400 Subject: [PATCH 1/2] ci: add 3.13 tests and classifier Signed-off-by: Henry Schreiner --- .github/workflows/ci.yml | 7 ++++--- pyproject.toml | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bad06859..f6b8bb5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,12 +17,12 @@ jobs: strategy: matrix: runs-on: [ ubuntu-latest ] - python-version: [ "3.8", "3.10", "3.11", "3.12" ] + python-version: [ "3.8", "3.10", "3.11", "3.12" "3.13"] include: # testing the last "reasonable supported" version - runs-on: macOS-13 python-version: "3.9" - runs-on: macOS-14 - python-version: "3.10" # min version available for Apple silicon + python-version: "3.8" # min version available for Apple silicon - runs-on: windows-latest python-version: "3.9" @@ -33,6 +33,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install core fonts if: runner.os == 'Linux' @@ -42,7 +43,7 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip setuptools wheel pytest-github-actions-annotate-failures + python -m pip install --upgrade pip pytest-github-actions-annotate-failures python -m pip install -q --no-cache-dir -e .[all] python -m pip list diff --git a/pyproject.toml b/pyproject.toml index 654d4a29..6620f0e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering :: Physics", ] dependencies = [ From 2e40ad993b4b20573733d397ec91bd3e3adaba3e Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 7 Oct 2024 16:58:28 -0400 Subject: [PATCH 2/2] Update ci.yml --- .github/workflows/ci.yml | 2 +- pyproject.toml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6b8bb5b..ccae4e5f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: runs-on: [ ubuntu-latest ] - python-version: [ "3.8", "3.10", "3.11", "3.12" "3.13"] + python-version: [ "3.8", "3.10", "3.11", "3.12", "3.13"] include: # testing the last "reasonable supported" version - runs-on: macOS-13 python-version: "3.9" diff --git a/pyproject.toml b/pyproject.toml index 6620f0e2..8b838232 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,8 +46,6 @@ dev = [ test = [ "boost_histogram", "hist", - "nteract-scrapbook~=0.3", - "papermill~=1.0", "pytest-mock", "pytest-mpl", "pytest>=6.0",