From f020179c2684f4394a09791ce2d7e171c7bb010d Mon Sep 17 00:00:00 2001 From: Martin Durant Date: Tue, 21 May 2024 09:56:10 -0400 Subject: [PATCH] update for np2 release --- .github/workflows/wheel.yml | 18 +++++++++--------- setup.py | 5 +++-- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/wheel.yml b/.github/workflows/wheel.yml index e3cbcb21..e1c57cd0 100644 --- a/.github/workflows/wheel.yml +++ b/.github/workflows/wheel.yml @@ -52,7 +52,7 @@ jobs: python -m pip install delvewheel cython - name: Build wheels - uses: joerick/cibuildwheel@v2.16.5 + uses: joerick/cibuildwheel@v2.18.1 - uses: actions/upload-artifact@v3 with: @@ -76,7 +76,7 @@ jobs: name: ${{ matrix.os }} ${{ matrix.architecture }} ${{ matrix.linux_archs }} env: CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}" - CIBW_BEFORE_ALL: "pip install numpy cython" + CIBW_BEFORE_ALL: "pip install numpy==2.0.0rc1 cython" CIBW_SKIP: ${{ matrix.skip }} CIBW_ARCHS_LINUX: ${{ matrix.linux_archs }} CIBW_TEST_SKIP: "*" @@ -107,7 +107,7 @@ jobs: python -m pip install delvewheel cython - name: Build wheels - uses: joerick/cibuildwheel@v2.16.5 + uses: joerick/cibuildwheel@v2.18.1 - uses: actions/upload-artifact@v3 with: @@ -131,7 +131,7 @@ jobs: name: ${{ matrix.os }} ${{ matrix.architecture}} env: CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}" - CIBW_BEFORE_ALL: "pip install numpy cython" + CIBW_BEFORE_ALL: "pip install numpy==2.0.0rc1 cython" CIBW_SKIP: ${{ matrix.skip }} CIBW_ARCHS_LINUX: ${{ matrix.linux_archs }} CIBW_TEST_SKIP: "*" @@ -162,7 +162,7 @@ jobs: python -m pip install delvewheel cython - name: Build wheels - uses: joerick/cibuildwheel@v2.16.5 + uses: joerick/cibuildwheel@v2.18.1 - uses: actions/upload-artifact@v3 with: @@ -185,7 +185,7 @@ jobs: name: ${{ matrix.os }} ${{ matrix.architecture}} env: CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}" - CIBW_BEFORE_ALL: "pip install numpy cython" + CIBW_BEFORE_ALL: "pip install numpy==2.0.0rc1 cython" CIBW_SKIP: ${{ matrix.skip }} CIBW_ARCHS_LINUX: ${{ matrix.linux_archs }} CIBW_TEST_SKIP: "*" @@ -217,7 +217,7 @@ jobs: python -m pip install delvewheel cython - name: Build wheels - uses: joerick/cibuildwheel@v2.16.5 + uses: joerick/cibuildwheel@v2.18.1 - uses: actions/upload-artifact@v3 with: @@ -235,7 +235,7 @@ jobs: name: ${{ matrix.os }} ${{ matrix.architecture}} env: - CIBW_BEFORE_ALL: "pip install numpy cython" + CIBW_BEFORE_ALL: "pip install numpy==2.0.0rc1 cython" CIBW_SKIP: ${{ matrix.skip }} CIBW_ARCHS_MACOS: ${{ matrix.architecture }} CIBW_TEST_SKIP: "*" @@ -251,7 +251,7 @@ jobs: python-version: "3.12" - name: Build wheels - uses: joerick/cibuildwheel@v2.16.5 + uses: joerick/cibuildwheel@v2.18.1 - uses: actions/upload-artifact@v3 with: diff --git a/setup.py b/setup.py index b07c16f1..3fb7749c 100644 --- a/setup.py +++ b/setup.py @@ -65,9 +65,10 @@ def fix_exts(sources): 'License :: OSI Approved :: Apache Software License', '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', + 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: Implementation :: CPython', ], packages=['fastparquet'], @@ -83,6 +84,6 @@ def fix_exts(sources): else ''), include_package_data=True, exclude_package_data={'fastparquet': ['test/*']}, - python_requires=">=3.8", + python_requires=">=3.9", **extra )