Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/build-matscipy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,16 @@ jobs:

- name: Patch matscipy source
run: |
git apply python-wheels/patches/matscipy/${{ env.MATSCIPY_VERSION }}/*.patch
# 1.3.0 ships all of 1.2.0's fixes upstream, so not every version has a patch dir.
patches="python-wheels/patches/matscipy/${{ env.MATSCIPY_VERSION }}"
if [ -d "$patches" ]; then
git apply "$patches"/*.patch
fi
# meson-python reads the wheel version from `git describe` on this tree; a
# dirty tree gives "1.2.0.dirty", which packaging.version.Version rejects
# outright (InvalidVersion), failing the build before compilation even
# starts. Hide just the patched files from dirty-detection instead.
git diff --name-only | xargs git update-index --skip-worktree
git diff --name-only | xargs -r git update-index --skip-worktree

- name: Build wheels
uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
Expand Down
1 change: 1 addition & 0 deletions docs/packages/matscipy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ versions:
- filename: matscipy-1.2.0-cp314-cp314-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl
sha256: edec7c83ef02d487442a94a3b4ad5f2f180d4f98ae927c6628eb0b54e2b6a8da
requires-python: '>=3.9.0'
- version: 1.3.0
Loading