Skip to content

Commit 50fcf5b

Browse files
committed
chore: update Python version requirements and dependencies to support Python 3.10+
1 parent 471057c commit 50fcf5b

8 files changed

Lines changed: 61 additions & 172 deletions

File tree

.github/workflows/tests.yml

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

1818
strategy:
1919
matrix:
20-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
20+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
2121

2222
steps:
2323
- 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: 1 addition & 1 deletion
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

.python-version

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

docs/contributing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This page combines our previous Development Guide and contribution guidelines.
66

77
## Local environment
88

9-
- Python 3.9+
9+
- Python 3.10+
1010
- Optional tools for docs: mkdocs, mkdocs-material, mkdocstrings[python]
1111

1212
Install the docs toolchain:
@@ -31,7 +31,7 @@ pytest -q
3131

3232
## Linting and typing
3333

34-
- Use Python 3.9+ and run linters before committing
34+
- Use Python 3.10+ and run linters before committing
3535
- Follow typing and docstring conventions used in the project
3636

3737
## Opening issues and PRs

docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Installation
22

3-
Supported Python versions: 3.9 – 3.13
3+
Supported Python versions: 3.10 – 3.14
44

55
Install from PyPI:
66

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ classifiers = [
3333
"Programming Language :: Python :: 3.11",
3434
"Programming Language :: Python :: 3.12",
3535
"Programming Language :: Python :: 3.13",
36-
"Programming Language :: Python :: 3.9",
36+
"Programming Language :: Python :: 3.14",
3737
"Programming Language :: Python",
3838
"Topic :: Software Development :: Libraries",
3939
"Typing :: Typed",
@@ -48,7 +48,7 @@ keywords = ["cache", "lru", "lru-cache", "time-to-live", "ttl"]
4848
license = {file = "LICENSE"}
4949
name = "cachium"
5050
readme = "README.md"
51-
requires-python = ">=3.9"
51+
requires-python = ">=3.10"
5252

5353
[project.urls]
5454
Changelog = "https://github.com/zoola969/cachium/CHANGELOG.md"
@@ -60,7 +60,6 @@ Repository = "https://github.com/zoola969/cachium.git"
6060
[tool.black]
6161
color = true
6262
line-length = 120
63-
target-version = ['py39']
6463

6564
[tool.coverage.report]
6665
exclude_also = [

uv.lock

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

0 commit comments

Comments
 (0)