Skip to content

Commit 823cb9c

Browse files
committed
update(packaging): remove Python 3.9 support (EOL) and add 3.14
1 parent 053d2c6 commit 823cb9c

File tree

6 files changed

+10
-13
lines changed

6 files changed

+10
-13
lines changed

.github/workflows/lint-and-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
python-version:
25-
- "3.9"
2625
- "3.10"
2726
- "3.11"
2827
- "3.12"
2928
- "3.13"
29+
- "3.14"
3030

3131
# Steps represent a sequence of tasks that will be executed as part of the job
3232
steps:

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ repos:
3232
hooks:
3333
- id: pyupgrade
3434
args:
35-
- "--py39-plus"
35+
- "--py310-plus"
3636

3737
- repo: https://github.com/astral-sh/ruff-pre-commit
3838
rev: "v0.13.3"
3939
hooks:
4040
- id: ruff
4141
args:
4242
- --fix-only
43-
- --target-version=py39
43+
- --target-version=py310
4444

4545
- repo: https://github.com/pycqa/isort
4646
rev: 6.1.0
@@ -56,7 +56,7 @@ repos:
5656
hooks:
5757
- id: black
5858
args:
59-
- --target-version=py39
59+
- --target-version=py310
6060

6161
- repo: https://github.com/pycqa/flake8
6262
rev: 7.3.0

docs/configuration.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,7 @@ At the end, into the RSS you will get:
399399
```
400400

401401
!!! note "Timezone dependencies"
402-
The timezones data depends on the Python version used to build:
403-
- for Python >= 3.9, it uses the standard library and ships [tzdata](https://pypi.org/project/tzdata/) only on Windows which do not provide such data
404-
- for Python < 3.9, [pytz](https://pypi.org/project/pytz/) is shipped.
402+
The timezones data relies on the standard library and ships [tzdata](https://pypi.org/project/tzdata/) only on Windows which do not provide such data.
405403

406404
----
407405

requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ cachecontrol[filecache] >=0.14,<1
55
GitPython>=3.1.43,<3.2
66
mkdocs>=1.6.1,<2
77
requests>=2.31,<3
8-
tzdata==2024.* ; python_version >= "3.9" and sys_platform == "win32"
8+
tzdata==2024.* ; sys_platform == "win32"

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
# standard library
88
from pathlib import Path
9-
from typing import Union
109

1110
# 3rd party
1211
from setuptools import find_packages, setup
@@ -26,7 +25,7 @@
2625
# ##################################
2726

2827

29-
def load_requirements(requirements_files: Union[Path, list[Path]]) -> list:
28+
def load_requirements(requirements_files: Path | list[Path]) -> list:
3029
"""Helper to load requirements list from a path or a list of paths.
3130
3231
Args:
@@ -79,7 +78,7 @@ def load_requirements(requirements_files: Union[Path, list[Path]]) -> list:
7978
# run
8079
entry_points={"mkdocs.plugins": ["rss = mkdocs_rss_plugin.plugin:GitRssPlugin"]},
8180
# dependencies
82-
python_requires=">=3.9, <4",
81+
python_requires=">=3.10, <4",
8382
extras_require={
8483
# tooling
8584
"dev": load_requirements(HERE / "requirements/development.txt"),
@@ -93,11 +92,11 @@ def load_requirements(requirements_files: Union[Path, list[Path]]) -> list:
9392
"Intended Audience :: Developers",
9493
"Intended Audience :: Information Technology",
9594
"Programming Language :: Python :: 3",
96-
"Programming Language :: Python :: 3.9",
9795
"Programming Language :: Python :: 3.10",
9896
"Programming Language :: Python :: 3.11",
9997
"Programming Language :: Python :: 3.12",
10098
"Programming Language :: Python :: 3.13",
99+
"Programming Language :: Python :: 3.14",
101100
"Programming Language :: Python :: Implementation :: CPython",
102101
"Development Status :: 5 - Production/Stable",
103102
"License :: OSI Approved :: MIT License",

tests/fixtures/test-build-min-python.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Reference: https://squidfunk.github.io/mkdocs-material/getting-started/#with-docker
2-
FROM python:3.8.19
2+
FROM python:3.10.19
33

44
COPY . .
55

0 commit comments

Comments
 (0)