From 65d1e1debc93c1641e406db9c713894cc56bfc8d Mon Sep 17 00:00:00 2001 From: veit Date: Mon, 17 Nov 2025 14:43:06 +0100 Subject: [PATCH 1/2] :arrow_up: Updates and remove Python 3.9 * Update pre-commit checks * Remove Python 3.9 * Update rtd build to ubuntu-24.03 --- .pre-commit-config.yaml | 6 +++--- .readthedocs.yaml | 4 ++-- pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2e907d7..21217a0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,11 +15,11 @@ repos: types: [file] # override `types: [json]` files: \.(json|ipynb)$ - repo: https://github.com/psf/black - rev: "25.9.0" + rev: "25.11.0" hooks: - id: black - repo: https://github.com/asottile/reorder-python-imports - rev: "v3.15.0" + rev: "v3.16.0" hooks: - id: reorder-python-imports - repo: https://github.com/pycqa/flake8 @@ -28,7 +28,7 @@ repos: - id: flake8 language_version: python3 - repo: https://github.com/sphinx-contrib/sphinx-lint - rev: v1.0.0 + rev: v1.0.1 hooks: - id: sphinx-lint types: [rst] diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 73d04c0..4f07827 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -7,9 +7,9 @@ version: 2 # Set the version of Python and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: - python: "3.12" + python: "3.13" # Build documentation in the docs/ directory with Sphinx sphinx: diff --git a/pyproject.toml b/pyproject.toml index 7dcf70a..bc8a6fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = [ ] description = "Berlin Python User Groups" readme = "README.rst" -requires-python = ">=3.9" +requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: BSD License", From 0d9bc683b05726278857728a278858b3a0488bdc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Dec 2025 19:15:38 +0000 Subject: [PATCH 2/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/sphinx-contrib/sphinx-lint: v1.0.1 → v1.0.2](https://github.com/sphinx-contrib/sphinx-lint/compare/v1.0.1...v1.0.2) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 21217a0..6572161 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: check-json types: [file] # override `types: [json]` files: \.(json|ipynb)$ - - repo: https://github.com/psf/black + - repo: https://github.com/psf/black-pre-commit-mirror rev: "25.11.0" hooks: - id: black @@ -28,7 +28,7 @@ repos: - id: flake8 language_version: python3 - repo: https://github.com/sphinx-contrib/sphinx-lint - rev: v1.0.1 + rev: v1.0.2 hooks: - id: sphinx-lint types: [rst]