From: Joerg Behrmann Date: Thu, 1 Sep 2022 14:40:41 +0000 (+0200) Subject: Bump python version in config files X-Git-Tag: v15~366^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29f91e4d3dff92627b1f582cf575fc169b3acbf0;p=thirdparty%2Fmkosi.git Bump python version in config files --- diff --git a/pyproject.toml b/pyproject.toml index 831ee4ab9..5c4beea08 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [tool.isort] profile = "black" multi_line_output = 3 -py_version = "37" +py_version = "39" [tool.pyright] -pythonVersion = "3.7" +pythonVersion = "3.9" [tool.pytest.ini_options] asyncio_mode = "auto" diff --git a/setup.cfg b/setup.cfg index 7f6c97506..93e00d7ed 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,7 +4,7 @@ max-line-length = 119 multi_line_output = 3 include_trailing_comma = True [mypy] -python_version = 3.7 +python_version = 3.9 # belonging to --strict warn_unused_configs = True disallow_any_generics = True diff --git a/setup.py b/setup.py index 61f632fba..c06ceb71d 100755 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ setup( maintainer="mkosi contributors", maintainer_email="systemd-devel@lists.freedesktop.org", license="LGPLv2+", - python_requires=">=3.7", + python_requires=">=3.9", packages = find_packages(".", exclude=["tests"]), package_data = {"": ["*.sh", "*.hook", "*.conf", "*.install"]}, include_package_data = True,