Skip to content
Draft
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
11 changes: 9 additions & 2 deletions .github/workflows/build-pylance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,16 @@ jobs:
# lance-core's SIMD_SUPPORT already has a portable riscv64 fallback, but
# lance-linalg's f32x8/f32x16/i32x8/f64x4/f64x8 SIMD types still compile
# only for x86_64/aarch64/loongarch64 upstream (unlike u8x16/u8x32, which
# already have one); see patches/pylance/11.0.0/0001*.patch.
# already have one); see patches/pylance/11.0.0/0001*.patch. From 13.0.0 lance
# emits cfg(simd_fallback) for every other architecture (rust/lance-linalg/build.rs)
# and backs those vector types with arrays, so later versions need no patch and a
# missing directory is not an error.
- name: Apply pylance patches
run: git apply -v python-wheels/patches/pylance/${{ env.PYLANCE_VERSION }}/0001*.patch
run: |
patches="$PWD/python-wheels/patches/pylance/${PYLANCE_VERSION}"
if [ -d "$patches" ]; then
git apply -v "$patches"/0001*.patch
fi

- name: Free disk space
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
Expand Down
1 change: 1 addition & 0 deletions docs/packages/pylance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ versions:
- filename: pylance-12.0.0-cp310-abi3-manylinux_2_39_riscv64.whl
sha256: 7fb0cc9df867f22213ac795a7c590c5b5bc8ad00192165a367f4e2c5fe625fa8
requires-python: '>=3.10'
- version: 13.0.0
Loading