From b86fea808fbe194d39919cda459f899653f88c52 Mon Sep 17 00:00:00 2001 From: Arya Massarat <23412689+aryarm@users.noreply.github.com> Date: Thu, 7 Nov 2024 07:05:15 -0800 Subject: [PATCH] ci: add support for python 3.13 (#261) --- .github/workflows/tests.yml | 1 + noxfile.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 04aefb35..395f6b35 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,6 +17,7 @@ jobs: - { python: "3.10", os: "ubuntu-latest", session: "tests" } - { python: "3.11", os: "ubuntu-latest", session: "tests" } - { python: "3.12", os: "ubuntu-latest", session: "tests" } + - { python: "3.13", os: "ubuntu-latest", session: "tests" } # - { python: "3.11", os: "windows-latest", session: "tests" } - { python: "3.9", os: "macos-13", session: "tests" } - { python: "3.11", os: "macos-latest", session: "tests" } diff --git a/noxfile.py b/noxfile.py index eb08e350..eec3d2d4 100644 --- a/noxfile.py +++ b/noxfile.py @@ -9,7 +9,7 @@ package = "haptools" -python_versions = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] +python_versions = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] locked_python_version = "3.8" nox.needs_version = ">= 2022.11.21" nox.options.sessions = ( @@ -45,7 +45,7 @@ def install_handle_python_numpy(session): handle incompatibilities with python and numpy versions see https://github.com/cjolowicz/nox-poetry/issues/1116 """ - if session._session.python in ["3.11", "3.12"]: + if session._session.python in ["3.11", "3.12", "3.13"]: session._session.install(".") else: session.install(".")