diff --git a/openstackdocstheme/page_context.py b/openstackdocstheme/page_context.py index cedccaf7..9d91bb3c 100644 --- a/openstackdocstheme/page_context.py +++ b/openstackdocstheme/page_context.py @@ -27,7 +27,7 @@ LOG = logging.getLogger(__name__) _timeint = int(os.environ.get('SOURCE_DATE_EPOCH', time.time())) _default_last_updated = datetime.datetime.fromtimestamp( - _timeint, tz=datetime.timezone.utc + _timeint, tz=datetime.UTC ).replace(tzinfo=None) diff --git a/pyproject.toml b/pyproject.toml index 11680f6e..0cbd4778 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ authors = [ readme = {file = "README.rst", content-type = "text/x-rst"} license = {text = "Apache-2.0"} dynamic = ["version", "dependencies"] -requires-python = ">=3.10" +requires-python = ">=3.11" classifiers = [ "Environment :: OpenStack", "Intended Audience :: Information Technology", @@ -20,10 +20,10 @@ classifiers = [ "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Documentation", "Typing :: Typed", ] @@ -43,7 +43,7 @@ script-files = [ ] [tool.mypy] -python_version = "3.10" +python_version = "3.11" show_column_numbers = true show_error_context = true strict = true diff --git a/releasenotes/notes/drop-python-3.10-9251b25112555957.yaml b/releasenotes/notes/drop-python-3.10-9251b25112555957.yaml new file mode 100644 index 00000000..43993ccc --- /dev/null +++ b/releasenotes/notes/drop-python-3.10-9251b25112555957.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + Support for Python 3.10 has been dropped. The minimum version of Python now + supported is 3.11.