Skip to content

Commit 0d34706

Browse files
committed
Maintenance: Add support for Python 3.11
1 parent 0f34067 commit 0d34706

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

.github/workflows/main.yaml

+24-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,20 @@ concurrency:
1313
jobs:
1414
lint:
1515
runs-on: ubuntu-latest
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
python-version: [
20+
"3.10",
21+
"3.11",
22+
]
1623
steps:
1724
- name: Checkout
1825
uses: actions/checkout@v4
1926
- name: Set up Python
2027
uses: actions/setup-python@v5
2128
with:
22-
python-version: "3.10"
29+
python-version: ${{ matrix.python-version }}
2330
- name: Install dependencies
2431
run: |
2532
python -m pip install --upgrade pip pre-commit
@@ -41,12 +48,19 @@ jobs:
4148
4249
docs:
4350
runs-on: ubuntu-latest
51+
strategy:
52+
fail-fast: false
53+
matrix:
54+
python-version: [
55+
"3.10",
56+
"3.11",
57+
]
4458
steps:
4559
- name: Checkout
4660
uses: actions/checkout@v4
4761
- uses: actions/setup-python@v5
4862
with:
49-
python-version: "3.10"
63+
python-version: ${{ matrix.python-version }}
5064
- name: Install dependencies
5165
run: |
5266
python -m pip install ".[docs]"
@@ -59,13 +73,20 @@ jobs:
5973

6074
test:
6175
runs-on: ubuntu-latest
76+
strategy:
77+
fail-fast: false
78+
matrix:
79+
python-version: [
80+
"3.10",
81+
"3.11",
82+
]
6283
steps:
6384
- name: Checkout
6485
uses: actions/checkout@v4
6586
- name: Set up Python
6687
uses: actions/setup-python@v5
6788
with:
68-
python-version: "3.10"
89+
python-version: ${{ matrix.python-version }}
6990
- name: Install dependencies
7091
run: |
7192
python -m pip install --upgrade -e ".[testing]"

setup.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def read(path: str) -> str:
5151
install_requires=[
5252
"aiopg==1.4.0",
5353
"bitmath==1.3.3.1",
54-
"kopf==1.35.6",
54+
"kopf==1.36.2",
5555
"kubernetes-asyncio==31.1.0",
5656
"PyYAML<7.0",
5757
"prometheus_client==0.21.1",
@@ -85,7 +85,10 @@ def read(path: str) -> str:
8585
"Development Status :: 5 - Production/Stable",
8686
"License :: OSI Approved :: Apache Software License",
8787
"Programming Language :: Python :: 3",
88+
"Programming Language :: Python :: 3.8",
89+
"Programming Language :: Python :: 3.9",
8890
"Programming Language :: Python :: 3.10",
91+
"Programming Language :: Python :: 3.11",
8992
],
9093
use_scm_version=True,
9194
)

0 commit comments

Comments
 (0)