Make Python 3.13 the new default

This commit is contained in:
Alexander Hess 2024-10-16 01:32:14 +02:00
parent f952d95951
commit 25c718fe6a
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
11 changed files with 12 additions and 9 deletions

View file

@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: 3.13
architecture: x64
- run: python --version

View file

@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: 3.13
architecture: x64
- run: python --version

View file

@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: 3.13
architecture: x64
- run: python --version

View file

@ -16,6 +16,7 @@ jobs:
3.10
3.11
3.12
3.13
architecture: x64
- run: python --version

View file

@ -14,6 +14,7 @@ jobs:
3.10
3.11
3.12
3.13
architecture: x64
- run: python --version

View file

@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: 3.13
architecture: x64
- run: python --version

View file

@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
name: test-${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4

View file

@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-24.04
tools:
python: "3.12"
python: "3.13"
sphinx:
configuration: docs/conf.py

View file

@ -89,7 +89,7 @@ To execute all default tasks, simply invoke:
`nox`
This includes running the test suite for the project's main Python version
(i.e., [3.12](https://devguide.python.org/versions/)).
(i.e., [3.13](https://devguide.python.org/versions/)).
#### Code Formatting & Linting

View file

@ -57,7 +57,7 @@ def load_supported_python_versions(*, reverse: bool = False) -> list[str]:
SUPPORTED_PYTHONS = load_supported_python_versions(reverse=True)
MAIN_PYTHON = "3.12"
MAIN_PYTHON = "3.13"
DOCS_SRC, DOCS_BUILD = ("docs/", ".cache/docs/")
TESTS_LOCATION = "tests/"
@ -460,7 +460,7 @@ def start(session: nox.Session) -> None:
session.env["PIP_CACHE_DIR"] = ".cache/pip"
session.env["PIP_DISABLE_PIP_VERSION_CHECK"] = "true"
if session.python in ("3.12", "3.11"):
if session.python in ("3.13", "3.12", "3.11"):
session.env["PRAGMA_SUPPORT_39_N_310"] = "to support Python 3.9 & 3.10"
else:
session.env["PRAGMA_SUPPORT_39_N_310"] = f"{_magic_number =}"

View file

@ -16,6 +16,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
description = "A Python library to study linear algebra"
license = "MIT"