@archqt it complains about it while building this package? Or when using it?
fastexcel looks like it's an optional dependency.
Here I don't have fastexcel installed, and I can build this package and import polars
.
Git Clone URL: | https://aur.archlinux.org/python-polars.git (read-only, click to copy) |
---|---|
Package Base: | python-polars |
Description: | Blazingly fast DataFrames library using Apache Arrow Columnar Format as memory model |
Upstream URL: | https://www.pola.rs/ |
Licenses: | MIT |
Submitter: | gyscos |
Maintainer: | gyscos |
Last Packager: | gyscos |
Votes: | 6 |
Popularity: | 0.152433 |
First Submitted: | 2022-06-02 02:17 (UTC) |
Last Updated: | 2024-11-12 14:16 (UTC) |
@archqt it complains about it while building this package? Or when using it?
fastexcel looks like it's an optional dependency.
Here I don't have fastexcel installed, and I can build this package and import polars
.
It ask me for fastexcel. It says that this module can't be found
PSA: Seeing as it was taking nearly 20 minutes to build locally, I added a python-polars-bin package to directly use the pre-built binary wheels.
thanks, that did it after i added python-installer to makedepends
also the license is MIT
Ah indeed it seems to require nightly rust to build.
I updated the makedepends to depend on rust-nightly
.
rust-nightly
directly, it will use that compiler version and should be fine.rustup
, the rust-toolchain will make sure nightly rust is used. Compiling arrow2 v0.11.2 (https://github.com/jorgecarleitao/arrow2?rev=7014e28de391960f9aac578eada14796bf6950d2#7014e28d)
error[E0554]: #![feature]
may not be used on the stable release channel
--> /mine/me/.cargo/git/checkouts/arrow2-8a2ad61d97265680/7014e28/src/lib.rs:8:39
|
8 | #![cfg_attr(feature = "simd", feature(portable_simd))]
| ^^^^^^^^^^^^^
Compiling jemallocator v0.5.0
error: aborting due to previous error> ] 251/260: arrow2
For more information about this error, try rustc --explain E0554
.
error: could not compile arrow2
due to 2 previous errors
💥 maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with "exit status: 101": cargo rustc --manifest-path Cargo.toml --message-format json --lib --
make: *** [Makefile:44: build-no-venv] Error 1
==> ERROR: A failure occurred in build().
compile fails at the end, any ideas?
Pinned Comments
gyscos commented on 2022-06-09 18:18 (UTC) (edited on 2022-06-09 18:18 (UTC) by gyscos)
PSA: Seeing as it was taking nearly 20 minutes to build locally, I added a python-polars-bin package to directly use the pre-built binary wheels.