Skip to content

Commit

Permalink
drop py3.8, add py3.13 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 authored Nov 2, 2024
1 parent 607401d commit 65a0838
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion project/.github/workflows/ci.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions project/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand All @@ -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'
Expand All @@ -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/"
Expand Down

0 comments on commit 65a0838

Please sign in to comment.