From 1d84b89e5663df90a05a3d80567d2dde7d0dd0f7 Mon Sep 17 00:00:00 2001 From: Deuchnord Date: Sat, 11 Nov 2023 12:10:40 +0100 Subject: [PATCH] fix: compatibility with Python 3.12 (#68) * ci(tests): test with Python 3.12 * fix: compatibility with NumPy 1.26 --- .github/workflows/tests.yml | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2aa94c6..df6e8f9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,6 +22,7 @@ jobs: - '3.9' - '3.10' - '3.11' + - '3.12' name: Python ${{ matrix.python_version }} (${{ matrix.os }}) steps: diff --git a/pyproject.toml b/pyproject.toml index aa1c102..ba9fbf2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ python = "^3.8" skyfield = "^1.21" numpy = [ { version = "<1.25", python = "3.8.*" }, - { version = "^1.25", python = "^3.9" }, + { version = "^1.25", python = ">=3.9,<3.13" }, ] skyfield-data = ">=3,<6" python-dateutil = "^2.8"