Skip to content

Commit

Permalink
ci: add support for python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
aryarm authored Nov 6, 2024
1 parent b6dcd0c commit 91f5ec7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down Expand Up @@ -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(".")
Expand Down

0 comments on commit 91f5ec7

Please sign in to comment.