diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 4fc69c1..bb896f6 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -18,7 +18,9 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: + - '3.9' + - '3.10' steps: - uses: actions/checkout@v4 @@ -44,7 +46,7 @@ jobs: - name: Check syntax with pyupgrade run: | - find . -type f -regex '.*\.py$' -exec pyupgrade --py37-plus {} \; + find . -type f -regex '.*\.py$' -exec pyupgrade --py39-plus {} \; - name: Create k8s Kind Cluster uses: helm/kind-action@v1.8.0 diff --git a/pyproject.toml b/pyproject.toml index fb89f97..e0f4985 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.black] line-length = 120 -target-version = ['py37'] +target-version = ['py39'] exclude = ''' ( diff --git a/requirements.txt b/requirements.txt index e4312f1..7522c9f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.8 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: # # pip-compile --no-emit-index-url setup.py # @@ -30,7 +30,7 @@ python-dateutil==2.8.2 # via kubernetes pyyaml==6.0 # via kubernetes -requests==2.31.0 +requests==2.32.3 # via # kubernetes # requests-oauthlib diff --git a/setup.cfg b/setup.cfg index 8c27ae9..3779b62 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [options] -python_requires = >= 3.7 +python_requires = >= 3.9 [flake8] max-line-length = 120 @@ -14,7 +14,7 @@ ignore = W503, E203, E231, E501, Q000 jobs = 4 [mypy] -python_version = 3.7 +python_version = 3.9 ignore_missing_imports = True check_untyped_defs = True disallow_untyped_defs = True diff --git a/setup.py b/setup.py index c69757e..6ea5d42 100644 --- a/setup.py +++ b/setup.py @@ -55,7 +55,7 @@ "mypy": extra_require_mypy, "test": extra_require_test, }, - python_requires=">=3.7.0", + python_requires=">=3.9.0", keywords=["kubernetes"], classifiers=[ "Development Status :: 5 - Production/Stable",