Skip to content

Commit

Permalink
Prep for 0.0.2 release (#18)
Browse files Browse the repository at this point in the history
* Add stub.

* Update release workflow to build manylinux wheels (provisional)
  • Loading branch information
aliddell authored Nov 14, 2024
1 parent 9df5786 commit ec8fd1b
Show file tree
Hide file tree
Showing 4 changed files with 449 additions and 16 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
platform:
- "windows-latest"
- "ubuntu-latest"
- "macos-latest" # TODO (aliddell): universal binary?
- "macos-latest"

runs-on: ${{ matrix.platform }}

Expand Down Expand Up @@ -156,23 +156,23 @@ jobs:
./vcpkg integrate install
shell: bash

- name: Install dependencies
run: python -m pip install -U pip "pybind11[global]" cmake build numpy pytest
- name: Install cibuildwheel
run: python -m pip install cibuildwheel

- name: Install
run: python -m pip install ".[testing]"
- name: Build wheels
env:
CIBW_BUILD: "cp310-*" # Build for Python 3.10
CIBW_ARCHS: auto64 # Build for 64-bit architectures
CIBW_BEFORE_BUILD: pip install -U pip "pybind11[global]" cmake build numpy pytest
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest {package}/tests -v
run: python -m cibuildwheel --output-dir wheelhouse

- name: Test
run: python -m pytest -v

- name: Build
run: python -m build

- name: Upload wheel
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: ${{matrix.platform}} wheel
path: ${{github.workspace}}/dist/*.whl
path: ./wheelhouse/*.whl

release:
needs:
Expand Down Expand Up @@ -227,4 +227,4 @@ jobs:
if: ${{ github.ref_name != 'nightly' }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
skip-existing: true
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ recursive-include src *
recursive-include include *
recursive-include python *
include LICENSE
include README.md
include README.md
include python/*.pyi
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "acquire-zarr"
version = "0.0.1"
version = "0.0.2"
description = "Python bindings for acquire-zarr"
authors = [
{name = "Alan Liddell", email = "aliddell@chanzuckerberg.com"}
Expand Down
Loading

0 comments on commit ec8fd1b

Please # to comment.