diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index 687dee3..3aaefc9 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/setup-python@v6 with: - python-version: "3.12" + python-version: "3.14" - name: Install tox run: python -m pip install tox @@ -28,7 +28,7 @@ jobs: - uses: actions/setup-python@v6 with: - python-version: "3.12" + python-version: "3.14" - name: Install tox run: python -m pip install tox @@ -44,7 +44,7 @@ jobs: - uses: actions/setup-python@v6 with: - python-version: "3.12" + python-version: "3.14" - name: Install tox run: python -m pip install tox @@ -58,6 +58,8 @@ jobs: strategy: matrix: python: + - version: "3.14" + toxenv: "py314" - version: "3.13" toxenv: "py313" - version: "3.12" @@ -87,7 +89,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.10" + python-version: "3.14" - name: Install tox run: python -m pip install tox @@ -103,7 +105,7 @@ jobs: - uses: actions/setup-python@v6 with: - python-version: "3.12" + python-version: "3.14" - name: Install build run: python -m pip install build @@ -111,7 +113,7 @@ jobs: - name: Run build run: python -m build --sdist - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: path: dist/*.tar.gz @@ -129,7 +131,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.10" + python-version: "3.14" - name: Install pypa/build run: python -m pip install build @@ -156,7 +158,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.10" + python-version: "3.14" - name: Install pypa/build run: python -m pip install build diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 21af5ed..e38feb2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: additional_dependencies: [pytest, "typer[test]", types-termcolor] - repo: https://github.com/asottile/pyupgrade - rev: v3.20.0 + rev: v3.21.2 hooks: - id: pyupgrade args: [--py310-plus] diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 485feb3..c64b170 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,7 +9,7 @@ formats: build: os: ubuntu-20.04 tools: - python: "3.10" + python: "3.14" python: install: diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 158b885..c97f388 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Added + +- Add support for Python 3.14 + ## [0.1.2] - 2025-08-18 ### Removed diff --git a/docs/conf.py b/docs/conf.py index 8caa2d9..562ceb6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -42,7 +42,10 @@ "myst_parser", "sphinx.ext.intersphinx", "sphinx.ext.autodoc", - "sphinx.ext.autodoc.typehints", +] + +nitpick_ignore_regex = [ + (r"py:obj", r"typing\.Annotated\[.*"), ] # Add any paths that contain templates here, relative to this directory. diff --git a/pyproject.toml b/pyproject.toml index 38d5755..8628586 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", ] @@ -43,7 +44,7 @@ repo-man = "repo_man.cli:main" docs = [ "furo", "myst-parser", - "sphinx", + "sphinx>=9.0.4,<9.1.0", # 9.1.0+ only supports Python 3.12+ "sphinx-autobuild", ] @@ -103,7 +104,7 @@ source = [ ] [tool.tox] -envlist = ["py310", "py311", "py312", "py313"] +envlist = ["py310", "py311", "py312", "py313", "py314"] isolated_build = true [tool.tox.env_run_base]