Skip to content

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

@boegel

Description

@boegel
  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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions