polars icon indicating copy to clipboard operation
polars copied to clipboard

`#![feature]` may not be used on the stable release channel

Open PoorRican opened this issue 2 years ago • 4 comments

Polars version checks

  • [X] I have checked that this issue has not already been reported.

  • [X] I have confirmed this bug exists on the latest version of Polars.

Issue description

I am trying to compile a simple program to begin experimenting with the polars crate however I am getting the error "#![feature] may not be used on the stable release channel". I researched and think that somehow the nightly featured is enabled by default.

Reproducible example

main.rs

use polars::prelude::*;

fn main() {
    let df = df![{'A' => &[1, 2, 3]}];
}

Cargo.toml

[package]
name = "learning_rust"
version = "0.1.0"
edition = "2021"

[dependencies]
polars = { version = "0.26.1" }

Expected behavior

I'd expect this code to compile.

Installed versions

rustc 1.66.1 (90743e729 2023-01-10)

PoorRican avatar Jan 24 '23 19:01 PoorRican

Which feature cannot be used?

ritchie46 avatar Jan 25 '23 08:01 ritchie46

Getting the same error when pip install --upgrade polars and it happens during compiling hashbrown rustc 1.66.1 (90743e729 2023-01-10)

polars==0.15.16 works, but polars==0.15.17 doesn't.

edit just saw the 0.15.17 wheel for MacOS is still building that is why it is building from source, I suppose.

marcelbischoff avatar Jan 25 '23 19:01 marcelbischoff

Getting the same error when pip install --upgrade polars and it happens during compiling hashbrown rustc 1.66.1 (90743e729 2023-01-10)

polars==0.15.16 works, but polars==0.15.17 doesn't.

edit just saw the 0.15.17 wheel for MacOS is still building that is why it is building from source, I suppose.

Yeap, that's the case. Unlucky timing. ;)

ritchie46 avatar Jan 26 '23 18:01 ritchie46

Yeap, that's the case. Unlucky timing. ;)

Yes 🤣

marcelbischoff avatar Jan 26 '23 20:01 marcelbischoff