piwheels / packages

Issue tracker for piwheels package issues
https://github.com/piwheels/packages/issues
20 stars 5 forks source link

Missing package: rpds-py #380

Closed yakirm-cr closed 1 year ago

yakirm-cr commented 1 year ago

Package name

rpds-py

Package version

0.8.3 and above

PyPI URL

https://pypi.org/project/rpds-py/

piwheels URL

https://www.piwheels.org/project/rpds-py/

Python version

I am the maintainer

More information

image

marceloalencar commented 1 year ago

I have successfully compiled rpds-py on a clean Rasperry Pi OS Lite install (2023-05-03-raspios-bullseye-armhf-lite, with kernel-qemu-5.10.63-bullseye) using following commands: sudo apt install pip -y curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh (choosing default install) pip3 wheel rpds-py==0.10.0 --no-deps --no-binary rpds-py

I see rust and cargo are installed by default on piwheels slaves. What could be the issue?

Log snippet:

2023-09-02T21:21:04,326   Successfully installed maturin-1.2.3 tomli-2.0.1
2023-09-02T21:21:04,344   Removed build tracker: '/tmp/pip-req-tracker-d11o6bkx'
2023-09-02T21:21:06,197   Running command /usr/bin/python3 /tmp/tmptmmz8aot_in_process.py get_requires_for_build_wheel /tmp/tmpkths09b0
2023-09-02T21:21:10,139     Created temporary directory: /tmp/pip-modern-metadata-t9ky7n1n
2023-09-02T21:21:10,221     Running command /usr/bin/python3 /tmp/tmp583uzi61_in_process.py prepare_metadata_for_build_wheel /tmp/tmpo4_gdsqr
2023-09-02T21:21:31,276         Updating crates.io index
2023-09-02T21:21:43,115      Downloading crates ...
2023-09-02T21:21:48,134       Downloaded once_cell v1.18.0
2023-09-02T21:21:49,037       Downloaded pyo3-macros v0.19.2
2023-09-02T21:21:49,240       Downloaded windows-targets v0.48.1
2023-09-02T21:21:49,883       Downloaded proc-macro2 v1.0.66
2023-09-02T21:21:50,872       Downloaded pyo3-ffi v0.19.2
2023-09-02T21:21:52,263       Downloaded pyo3-build-config v0.19.2
2023-09-02T21:21:52,618       Downloaded parking_lot_core v0.9.8
2023-09-02T21:21:53,062       Downloaded parking_lot v0.12.1
2023-09-02T21:22:00,254       Downloaded quote v1.0.31
2023-09-02T21:22:03,244       Downloaded redox_syscall v0.3.5
2023-09-02T21:22:03,840       Downloaded pyo3-macros-backend v0.19.2
2023-09-02T21:22:04,846       Downloaded scopeguard v1.1.0
2023-09-02T21:22:09,314       Downloaded pyo3 v0.19.2
2023-09-02T21:22:13,351       Downloaded target-lexicon v0.12.9
2023-09-02T21:22:13,758       Downloaded static_assertions v1.1.0
2023-09-02T21:22:14,018       Downloaded smallvec v1.11.0
2023-09-02T21:22:14,473       Downloaded rpds v1.0.0
2023-09-02T21:22:16,039       Downloaded syn v1.0.109
2023-09-02T21:22:18,528       Downloaded cfg-if v1.0.0
2023-09-02T21:22:18,813       Downloaded unindent v0.1.11
2023-09-02T21:22:18,991       Downloaded unicode-ident v1.0.11
2023-09-02T21:22:19,892       Downloaded lock_api v0.4.10
2023-09-02T21:22:20,180       Downloaded indoc v1.0.9
2023-09-02T21:22:20,862       Downloaded bitflags v1.3.2
2023-09-02T21:22:21,976       Downloaded memoffset v0.9.0
2023-09-02T21:22:22,263       Downloaded autocfg v1.1.0
2023-09-02T21:22:22,545       Downloaded archery v1.0.0
2023-09-02T21:22:22,892       Downloaded windows_i686_msvc v0.48.0
2023-09-02T21:23:16,335       Downloaded windows_x86_64_gnullvm v0.48.0
2023-09-02T21:23:17,903       Downloaded windows_aarch64_gnullvm v0.48.0
2023-09-02T21:23:52,697       Downloaded windows_x86_64_gnu v0.48.0
2023-09-02T21:23:56,841       Downloaded libc v0.2.147
2023-09-02T21:24:03,308       Downloaded windows_aarch64_msvc v0.48.0
2023-09-02T21:24:05,480       Downloaded windows_i686_gnu v0.48.0
2023-09-02T21:24:10,233       Downloaded windows_x86_64_msvc v0.48.0
2023-09-02T21:24:13,515     📦 Including license file "/tmp/pip-wheel-jx0935me/rpds-py_765487a758694319a18d6f636a360649/LICENSE"
2023-09-02T21:24:13,577     🔗 Found pyo3 bindings
2023-09-02T21:24:24,208     🐍 Found CPython 3.9 at /usr/bin/python3
2023-09-02T21:24:24,232     📡 Using build options features from pyproject.toml
2023-09-02T21:24:24,593     rpds_py-0.10.0.dist-info
2023-09-02T21:24:24,634     Checking for Rust toolchain....
2023-09-02T21:24:24,657     Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-t9ky7n1n --interpreter /usr/bin/python3`
2023-09-02T21:24:25,152   Source in /tmp/pip-wheel-jx0935me/rpds-py_765487a758694319a18d6f636a360649 has version 0.10.0, which satisfies requirement rpds-py==0.10.0 from https://files.pythonhosted.org/packages/77/5a/0c82d0ef1322227e8e997dbbd3d4e235383d51c299dbdfd2fed2625971b0/rpds_py-0.10.0.tar.gz#sha256=e36d7369363d2707d5f68950a64c4e025991eb0177db01ccb6aa6facae48b69f
2023-09-02T21:24:25,184   Removed rpds-py==0.10.0 from https://files.pythonhosted.org/packages/77/5a/0c82d0ef1322227e8e997dbbd3d4e235383d51c299dbdfd2fed2625971b0/rpds_py-0.10.0.tar.gz#sha256=e36d7369363d2707d5f68950a64c4e025991eb0177db01ccb6aa6facae48b69f from build tracker '/tmp/pip-req-tracker-d11o6bkx'
2023-09-02T21:24:25,362 Created temporary directory: /tmp/pip-unpack-na3dc99d
2023-09-02T21:24:25,386 Building wheels for collected packages: rpds-py
2023-09-02T21:24:25,474   Created temporary directory: /tmp/pip-wheel-daimxbat
2023-09-02T21:24:25,484   Destination directory: /tmp/pip-wheel-daimxbat
2023-09-02T21:24:25,580   Running command /usr/bin/python3 /tmp/tmpkuwfdcbf_in_process.py build_wheel /tmp/tmp8w6ynlb8
2023-09-02T21:24:29,382   Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off`
2023-09-02T21:24:40,547   📦 Including license file "/tmp/pip-wheel-jx0935me/rpds-py_765487a758694319a18d6f636a360649/LICENSE"
2023-09-02T21:24:40,588   🔗 Found pyo3 bindings
2023-09-02T21:24:46,737   🐍 Found CPython 3.9 at /usr/bin/python3
2023-09-02T21:24:46,757   📡 Using build options features from pyproject.toml
2023-09-02T21:24:56,534      Compiling target-lexicon v0.12.9
2023-09-02T21:27:09,300      Compiling pyo3-build-config v0.19.2
2023-09-02T21:28:48,403      Compiling autocfg v1.1.0
2023-09-02T21:29:28,334      Compiling proc-macro2 v1.0.66
2023-09-02T21:29:59,505      Compiling once_cell v1.18.0
2023-09-02T21:32:10,649      Compiling libc v0.2.147
2023-09-02T21:32:44,795      Compiling unicode-ident v1.0.11
2023-09-02T21:34:17,574      Compiling syn v1.0.109
2023-09-02T21:37:00,104      Compiling quote v1.0.31
2023-09-02T21:37:34,184      Compiling pyo3-ffi v0.19.2
2023-09-02T21:38:06,988      Compiling lock_api v0.4.10
2023-09-02T21:38:28,326      Compiling parking_lot_core v0.9.8
2023-09-02T21:45:24,770      Compiling memoffset v0.9.0
2023-09-02T21:45:34,176      Compiling scopeguard v1.1.0
2023-09-02T21:45:36,617      Compiling cfg-if v1.0.0
2023-09-02T21:45:37,507      Compiling smallvec v1.11.0
2023-09-02T21:46:12,615      Compiling pyo3-macros-backend v0.19.2
2023-09-02T21:48:45,123      Compiling pyo3 v0.19.2
2023-09-02T21:48:54,774      Compiling static_assertions v1.1.0
2023-09-02T21:48:56,070      Compiling archery v1.0.0
2023-09-02T21:49:02,915      Compiling pyo3-macros v0.19.2
2023-09-02T21:49:37,129      Compiling parking_lot v0.12.1
2023-09-02T21:50:45,066      Compiling indoc v1.0.9
2023-09-02T21:51:04,543      Compiling unindent v0.1.11
2023-09-02T21:57:12,304      Compiling rpds v1.0.0
2023-09-02T21:57:36,083      Compiling rpds-py v0.10.0 (/tmp/pip-wheel-jx0935me/rpds-py_765487a758694319a18d6f636a360649)
2023-09-02T22:00:23,759       Finished release [optimized] target(s) in 35m 33s
2023-09-02T22:00:24,602   📖 Found type stub file at rpds.pyi
2023-09-02T22:00:26,474   📦 Built wheel for CPython 3.9 to /tmp/pip-wheel-jx0935me/rpds-py_765487a758694319a18d6f636a360649/target/wheels/rpds_py-0.10.0-cp39-cp39-linux_armv6l.whl
2023-09-02T22:00:26,674   /tmp/pip-wheel-jx0935me/rpds-py_765487a758694319a18d6f636a360649/target/wheels/rpds_py-0.10.0-cp39-cp39-linux_armv6l.whl
2023-09-02T22:00:27,850   Created wheel for rpds-py: filename=rpds_py-0.10.0-cp39-cp39-linux_armv6l.whl size=1241322 sha256=408c13e121ea1fdc20d00fc7ddeeca1faf30bdad68dde5e85d0987f0d0ee2fb8
2023-09-02T22:00:27,881   Stored in directory: /home/pi/.cache/pip/wheels/a4/00/f3/a62c61fc0d9b9f0d2b17637b66c3f048cccd9603311687e9a4
2023-09-02T22:00:28,673 Successfully built rpds-py
2023-09-02T22:00:28,766 Removed build tracker: '/tmp/pip-req-tracker-d11o6bkx'
bennuttall commented 1 year ago

There's an issue with rustc not getting found when run by the piwheels system. We're working on it.

bennuttall commented 1 year ago

Fixed