From afb76acdc1eae93223d04b0a0e02251bcfd9ea70 Mon Sep 17 00:00:00 2001 From: Lucas Heitzmann Gabrielli Date: Tue, 18 Jun 2024 12:57:01 -0300 Subject: [PATCH] Drop support for Python 3.8 (due to numpy 2.0) Signed-off-by: Lucas Heitzmann Gabrielli --- .github/workflows/publish-docs.yml | 2 +- .github/workflows/publish-packages.yml | 10 +++++----- .github/workflows/run-tests.yml | 4 ++-- pyproject.toml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index a7b9a61cb..00221ad0b 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: 3.12 architecture: x64 cache: 'pip' - name: Install dependencies diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index 000296121..f04f59c8f 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -15,7 +15,7 @@ jobs: - uses: pypa/cibuildwheel@v2.17.0 env: CIBW_BUILD: "*-manylinux_x86_64 *-manylinux_i686 *-manylinux_aarch64" - CIBW_SKIP: "cp36-* cp37-* pp*" + CIBW_SKIP: "cp36-* cp37-* cp38-* pp*" CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014" CIBW_MANYLINUX_I686_IMAGE: "manylinux2014" CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux2014" @@ -38,7 +38,7 @@ jobs: - uses: pypa/cibuildwheel@v2.17.0 env: CIBW_BUILD: "*-manylinux_x86_64 *-manylinux_aarch64" - CIBW_SKIP: "cp36-* cp37-* pp*" + CIBW_SKIP: "cp36-* cp37-* cp38-* pp*" CIBW_MANYLINUX_X86_64_IMAGE: "manylinux_2_28" CIBW_MANYLINUX_I686_IMAGE: "manylinux_2_28" CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux_2_28" @@ -63,7 +63,7 @@ jobs: - uses: pypa/cibuildwheel@v2.17.0 env: CIBW_BUILD: "*-musllinux_x86_64 *-musllinux_i686 *-musllinux_aarch64" - CIBW_SKIP: "cp36-* cp37-* pp*" + CIBW_SKIP: "cp36-* cp37-* cp38-* pp*" CIBW_BEFORE_ALL_LINUX: > apk update && apk add wget && @@ -83,7 +83,7 @@ jobs: - uses: actions/checkout@v4 - uses: pypa/cibuildwheel@v2.17.0 env: - CIBW_SKIP: "cp36-* cp37-* pp*" + CIBW_SKIP: "cp36-* cp37-* cp38-* pp*" CIBW_ARCHS_MACOS: "x86_64 universal2" CIBW_BEFORE_ALL_MACOS: > wget https://github.com/qhull/qhull/archive/refs/tags/v8.0.2.tar.gz && @@ -99,7 +99,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12"] name: Build wheels for Windows (${{ matrix.python-version }}) runs-on: windows-latest steps: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4986e006f..9b31af6b8 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,7 +8,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - python-version: ['3.8', '3.12'] + python-version: ['3.9', '3.12'] name: Test for ${{ matrix.python-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} steps: @@ -50,7 +50,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.12'] + python-version: ['3.9', '3.12'] defaults: run: shell: pwsh diff --git a/pyproject.toml b/pyproject.toml index f16a1f64a..8eb84e331 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ dependencies = [ "oldest-supported-numpy; platform_system!='Darwin'", "typing_extensions; python_version < '3.11'" ] -requires-python = ">=3.8" +requires-python = ">=3.9" [project.optional-dependencies] docs = ["sphinx", "sphinx_rtd_theme", "sphinx-inline-tabs", "matplotlib"]