From 67592e3ab0652ebcf8894ea129c2fb49dec5f91a Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Thu, 21 Sep 2023 06:42:19 -0400 Subject: [PATCH] build(Python): drop 3.7 support python.org 3.7 CPython is End-of-Life. wasmtime has build errors. --- .github/workflows/cxx-python.yml | 2 +- .github/workflows/python-wasm.yml | 4 ++-- packages/core/python/itkwasm/pyproject.toml | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cxx-python.yml b/.github/workflows/cxx-python.yml index c5a04d6a1..68589e522 100644 --- a/.github/workflows/cxx-python.yml +++ b/.github/workflows/cxx-python.yml @@ -4,7 +4,7 @@ on: [push,pull_request] env: itk-git-tag: "v5.4rc01" - itk-wheel-tag: "v5.3.0" + itk-wheel-tag: "v5.4rc01" ITKMeshToPolyData-git-tag: "v0.11rc01" jobs: diff --git a/.github/workflows/python-wasm.yml b/.github/workflows/python-wasm.yml index 477345145..3ab5ed0d4 100644 --- a/.github/workflows/python-wasm.yml +++ b/.github/workflows/python-wasm.yml @@ -15,7 +15,7 @@ jobs: matrix: os: [ubuntu-22.04, windows-2022, macos-12] python-major-version: [3] - python-minor-version: [7, 8, 9, 10, 11] + python-minor-version: [8, 9, 10, 11] steps: - uses: actions/checkout@v3 @@ -82,7 +82,7 @@ jobs: matrix: os: [ubuntu-22.04, windows-2022, macos-12] python-major-version: [3] - python-minor-version: [7, 8, 9, 10, 11] + python-minor-version: [8, 9, 10, 11] steps: - uses: actions/checkout@v3 diff --git a/packages/core/python/itkwasm/pyproject.toml b/packages/core/python/itkwasm/pyproject.toml index 6836fa780..9dd4bd59b 100644 --- a/packages/core/python/itkwasm/pyproject.toml +++ b/packages/core/python/itkwasm/pyproject.toml @@ -15,7 +15,6 @@ classifiers = [ 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', @@ -28,7 +27,7 @@ keywords = [ ] dynamic = ["version"] -requires-python = ">=3.7" +requires-python = ">=3.8" dependencies = [ "numpy", "typing_extensions",