diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index d73afc03..b11e60e9 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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 @@ -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]" @@ -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]" diff --git a/setup.py b/setup.py index b005c1e7..9342653a 100644 --- a/setup.py +++ b/setup.py @@ -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", @@ -80,12 +80,13 @@ def read(path: str) -> str: "mypy==1.13.0", ], }, - python_requires=">=3.10", + python_requires=">=3.10,<3.12", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ], use_scm_version=True, )