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

installation of Transformers-4.29.2-foss-2022a.eb is broken, requires newer Rust #18611

Open
boegel opened this issue Aug 22, 2023 · 0 comments

Comments

@boegel
Copy link
Member

boegel commented Aug 22, 2023

  running build_rust
      Updating crates.io index
   Downloading crates ...
    Downloaded windows-targets v0.48.5
    Downloaded thiserror-impl v1.0.47
    Downloaded thiserror v1.0.47
    Downloaded tempfile v3.8.0
    Downloaded winreg v0.50.0
    Downloaded quote v1.0.33
    Downloaded serde_derive v1.0.185
    Downloaded serde v1.0.185
    Downloaded cc v1.0.83
    Downloaded reqwest v0.11.19
    Downloaded h2 v0.3.21
    Downloaded syn v2.0.29
    Downloaded windows_aarch64_gnullvm v0.48.5
    Downloaded windows_aarch64_msvc v0.48.5
    Downloaded windows_x86_64_msvc v0.48.5
    Downloaded windows_x86_64_gnu v0.48.5
    Downloaded windows_i686_msvc v0.48.5
    Downloaded windows_x86_64_gnullvm v0.48.5
    Downloaded windows_i686_gnu v0.48.5
  cargo rustc --lib --manifest-path Cargo.toml --release -v --features pyo3/extension-module -- --crate-type cdylib
  error: package `reqwest v0.11.19` cannot be built because it requires rustc 1.63.0 or newer, while the currently active rustc version is 1.60.0-dev
  error: cargo failed with code: 101

  error: subprocess-exited-with-error

We should be able to fix this by switching to the CargoPythonPackage easyblock, so we control which crate versions are being used (and to avoid downloading of crates on the fly).

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

1 participant