-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Description
Describe the bug, including details regarding any error messages, version, and platform.
test-debian-13-python-3-i386 is currently failing on CI due to the newly introduced libcst dependency.
The problem is that is trying to build it from sdist because there are no wheels for i686 (32 bit).
#9 4.618 Ignoring pyuwsgi: markers 'sys_platform != "win32" and python_version < "3.13"' don't match your environment
#9 4.900 Collecting cython>=3.1 (from -r arrow/python/requirements-build.txt (line 1))
#9 4.964 Downloading cython-3.2.4-cp39-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl.metadata (7.5 kB)
#9 5.029 Collecting libcst>=1.8.6 (from -r arrow/python/requirements-build.txt (line 2))
#9 5.043 Downloading libcst-1.8.6.tar.gz (891 kB)
#9 5.095 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 891.4/891.4 kB 32.9 MB/s 0:00:00
and the failure
#9 604.5
#9 604.5 !!
#9 604.5 check.warn(importable)
#9 604.5 copying libcst/py.typed -> build/lib.linux-x86_64-cpython-313/libcst
#9 604.5 creating build/lib.linux-x86_64-cpython-313/libcst/tests/pyre
#9 604.5 copying libcst/tests/pyre/.pyre_configuration -> build/lib.linux-x86_64-cpython-313/libcst/tests/pyre
#9 604.5 copying libcst/tests/pyre/simple_class.json -> build/lib.linux-x86_64-cpython-313/libcst/tests/pyre
#9 604.5 copying libcst/tests/pyre/simple_class.py -> build/lib.linux-x86_64-cpython-313/libcst/tests/pyre
#9 604.5 copying libcst/codemod/tests/codemod_formatter_error_input.py.txt -> build/lib.linux-x86_64-cpython-313/libcst/codemod/tests
#9 604.5 copying libcst/_parser/conversions/README.md -> build/lib.linux-x86_64-cpython-313/libcst/_parser/conversions
#9 604.5 running build_ext
#9 604.5 running build_rust
#9 604.5 error: can't find Rust compiler
#9 604.5
#9 604.5 If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
#9 604.5
#9 604.5 To update pip, run:
#9 604.5
#9 604.5 pip install --upgrade pip
#9 604.5
#9 604.5 and then retry package installation.
#9 604.5
#9 604.5 If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs)/ is the recommended way to download and update the Rust compiler toolchain.
#9 604.5 [end of output]
#9 604.5
#9 604.5 note: This error originates from a subprocess, and is likely not a problem with pip.
#9 604.5 ERROR: Failed building wheel for libcst
Can we potentially make this optional, do we require to install our own rust compiler on this case.
Component(s)
Continuous Integration, Python
Reactions are currently unavailable