Skip to content

Commit

Permalink
chore: drop python 3.7 and 3.8 support (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime1907 authored May 31, 2024
1 parent d0eccea commit 4e7343e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 120
target-version = ['py37']
target-version = ['py39']
exclude = '''
(
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
#
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[options]
python_requires = >= 3.7
python_requires = >= 3.9

[flake8]
max-line-length = 120
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4e7343e

Please sign in to comment.