From b65e6cb3bed09014ad5df0b4c553bd52f8c981a5 Mon Sep 17 00:00:00 2001 From: Tobias Date: Wed, 7 Aug 2024 16:50:03 +0200 Subject: [PATCH] WIP --- .github/workflows/sortednp.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sortednp.yaml b/.github/workflows/sortednp.yaml index ed5d165..9d9bf74 100644 --- a/.github/workflows/sortednp.yaml +++ b/.github/workflows/sortednp.yaml @@ -48,22 +48,19 @@ jobs: run: | cd sortednp sed -i 's/.*numpy>.*/ install_requires=["numpy>=${NUMPY_VERSION}"],/g' setup.py - rm requirements.txt - cat pyproject.toml + cat setup.py - name: Patch to include Python3.12 in MacOS if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14'}} run: | cd sortednp sed -i '' 's/.*numpy>.*/ install_requires=["numpy>=${NUMPY_VERSION}"],/g' setup.py - rm requirements.txt - name: Patch to include Python3.12 in Windows if: ${{ matrix.os == 'windows-latest'}} run: | cd sortednp - powershell -command "(Get-Content setup.py) -replace '.*numpy>.*', ' install_requires=["numpy>=$env:NUMPY_VERSION"],' | Set-Content setup.py" - rm requirements.txt + powershell -command "(Get-Content setup.py) -replace '.*numpy>.*', ' install_requires=[\"numpy>=$env:NUMPY_VERSION\"],' | Set-Content setup.py" - name: Install cibuildwheel run: python -m pip install cibuildwheel==${CIBW_VERSION}