diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6e728e7..f863366f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: fail-fast: false matrix: os: [macos-latest, ubuntu-latest, windows-latest] - python-version: ["3.11", "3.12", "3.13", "3.14"] + python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"] env: MPLBACKEND: Agg # non-interactive backend for matplotlib diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8f3f413..dd64da99 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/codespell-project/codespell - rev: v2.4.2 + rev: v2.4.3 hooks: - id: codespell additional_dependencies: @@ -30,7 +30,7 @@ repos: exclude: (\.(svg|png|pdf)$)|(CODE_OF_CONDUCT.md) - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.20 + rev: v0.16.10 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] @@ -49,7 +49,7 @@ repos: files: tests/.* - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.25.1 + rev: v2.30.0 hooks: - id: pyproject-fmt args: [--keep-full-version, --no-print-diff] diff --git a/docs/release-notes.rst b/docs/release-notes.rst index f292f615..ace73014 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -7,6 +7,7 @@ Unreleased Dependency Updates ^^^^^^^^^^^^^^^^^^ * Drop support for Python 3.10 +* Add support for Python 3.15 * Raise ``numpy`` lower bound to 1.23.2 0.4.0 (September 27, 2026) diff --git a/pyproject.toml b/pyproject.toml index 2cc7d10d..fb056749 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,10 +26,12 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Visualization", ] -dependencies = [ # uv pip compile pyproject.toml --resolution=lowest-direct --group dev +dependencies = [ + # uv pip compile pyproject.toml --resolution=lowest-direct --group dev "matplotlib>=3.10.0", "numpy>=1.23.2", "pandas>=2.1.0", @@ -152,12 +154,14 @@ checks = [ "SA01", # or a see also section "SS06", # and don't require the summary to fit on one line ] -exclude = [ # don't report on checks for these +exclude = [ + # don't report on checks for these "\\.__init__$", "\\.__iter__$", "\\.__repr__$", "\\.__str__$", ] -override_SS05 = [ # allow docstrings to start with these words +override_SS05 = [ + # allow docstrings to start with these words "^Unambiguous ", ]