diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fcdc324..ab18edb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: fail-fast: false matrix: platform: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.8", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 diff --git a/project/.github/workflows/ci.yml.jinja b/project/.github/workflows/ci.yml.jinja index 45664df..af282cd 100644 --- a/project/.github/workflows/ci.yml.jinja +++ b/project/.github/workflows/ci.yml.jinja @@ -37,7 +37,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] platform: [ubuntu-latest, macos-latest, windows-latest] steps: diff --git a/project/pyproject.toml.jinja b/project/pyproject.toml.jinja index 5a05ace..a2d294c 100644 --- a/project/pyproject.toml.jinja +++ b/project/pyproject.toml.jinja @@ -25,7 +25,7 @@ version = "0.1.0" {%- endif %} description = "{{ project_short_description }}" readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.9" license = { text = "{{ project_license }}" } authors = [{ name = "{{ author_name }}", email = "{{ author_email }}" }] # https://pypi.org/classifiers/ @@ -41,11 +41,11 @@ classifiers = [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", {%- endif %} "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "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", "Typing :: Typed", ] # add your package dependencies here @@ -91,7 +91,7 @@ repository = "https://github.com/{{github_username}}/{{project_name}}" # https://docs.astral.sh/ruff [tool.ruff] line-length = 88 -target-version = "py38" +target-version = "py39" src = ["src"] # https://docs.astral.sh/ruff/rules diff --git a/project/{% if use_pre_commit %}.pre-commit-config.yaml{% endif %}.jinja b/project/{% if use_pre_commit %}.pre-commit-config.yaml{% endif %}.jinja index b2d7fcc..f0fe29d 100644 --- a/project/{% if use_pre_commit %}.pre-commit-config.yaml{% endif %}.jinja +++ b/project/{% if use_pre_commit %}.pre-commit-config.yaml{% endif %}.jinja @@ -9,7 +9,7 @@ ci: repos: - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.20.2 + rev: v0.22 hooks: - id: validate-pyproject {%- if use_ruff %} @@ -21,7 +21,7 @@ repos: args: [--force-exclude] # omitting --write-changes - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.8 + rev: v0.7.2 hooks: - id: ruff args: [--fix] # may also add '--unsafe-fixes' @@ -30,7 +30,7 @@ repos: {%- if use_mypy %} - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.13.0 hooks: - id: mypy files: "^src/"