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
7 changes: 6 additions & 1 deletion .github/workflows/build-spacy-pkuseg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,12 @@ jobs:
persist-credentials: false

- name: Patch spacy-pkuseg source
run: git apply python-wheels/patches/spacy-pkuseg/${{ env.SPACY_PKUSEG_VERSION }}/*.patch
# Only some versions need patching (the older tag needed the removed free-threaded-support option commented out; newer tags dropped it), so a missing directory is not an error.
run: |
patches="$PWD/python-wheels/patches/spacy-pkuseg/${{ env.SPACY_PKUSEG_VERSION }}"
if [ -d "$patches" ]; then
git apply "$patches"/*.patch
fi

- name: Build wheels
uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
Expand Down
1 change: 1 addition & 0 deletions docs/packages/spacy-pkuseg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ versions:
- filename: spacy_pkuseg-1.0.1-cp314-cp314t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl
sha256: 6060e9b429f3899dec4c81c8b40183659e3486feaf3650b77441e3fcbfdc939b
requires-python: '>=3.9'
- version: 1.0.2
Loading