Skip to content

Commit 1ec1e3e

Browse files
authored
Update supported Python versions (#375)
Heya 👋🏼 I noticed that the supported Python version in the README.md doesn't match the reality in test config, so I updated the supported list to currently maintained Python versions. See the list here: https://endoflife.date/python I also noticed that the general tooling is also a bit outdated; the various setup.py, setup.cfg, MANIFEST.in, requirements.txt etc which can all be replaced with a pyproject.toml + something like uv/poetry. If there is general appetite from the maintainers, happy to send some follow up PRs to make this a bit better.
1 parent 96f115e commit 1ec1e3e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
11+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1212

1313
steps:
1414
- uses: actions/checkout@v5
@@ -41,13 +41,13 @@ jobs:
4141
scripts/kube-init.sh py.test -vvv -s kubernetes_asyncio/e2e_test
4242
4343
- name: Lint with flake8 and isort (only on the latest version of Python)
44-
if: matrix.python-version == 3.11
44+
if: matrix.python-version == '3.13'
4545
run: |
4646
flake8
4747
isort -c --diff .
4848
4949
- name: Send coverage report
5050
uses: codecov/codecov-action@v5
51-
if: matrix.python-version == 3.11
51+
if: matrix.python-version == '3.13'
5252
with:
5353
token: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ From [PyPi](https://pypi.python.org/pypi/kubernetes_asyncio/) directly:
2222
pip install kubernetes_asyncio
2323
```
2424

25-
It requires Python 3.6+
25+
It requires Python 3.8+
2626

2727
## Example
2828

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"OpenAPI",
4747
"Kubernetes"],
4848
install_requires=REQUIRES,
49+
python_requires=">=3.8",
4950
tests_require=TESTS_REQUIRES,
5051
packages=[
5152
'kubernetes_asyncio',
@@ -73,12 +74,11 @@
7374
"Operating System :: OS Independent",
7475
"Programming Language :: Python",
7576
"Programming Language :: Python :: 3",
76-
"Programming Language :: Python :: 3.6",
77-
"Programming Language :: Python :: 3.7",
7877
"Programming Language :: Python :: 3.8",
7978
"Programming Language :: Python :: 3.9",
8079
"Programming Language :: Python :: 3.10",
8180
"Programming Language :: Python :: 3.11",
8281
"Programming Language :: Python :: 3.12",
82+
"Programming Language :: Python :: 3.13",
8383
],
8484
)

0 commit comments

Comments
 (0)