From 2b7b5918fe6addd7985468b94f333d2eae3ad6f9 Mon Sep 17 00:00:00 2001 From: Bilal Retiat Date: Sat, 28 Sep 2024 19:28:59 +0400 Subject: [PATCH] Add Python 3.12 Support and drop Python 3.7 and 3.8 --- .github/workflows/bazel_tests.yml | 2 +- .github/workflows/benchmarks.yml | 2 +- .github/workflows/pythonpublish-linux.yml | 4 ++-- .github/workflows/pythonpublish-macos.yml | 2 +- .github/workflows/pythonpublish-windows.yml | 2 +- .github/workflows/tests.yml | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/bazel_tests.yml b/.github/workflows/bazel_tests.yml index 85860099..e8eed688 100644 --- a/.github/workflows/bazel_tests.yml +++ b/.github/workflows/bazel_tests.yml @@ -12,7 +12,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ['3.9'] + python-version: ['3.12'] os: [macos-latest, ubuntu-latest] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 00a5aac4..7355f31d 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -8,7 +8,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: [3.8] + python-version: [3.12] os: [macos-latest, ubuntu-latest, windows-latest] steps: diff --git a/.github/workflows/pythonpublish-linux.yml b/.github/workflows/pythonpublish-linux.yml index 2bc973ad..9154ff37 100644 --- a/.github/workflows/pythonpublish-linux.yml +++ b/.github/workflows/pythonpublish-linux.yml @@ -9,10 +9,10 @@ jobs: strategy: matrix: python-version: - - cp37-cp37m - - cp38-cp38 - cp39-cp39 - cp310-cp310 + - cp311-cp311 + - cp312-cp312 runs-on: ubuntu-latest container: quay.io/pypa/manylinux2014_x86_64 diff --git a/.github/workflows/pythonpublish-macos.yml b/.github/workflows/pythonpublish-macos.yml index 38226585..d545311d 100644 --- a/.github/workflows/pythonpublish-macos.yml +++ b/.github/workflows/pythonpublish-macos.yml @@ -9,7 +9,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.9', '3.10', '3.11', '3.12'] os: [macos-11, macos-12] steps: diff --git a/.github/workflows/pythonpublish-windows.yml b/.github/workflows/pythonpublish-windows.yml index 4718f97a..14a95d4d 100644 --- a/.github/workflows/pythonpublish-windows.yml +++ b/.github/workflows/pythonpublish-windows.yml @@ -9,7 +9,7 @@ jobs: runs-on: windows-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1e2f35e8..aa4bfa79 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: [3.8] + python-version: [3.12] os: [ubuntu-latest] steps: - uses: actions/checkout@v2 @@ -34,7 +34,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.9', '3.10', '3.11', '3.12'] os: [macos-latest, ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v2 @@ -86,7 +86,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.9', '3.10', '3.11', '3.12'] os: [macos-latest, ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v2