piwheels / packages

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

Missing package: eclipse-zenoh #263

Closed JEnoch closed 1 year ago

JEnoch commented 2 years ago

Package name

eclipse-zenoh

Package version

0.5.0b9

PyPI URL

https://pypi.org/project/eclipse-zenoh/

piwheels URL

https://www.piwheels.org/project/eclipse-zenoh/

Python version

I am the maintainer

More information

This package is Rust-based, relying on setuptools-rust for the build. All its dependencies are pulled from crates.io (no github dependency). The github workflow succeed to build wheels for several platforms using pypa/cibuildwheel: see https://github.com/eclipse-zenoh/zenoh-python/actions/runs/1503356405 Sources: https://github.com/eclipse-zenoh/zenoh-python/tree/0.5.0b9

What went wrong building on piwheels infra?

bennuttall commented 2 years ago

Here's the build log: https://paste.debian.net/1220783/

JEnoch commented 2 years ago

Thanks. I see the problem comes from a dependency (spin) using core::hint::spin_loop(), which was not stabilised before rust 1.49. I guess the piwheel infra uses an older version than rust 1.49 (see rustc --version), right ? Do you see any way to update it ? Is rustup installed by chance ?

bennuttall commented 2 years ago

We use Rust in Debian, so that's 1.48 in Bullseye.

We tried to use rustup but it seems you can't install it as root for all users to use, so we reverted it.

JEnoch commented 2 years ago

rustup is usually installed by the user (see https://rustup.rs/), as it can download/install different rust toolchains on user demand or when specified in a rust-toolchain file by a project. All the binaries (rustup, cargo, rustc) go to ~/.cargo/bin/.

Would it be possible/acceptable to install it as user on piwheels infra (setting ~/.cargo/bin/ in $PATH)?

bennuttall commented 1 year ago

Built successfully