Require PyArrow in the Python package
Keep the arrow extra available for existing requirements. Update wheel checks and install instructions, and verify that integer packing leaves PyArrow unloaded.
This commit is contained in:
parent
8efeb04aab
commit
f474e9848c
1 changed files with 20 additions and 23 deletions
|
|
@ -55,7 +55,6 @@ export CIBW_CONTAINER_ENGINE="podman; disable_host_mount: true; create_args: \
|
|||
export CIBW_MANYLINUX_X86_64_IMAGE=localhost/pheon-manylinux:2.28-2026.10.26-1
|
||||
export CIBW_ENVIRONMENT_LINUX='PATH=/rust-toolchain/bin:$PATH CARGO_HOME=/pheon-cache/cargo CARGO_NET_OFFLINE=true PIP_CACHE_DIR=/pheon-cache/pip'
|
||||
export CIBW_BUILD='cp31{1,2,3,4}-manylinux_x86_64'
|
||||
export CIBW_TEST_EXTRAS=arrow
|
||||
export CIBW_TEST_COMMAND='python -I {project}/tools/check_installed.py'
|
||||
unset PHEON_LIBRARY
|
||||
python -m cibuildwheel --platform linux --archs x86_64 \
|
||||
|
|
@ -93,12 +92,12 @@ Wheel filenames use `py3-none` plus a platform tag, such as
|
|||
`manylinux_2_28_x86_64` or `win_amd64`. Use repaired `manylinux_*` wheels for
|
||||
Linux releases.
|
||||
|
||||
To test a wheel manually, install it with its `arrow` extra in a test
|
||||
environment on the target OS. Clear `PHEON_LIBRARY` so the checks load the
|
||||
bundled library. Replace the example path with the wheel you built.
|
||||
To test a wheel manually, install it in a test environment on the target OS.
|
||||
Clear `PHEON_LIBRARY` so the checks load the bundled library. Replace the
|
||||
example path with the wheel you built.
|
||||
|
||||
```sh
|
||||
python -m pip install "path/to/pheon-wheel.whl[arrow]"
|
||||
python -m pip install "path/to/pheon-wheel.whl"
|
||||
python -I tools/check_installed.py
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue