Skip to content

Commit 89e7af9

Browse files
committed
build new release with numpy=2.0; bump version v2.0a3
1 parent e5272dd commit 89e7af9

15 files changed

+86
-31
lines changed

.cirrus.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
build_and_store_wheels: &BUILD_AND_STORE_WHEELS
22
install_cibuildwheel_script:
3-
- python -m pip install cibuildwheel==2.17.0
3+
- python -m pip install cibuildwheel==2.19.2
44
run_cibuildwheel_script:
55
- cibuildwheel
66
wheels_artifacts:
@@ -16,17 +16,23 @@ linux_aarch64_task:
1616
cpu: 4
1717
memory: 4G
1818
env:
19-
CIBW_ARCHS_LINUX: aarch64
19+
VENV_ROOT: ${HOME}/venv-cibuildwheel
20+
PATH: ${VENV_ROOT}/bin:${PATH}
2021
install_pre_requirements_script:
21-
- apt install -y python3-venv python-is-python3
22+
- add-apt-repository -y ppa:deadsnakes/ppa
23+
- apt-get update
24+
- apt-get install -y python3.12-venv
25+
- python3.12 -m venv ${VENV_ROOT}
2226
<<: *BUILD_AND_STORE_WHEELS
2327

2428
macos_arm64_task:
2529
name: Build macOS arm64 wheels.
2630
macos_instance:
2731
image: ghcr.io/cirruslabs/macos-sonoma-xcode
2832
env:
29-
PATH: /opt/homebrew/opt/python@3.10/libexec/bin:$PATH
33+
VENV_ROOT: ${HOME}/venv-cibuildwheel
34+
PATH: ${VENV_ROOT}/bin:${PATH}
3035
install_pre_requirements_script:
31-
- brew install python@3.10
36+
- brew install python@3.12
37+
- python3.12 -m venv ${VENV_ROOT}
3238
<<: *BUILD_AND_STORE_WHEELS

.github/workflows/build_wheels.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Build wheels
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '0 12 * * 0'
48

59
jobs:
610
build_wheels_linux_x86_64:
@@ -20,7 +24,7 @@ jobs:
2024
name: dist_linux
2125
path: ./wheelhouse/*.whl
2226

23-
build_wheels_macos_x86_64:
27+
build_wheels_macos12_x86_64:
2428
name: Build x86_64 wheels on macos-12
2529
runs-on: macos-12
2630

@@ -34,7 +38,24 @@ jobs:
3438

3539
- uses: actions/upload-artifact@v4
3640
with:
37-
name: dist_macos
41+
name: dist_macos12_x86_64
42+
path: ./wheelhouse/*.whl
43+
44+
build_wheels_macos14_arm64:
45+
name: Build arm64 wheels on macos-14
46+
runs-on: macos-14
47+
48+
steps:
49+
- uses: actions/checkout@v4
50+
51+
- name: Build wheels
52+
uses: pypa/cibuildwheel@v2.19.2
53+
env:
54+
CIBW_ARCHS_MACOS: arm64
55+
56+
- uses: actions/upload-artifact@v4
57+
with:
58+
name: dist_macos14_arm64
3859
path: ./wheelhouse/*.whl
3960

4061
build_sdist:

.github/workflows/test-linux-build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Testing build on ubuntu-latest
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '0 12 * * 0'
48

59
env:
610
SKBUILD_BUILD_OPTIONS: --verbose
@@ -32,7 +36,7 @@ jobs:
3236
uses: actions/cache/restore@v4
3337
with:
3438
path: CASMcode_global/dist
35-
key: ${{ runner.os }}-libcasm-global-v2-0-4
39+
key: ${{ runner.os }}-libcasm-global-v2-0-5
3640

3741
- name: Install CASM dependencies
3842
run: |

.github/workflows/test-linux-cxx-only.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Testing c++ only on ubuntu-latest
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '0 12 * * 0'
48

59
env:
610
SKBUILD_BUILD_OPTIONS: --verbose
@@ -32,7 +36,7 @@ jobs:
3236
uses: actions/cache/restore@v4
3337
with:
3438
path: CASMcode_global/dist
35-
key: ${{ runner.os }}-libcasm-global-v2-0-4
39+
key: ${{ runner.os }}-libcasm-global-v2-0-5
3640

3741
- name: Install CASM dependencies
3842
run: |

.github/workflows/test-linux-dependencies.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ jobs:
2424
uses: actions/cache/restore@v4
2525
with:
2626
path: CASMcode_global/dist
27-
key: ${{ runner.os }}-libcasm-global-v2-0-4
27+
key: ${{ runner.os }}-libcasm-global-v2-0-5
2828

2929
- name: checkout libcasm-global
3030
if: steps.cache-libcasm-global-restore.outputs.cache-hit != 'true'
3131
uses: actions/checkout@v4
3232
with:
3333
repository: prisms-center/CASMcode_global
3434
path: CASMcode_global
35-
ref: v2.0.4
35+
ref: v2.0.5
3636

3737
- name: make global
3838
if: steps.cache-libcasm-global-restore.outputs.cache-hit != 'true'

.github/workflows/test-linux.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Testing on ubuntu-latest
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '0 12 * * 0'
48

59
env:
610
SKBUILD_BUILD_OPTIONS: --verbose
@@ -32,7 +36,7 @@ jobs:
3236
uses: actions/cache/restore@v4
3337
with:
3438
path: CASMcode_global/dist
35-
key: ${{ runner.os }}-libcasm-global-v2-0-4
39+
key: ${{ runner.os }}-libcasm-global-v2-0-5
3640

3741
- name: Install CASM dependencies
3842
run: |

.github/workflows/test-macos-build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Testing build on macos-latest
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '0 12 * * 0'
48

59
jobs:
610
build:

.github/workflows/test-macos.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Testing on macos-latest
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '0 12 * * 0'
48

59
jobs:
610
build:

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to `libcasm-composition` will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
9+
## [2.0a3] - 2024-07-12
10+
11+
### Changed
12+
13+
- Wheels compiled with numpy>=2.0.0
14+
15+
816
## [2.0a2] - 2024-03-13
917

1018
### Added

build_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ scikit-build
44
cmake>=3.20
55
ninja
66
pybind11>=2.6
7-
libcasm-global>=2.0.4
7+
libcasm-global>=2.0.5

0 commit comments

Comments
 (0)