Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.13 and remove support for Python 3.9 #26

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.12", "3.11", "3.10", "3.9"]
python-version: ["3.13", "3.12", "3.11", "3.10"]
os: [ubuntu-latest, macOS-latest, windows-latest]
fail-fast: false

Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.13"]
steps:
- uses: actions/checkout@v4
with:
Expand Down
639 changes: 299 additions & 340 deletions pdm_linux.lock

Large diffs are not rendered by default.

669 changes: 316 additions & 353 deletions pdm_macos.lock

Large diffs are not rendered by default.

639 changes: 298 additions & 341 deletions pdm_windows.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ dependencies = [
"karney>=1.0",
]

requires-python = ">=3.9, !=3.13.*"
requires-python = ">=3.10, !=3.14.*"
readme = "README.rst"
license = {text = "Simplified BSD"}
license_file = "LICENSE.txt"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Environment :: Console",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
Expand Down
2 changes: 1 addition & 1 deletion src/nvector/tests/test_nvector.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def test_n_EA_E_and_n_EB_E2azimuth():
n2_E = np.array([[0], [1], [0]])
n3_E = np.array([[0, 0], [0, 0], [1, 1]])
n4_E = np.array([[0, 0], [1, 1], [0, 0]])
for n1, n2 in zip((n1_E, n3_E, n3_E), (n2_E, n2_E, n4_E)):
for n1, n2 in zip((n1_E, n3_E, n3_E), (n2_E, n2_E, n4_E), strict=False):
azimuth = n_EA_E_and_n_EB_E2azimuth(n1, n2)
assert_allclose(azimuth, np.pi / 2)
azimuth = n_EA_E_and_n_EB_E2azimuth(n2, n1)
Expand Down
Loading