From a879be656d27c79b9911afc66004761ebb1b8cd7 Mon Sep 17 00:00:00 2001 From: Oittaa Date: Tue, 24 Sep 2024 15:54:44 +0200 Subject: [PATCH] Drop Python 3.8, add 3.13-dev, Ubuntu 22.04, pylint 3.3.1 --- .github/workflows/main.yml | 10 +++++----- .github/workflows/nightly.yml | 8 ++++---- .github/workflows/publish-to-ghcr.yml | 2 +- .github/workflows/publish-to-test-pypi.yml | 2 +- requirements-dev.txt | 2 +- setup.py | 3 +-- 6 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9c2d7b8e..2e7017cb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ env: jobs: lint: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -24,10 +24,10 @@ jobs: - uses: psf/black@stable build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13-dev'] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -60,7 +60,7 @@ jobs: flags: unittests docker: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: arch: ['linux/amd64', 'linux/arm64'] @@ -118,7 +118,7 @@ jobs: publish: if: ${{ github.event_name == 'push' }} needs: ['lint', 'build', 'docker'] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - name: Docker meta diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index c4f3c4f8..1b6d9843 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -14,7 +14,7 @@ env: jobs: lint: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -23,10 +23,10 @@ jobs: - uses: psf/black@stable build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13-dev'] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -55,7 +55,7 @@ jobs: coverage xml docker: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: arch: ['linux/amd64', 'linux/arm64'] diff --git a/.github/workflows/publish-to-ghcr.yml b/.github/workflows/publish-to-ghcr.yml index 569efc6f..e9f129f1 100644 --- a/.github/workflows/publish-to-ghcr.yml +++ b/.github/workflows/publish-to-ghcr.yml @@ -10,7 +10,7 @@ env: jobs: publish: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - name: Docker meta diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 54cb43b8..9b6e647c 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -7,7 +7,7 @@ jobs: build-n-publish: if: startsWith(github.ref, 'refs/tags') name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - name: Set up Python 3.x diff --git a/requirements-dev.txt b/requirements-dev.txt index 186ec263..36d5270a 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -3,4 +3,4 @@ flake8==7.1.1 gcp-storage-emulator==2024.8.3 moto[s3]==5.0.15 mypy==1.11.2 -pylint==3.2.7 +pylint==3.3.1 diff --git a/setup.py b/setup.py index bfeae062..b017ab41 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,6 @@ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -65,5 +64,5 @@ "docker": ["gunicorn==23.0.0"], "gcp": ["google-cloud-storage==2.18.2"], }, - python_requires=">=3.8", + python_requires=">=3.9", )