Skip to content

Commit

Permalink
Maintenance: Add support for Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Feb 11, 2025
1 parent 0f34067 commit 0d34706
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,20 @@ concurrency:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [
"3.10",
"3.11",
]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip pre-commit
Expand All @@ -41,12 +48,19 @@ jobs:
docs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [
"3.10",
"3.11",
]
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install ".[docs]"
Expand All @@ -59,13 +73,20 @@ jobs:

test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [
"3.10",
"3.11",
]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade -e ".[testing]"
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def read(path: str) -> str:
install_requires=[
"aiopg==1.4.0",
"bitmath==1.3.3.1",
"kopf==1.35.6",
"kopf==1.36.2",
"kubernetes-asyncio==31.1.0",
"PyYAML<7.0",
"prometheus_client==0.21.1",
Expand Down Expand Up @@ -85,7 +85,10 @@ def read(path: str) -> str:
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
use_scm_version=True,
)

0 comments on commit 0d34706

Please sign in to comment.