Skip to content

Commit

Permalink
pypy 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ameli committed Dec 21, 2023
1 parent e35c773 commit 9196dc2
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: build-linux

on:
push:
branches:
- main
# push:
# branches:
# - main
release:
types:
- published
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ jobs:

# For python 3.10, 3.11 do not install extras (sparsesuite)
- name: Install package and dependencies
if: (matrix.python-version != '3.9')
if: (!contains(matrix.python-version, 'pypy')) && (matrix.python-version != '3.9')
run: |
python -m pip install --upgrade pip
Expand All @@ -90,7 +89,8 @@ jobs:
USE_CBLAS: 0
USE_CUDA: 0

# For python 3.10, 3.11 do not install extras (sparsesuite)
# For PyPy, export OpenBLAS pkgconfig file, we it tries to build scipy from source
# which needs OpenBLAS
- name: Install package and dependencies
if: (contains(matrix.python-version, 'pypy'))
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: build-windows

on:
push:
branches:
- main
# push:
# branches:
# - main
release:
types:
- published
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-conda.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: deploy-conda

on:
push:
branches:
- main
# push:
# branches:
# - main
release:
types:
- published
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: deploy-docker

on:
push:
branches:
- main
# push:
# branches:
# - main
release:
types:
- published
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: deploy-pypi

on:
push:
branches:
- main
# push:
# branches:
# - main
release:
types:
- published
Expand Down
2 changes: 1 addition & 1 deletion imate/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.23.1"
__version__ = "0.23.2"
6 changes: 6 additions & 0 deletions tools/ci/cirrus_deploy_pypi_linux_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ pypi_build_wheels_linux_aarch64_task:
CIBW_BUILD: "cp311-manylinux_aarch64"
- env:
CIBW_BUILD: "cp312-manylinux_aarch64"
- env:
CIBW_BUILD: "cp38-manylinux_aarch64"
- env:
CIBW_BUILD: "cp39-manylinux_aarch64"
- env:
CIBW_BUILD: "cp310-manylinux_aarch64"
env:
CIBW_ARCHS: "aarch64"
# CIBW_BUILD: "*-manylinux_aarch64"
Expand Down
9 changes: 8 additions & 1 deletion tools/ci/cirrus_deploy_pypi_macosx_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ pypi_build_wheels_macosx_arm64_task:
CIBW_BUILD: "cp311-macosx_arm64"
- env:
CIBW_BUILD: "cp312-macosx_arm64"
- env:
CIBW_BUILD: "cp38-manylinux_aarch64"
- env:
CIBW_BUILD: "cp39-manylinux_aarch64"
- env:
CIBW_BUILD: "cp310-manylinux_aarch64"
env:
PATH: /opt/homebrew/opt/[email protected]/bin:/usr/local/lib:/usr/local/include:$PATH
# Specifying CIBW_ENVIRONMENT_MACOS overrides pyproject.toml, so include
Expand All @@ -61,7 +67,8 @@ pypi_build_wheels_macosx_arm64_task:
# CIBW_BUILD: "*-macosx_arm64"
CIBW_SKIP: "pp37-* cp36-* cp37-* cp38-*"
CIBW_BUILD_VERBOSITY: "3"
CIBW_BEFORE_BUILD: "pip install delocate; brew install libomp"
# CIBW_BEFORE_BUILD: "pip install delocate; brew install libomp"
CIBW_BEFORE_BUILD: "pip install delocate; brew install libomp; brew install openblas"
CIBW_TEST_SKIP: "*_universal2:arm64"

build_script:
Expand Down

0 comments on commit 9196dc2

Please sign in to comment.