Skip to content

Commit edb40fe

Browse files
committed
Drop support for Python 3.9 and update dependencies in configuration files
1 parent 4f8e5db commit edb40fe

8 files changed

Lines changed: 611 additions & 546 deletions

File tree

.github/dependabot.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,19 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: uv
8+
- package-ecosystem: "uv"
99
directory: "/"
1010
schedule:
1111
interval: "weekly"
12-
open-pull-requests-limit: 10
12+
groups:
13+
minor-and-patch:
14+
update-types:
15+
- "patch"
16+
- "minor"
17+
major:
18+
update-types:
19+
- "major"
20+
open-pull-requests-limit: 5
1321
assignees:
1422
- "zoola969"
1523
reviewers:

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
17+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1818

1919
steps:
2020
- uses: actions/checkout@v4

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ ipython_config.py
8585
# pyenv
8686
# For a library or package, you might want to ignore these files since the code is
8787
# intended to run in multiple environments; otherwise, check them in:
88-
.python-version
88+
.python-version
8989

9090
# pipenv
9191
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ci:
33
autofix_prs: false
44
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
55
default_language_version:
6-
python: python3.9
6+
python: python3.10
77
repos:
88
- repo: https://github.com/pre-commit/pre-commit-hooks
99
rev: v6.0.0
@@ -20,20 +20,20 @@ repos:
2020
- id: no-commit-to-branch
2121
args: [ --branch, master ]
2222
- repo: https://github.com/pycqa/isort
23-
rev: 6.0.1
23+
rev: 7.0.0
2424
hooks:
2525
- id: isort
2626
- repo: https://github.com/asottile/add-trailing-comma
27-
rev: v3.2.0
27+
rev: v4.0.0
2828
hooks:
2929
- id: add-trailing-comma
3030
- repo: https://github.com/astral-sh/ruff-pre-commit
31-
rev: 'v0.13.1'
31+
rev: 'v0.14.8'
3232
hooks:
3333
- id: ruff
3434
args: [ --fix, --exit-non-zero-on-fix ]
3535
- repo: https://github.com/psf/black
36-
rev: 25.9.0
36+
rev: 25.12.0
3737
hooks:
3838
- id: black
3939
- repo: https://github.com/pappasam/toml-sort

.python-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 1.2
4+
- Drop python 3.9 support
5+
36
## 1.1
47

58
- Drop python 3.8 support

pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ docs = [
1212
]
1313
test = [
1414
"coverage~=7.3",
15-
"mypy~=1.17",
16-
"pytest~=8.1",
15+
"mypy~=1.19",
16+
"pytest~=9.0",
1717
]
1818

1919
[project]
@@ -30,7 +30,7 @@ classifiers = [
3030
"Programming Language :: Python :: 3.11",
3131
"Programming Language :: Python :: 3.12",
3232
"Programming Language :: Python :: 3.13",
33-
"Programming Language :: Python :: 3.9",
33+
"Programming Language :: Python :: 3.14",
3434
"Programming Language :: Python",
3535
"Topic :: Software Development :: Libraries",
3636
"Typing :: Typed",
@@ -42,7 +42,7 @@ keywords = ["cache", "dict", "expire", "expired", "lru", "lru-cache", "mapping",
4242
license = {file = "LICENSE"}
4343
name = "ttlru-map"
4444
readme = "README.md"
45-
requires-python = ">=3.9"
45+
requires-python = ">=3.10"
4646

4747
[project.urls]
4848
Changelog = "https://github.com/zoola969/python_ttlru_map/CHANGELOG.md"
@@ -54,7 +54,6 @@ Repository = "https://github.com/zoola969/python_ttlru_map.git"
5454
[tool.black]
5555
color = true
5656
line-length = 120
57-
target-version = ['py39']
5857

5958
[tool.hatch.version]
6059
source = "uv-dynamic-versioning"
@@ -69,7 +68,7 @@ use_parentheses = true
6968
[tool.mypy]
7069
strict = true
7170

72-
[tool.pytest.ini_options]
71+
[tool.pytest]
7372
addopts = [
7473
"--code-highlight=yes",
7574
"--color=yes",

uv.lock

Lines changed: 586 additions & 530 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)