From 940864d1be34f003f75cece17a1a40864f3dfcab Mon Sep 17 00:00:00 2001 From: Samuel Kogler Date: Sat, 3 Aug 2024 13:43:13 +0200 Subject: [PATCH] Require Python >= 3.9 Since numpy does also require it now, and 3.8 EOL is already in October, this seems acceptable to me. --- .github/workflows/build.yml | 3 +-- pyproject.toml | 6 ------ setup.py | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5e32a7..1b80416 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,8 +8,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest] - # os: [ubuntu-latest, windows-latest, macos-13, macos-14] + os: [ubuntu-latest, windows-latest, macos-13, macos-14] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 9de9261..c0aff61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,12 +7,6 @@ requires = [ build-backend = "setuptools.build_meta" [tool.cibuildwheel] -# Cannot run tests on arm64 macosx python 3.8 -# See https://github.com/pypa/cibuildwheel/pull/1169 -test-skip=[ - "cp38-macosx_*:arm64", - "cp*", -] test-requires=[ "pytest" ] diff --git a/setup.py b/setup.py index b80b06d..8cc9d41 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ def get_readme_contents(): long_description_content_type='text/markdown', license='ISC', ext_modules=ext_modules, - python_requires='>=3.8', + python_requires='>=3.9', install_requires=['numpy'], extras_require={'test': 'pytest'}, cmdclass=dict(build_ext=build_ext),