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

Rust compatability #275

Open
juanwulu opened this issue Jul 2, 2024 · 0 comments
Open

Rust compatability #275

juanwulu opened this issue Jul 2, 2024 · 0 comments

Comments

@juanwulu
Copy link

juanwulu commented Jul 2, 2024

Issue Description

Failed to manually install via PyPI. Wheel building raises the following error:

💥 maturin failed                                                                                                                                                                                                
        Caused by: Failed to build a native library through cargo                                                                                                                                                      
        Caused by: Cargo build finished with "exit status: 101": `PYO3_ENVIRONMENT_SIGNATURE="cpython-3.10-64bit" PYO3_PYTHON="/scratch/gilbreth/juanwu/conda/envs/gmp-dev/bin/python3.1" PYTHON_SYS_EXECUTABLE="/scrat
ch/gilbreth/juanwu/conda/envs/gmp-dev/bin/python3.1" "cargo" "rustc" "--release" "--features" "pyo3/extension-module" "--manifest-path" "/tmp/pip-install-fhhx6udr/av2_48a3040d72d24b9ca051557b464ac04e/rust/Cargo.toml
" "--message-format" "json" "--lib" "--crate-type" "cdylib"`                                                                                                                                                           
      error[E0635]: unknown feature `stdsimd`                                                                                                                                                                          
        --> /home/juanwu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.8.6/src/lib.rs:99:42                                                                                                             
         |                                                                                                                                                                                                             
      99 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))]                                                                                                                                                         
         |                                          ^^^^^^^                                                                                                                                                            
                                                                                                                                                                                                                       
                                                                                                                                                                                                                       
      error: aborting due to 1 previous error                                                                                                                                                                          
                                                                                                                                                                                                                       
                                                                                                                                                                                                                       
      For more information about this error, try `rustc --explain E0635`.                                                                                                                                              
                                                                                                                                                                                                                       
      Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/scratch/gilbreth/juanwu/conda/envs/gmp-dev/bin/python3.1', '--compatibility', 'off'] returned non-zero exit status 1                                 
      [end of output]

This is a known issue due to deprecation of stdsimd feature in the latest Rust build. Please refer to here for more information. Could you help with updating the User Guide?

System Information

  • Python Version: 3.10
  • OS: CentOS Linux Version 7 (Kernel Version: 3.10.0-1160.108.1.el7.x86_64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant