From fa5b230d67db15963456336ce0bb19b23e240328 Mon Sep 17 00:00:00 2001 From: Philipenko Vladimir Date: Fri, 2 Aug 2024 16:43:23 +0300 Subject: [PATCH] macos-12 & :nail_care: --- .github/workflows/release.yml | 4 ++-- imops/src/_measure.pyx | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79e800ee..acd64184 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: needs: [ check_version ] strategy: matrix: - os: [ ubuntu-22.04, windows-2019, macOS-14 ] + os: [ ubuntu-22.04, windows-2019, macOS-12 ] name: Build wheels on ${{ matrix.os }} runs-on: ${{ matrix.os }} @@ -48,7 +48,7 @@ jobs: - name: Install cibuildwheel run: python -m pip install cibuildwheel==2.17.0 - name: Install gcc for mac - if: matrix.os == 'macOS-14' + if: matrix.os == 'macOS-12' run: | brew install llvm libomp echo $PATH diff --git a/imops/src/_measure.pyx b/imops/src/_measure.pyx index 8c1057ce..2be35ede 100644 --- a/imops/src/_measure.pyx +++ b/imops/src/_measure.pyx @@ -7,11 +7,12 @@ import numpy as np -cimport numpy as np cimport cython +cimport numpy as np from cython.parallel import prange + ctypedef cython.floating FLOAT ctypedef fused LABEL: