Skip to content

Commit a8138f9

Browse files
committed
chore(packaging): remove support of Python 3.8 and 3.9
1 parent d6eae35 commit a8138f9

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
python-version:
25-
- "3.8"
26-
- "3.9"
2725
- "3.10"
2826
- "3.11"
2927
- "3.12"

setup.py

Lines changed: 2 additions & 5 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 List, 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.8, <4",
81+
python_requires=">=3.10, <4",
8382
extras_require={
8483
# tooling
8584
"dev": load_requirements(HERE / "requirements/development.txt"),
@@ -93,8 +92,6 @@ 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.8",
97-
"Programming Language :: Python :: 3.9",
9895
"Programming Language :: Python :: 3.10",
9996
"Programming Language :: Python :: 3.11",
10097
"Programming Language :: Python :: 3.12",

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sonar.projectKey=Guts_mkdocs-rss-plugin
66
# only=main
77

88
# Python versions
9-
sonar.python.version=3.8, 3.9, 3.10, 3.11, 3.12
9+
sonar.python.version=3.10, 3.11, 3.12
1010

1111
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
1212
sonar.sources=mkdocs_rss_plugin

0 commit comments

Comments
 (0)