Skip to content

[Bug]: remove dependency on rattler_installs_packages (fails on windows) #620

@peakschris

Description

@peakschris

What happened?

The rust package rattler_installs_packages fails to build on windows due to various path too long issues

Error in fail: Command ["D:/udu/b/gpt7lqzm/external/rules_rust++cu_nr+cargo_bazel_bootstrap/cargo-bazel", "splice", "--output-dir", "D:/udu/b/gpt7lqzm/modextwd/rules_rust++crate/crate_index/splicing-output", "--splicing-manifest", "D:/udu/b/gpt7lqzm/modextwd/rules_rust++crate/crate_index/splicing_manifest.json", "--config", "D:/udu/b/gpt7lqzm/modextwd/rules_rust++crate/crate_index/config.json", "--repository-name", "crate_index", "--cargo-lockfile", "D:/udu/b/gpt7lqzm/external/aspect_rules_py+/Cargo.lock", "--cargo", "D:/udu/b/gpt7lqzm/external/rules_rust++rust_host_tools+rust_host_tools/bin/cargo.exe", "--rustc", "D:/udu/b/gpt7lqzm/external/rules_rust++rust_host_tools+rust_host_tools/bin/rustc.exe"] failed with exit code 1.
STDOUT ------------------------------------------------------------------------

STDERR ------------------------------------------------------------------------

    Updating crates.io index
    Updating git repository `https://github.com/prefix-dev/rip`
error: failed to get `rattler_installs_packages` as a dependency of package `py v0.1.0 (C:\Users\browchri.PLM\AppData\Local\Temp\.tmpmijtD5\py\tools\py)`

Caused by:
  failed to load source for dependency `rattler_installs_packages`

Caused by:
  Unable to update https://github.com/prefix-dev/rip?rev=6225bfbfc8d56ea130f0614f6a42d48a0ded1c78

Caused by:
  path too long: 'D:/udu/b/gpt7lqzm/modextwd/rules_rust++crate/.cargo_home/git/checkouts/rip-d197d3f1684396ae/6225bfb/crates/rattler_installs_packages/src/artifacts/snapshots/rattler_installs_packages__artifacts__sdist__tests__build_wheel_and_with_clean_env_and_pass_env_variables.snap'; class=Filesystem (30)

This dependency is from https://github.com/prefix-dev/rip

rip is no longer actively maintained: prefix-dev/rip#233

Version

Development (host) and target OS/architectures:

Output of bazel --version:

Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:

Language(s) and/or frameworks involved:

How to reproduce

Any other information?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions