66
77# standard library
88from pathlib import Path
9- from typing import List , Union
109
1110# 3rd party
1211from setuptools import find_packages , setup
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" ,
0 commit comments