-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build new release with numpy=2.0; bump version v2.0a3
- Loading branch information
Showing
15 changed files
with
86 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
build_and_store_wheels: &BUILD_AND_STORE_WHEELS | ||
install_cibuildwheel_script: | ||
- python -m pip install cibuildwheel==2.17.0 | ||
- python -m pip install cibuildwheel==2.19.2 | ||
run_cibuildwheel_script: | ||
- cibuildwheel | ||
wheels_artifacts: | ||
|
@@ -16,17 +16,23 @@ linux_aarch64_task: | |
cpu: 4 | ||
memory: 4G | ||
env: | ||
CIBW_ARCHS_LINUX: aarch64 | ||
VENV_ROOT: ${HOME}/venv-cibuildwheel | ||
PATH: ${VENV_ROOT}/bin:${PATH} | ||
install_pre_requirements_script: | ||
- apt install -y python3-venv python-is-python3 | ||
- add-apt-repository -y ppa:deadsnakes/ppa | ||
- apt-get update | ||
- apt-get install -y python3.12-venv | ||
- python3.12 -m venv ${VENV_ROOT} | ||
<<: *BUILD_AND_STORE_WHEELS | ||
|
||
macos_arm64_task: | ||
name: Build macOS arm64 wheels. | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-sonoma-xcode | ||
env: | ||
PATH: /opt/homebrew/opt/[email protected]/libexec/bin:$PATH | ||
VENV_ROOT: ${HOME}/venv-cibuildwheel | ||
PATH: ${VENV_ROOT}/bin:${PATH} | ||
install_pre_requirements_script: | ||
- brew install [email protected] | ||
- brew install [email protected] | ||
- python3.12 -m venv ${VENV_ROOT} | ||
<<: *BUILD_AND_STORE_WHEELS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
name: Build wheels | ||
|
||
on: [push, pull_request] | ||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '0 12 * * 0' | ||
|
||
jobs: | ||
build_wheels_linux_x86_64: | ||
|
@@ -20,7 +24,7 @@ jobs: | |
name: dist_linux | ||
path: ./wheelhouse/*.whl | ||
|
||
build_wheels_macos_x86_64: | ||
build_wheels_macos12_x86_64: | ||
name: Build x86_64 wheels on macos-12 | ||
runs-on: macos-12 | ||
|
||
|
@@ -34,7 +38,24 @@ jobs: | |
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist_macos | ||
name: dist_macos12_x86_64 | ||
path: ./wheelhouse/*.whl | ||
|
||
build_wheels_macos14_arm64: | ||
name: Build arm64 wheels on macos-14 | ||
runs-on: macos-14 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS_MACOS: arm64 | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist_macos14_arm64 | ||
path: ./wheelhouse/*.whl | ||
|
||
build_sdist: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ scikit-build | |
cmake>=3.20 | ||
ninja | ||
pybind11>=2.6 | ||
libcasm-global>=2.0.4 | ||
libcasm-global>=2.0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,13 +6,13 @@ requires = [ | |
"cmake>=3.20", | ||
"ninja", | ||
"pybind11>=2.6", | ||
"libcasm-global>=2.0.4", | ||
"libcasm-global>=2.0.5", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "libcasm-composition" | ||
version = "2.0a2" | ||
version = "2.0a3" | ||
authors = [ | ||
{ name="CASM developers", email="[email protected]" }, | ||
] | ||
|
@@ -28,7 +28,7 @@ classifiers = [ | |
"Topic :: Scientific/Engineering", | ||
] | ||
dependencies = [ | ||
"libcasm-global>=2.0.4", | ||
"libcasm-global>=2.0.5", | ||
"numpy", | ||
] | ||
|
||
|
@@ -41,13 +41,13 @@ source-dir = "doc" | |
build-dir = "doc/build" | ||
all_files = 1 | ||
|
||
[tool.ruff] | ||
select = ["E", "F", "I"] | ||
[tool.ruff.lint] | ||
select = ["NPY201", "E", "F", "I"] | ||
|
||
[tool.ruff.per-file-ignores] | ||
[tool.ruff.lint.per-file-ignores] | ||
"__init__.py" = ["F401"] | ||
|
||
[tool.ruff.isort] | ||
[tool.ruff.lint.isort] | ||
known-first-party = ["libcasm", "casm"] | ||
|
||
[tool.cibuildwheel] | ||
|
@@ -57,7 +57,7 @@ build = "cp39-* cp310-* cp311-* cp312-*" | |
skip = "pp*" | ||
|
||
# Need libcasm-global at wheel repair stage | ||
before-build = "pip install libcasm-global>=2.0.4" | ||
before-build = "pip install libcasm-global>=2.0.5" | ||
|
||
# Testing | ||
test-requires = "pytest pytest-datadir" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters