Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing package: eclipse-zenoh #263

Closed
4 tasks done
JEnoch opened this issue Nov 25, 2021 · 5 comments
Closed
4 tasks done

Missing package: eclipse-zenoh #263

JEnoch opened this issue Nov 25, 2021 · 5 comments

Comments

@JEnoch
Copy link

JEnoch commented Nov 25, 2021

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

  • Python 3.5
  • Python 3.7
  • Python 3.9

I am the maintainer

  • Yes

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
Copy link
Member

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

@JEnoch
Copy link
Author

JEnoch commented Nov 25, 2021

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
Copy link
Member

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
Copy link
Author

JEnoch commented Nov 25, 2021

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
Copy link
Member

Built successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants