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

2.9.0 introduced a dependency on @platforms / @host_platform for bzl #949

Closed
gzm0 opened this issue Sep 25, 2024 · 2 comments
Closed

2.9.0 introduced a dependency on @platforms / @host_platform for bzl #949

gzm0 opened this issue Sep 25, 2024 · 2 comments

Comments

@gzm0
Copy link
Contributor

gzm0 commented Sep 25, 2024

This makes stardoc fail downstream in WORKSPACE setups

Likely culprit: #914

@gzm0
Copy link
Contributor Author

gzm0 commented Sep 25, 2024

Workaround:

http_archive(
    name = "platforms",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz",
        "https://github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz",
    ],
    sha256 = "218efe8ee736d26a3572663b374a253c012b716d8af0c07e842e82f238a0a7ee",
)

load("@platforms//host:extension.bzl", "host_platform_repo")

host_platform_repo(name = "host_platform")

@gzm0 gzm0 changed the title #914 introduced a dependency on @platforms / @host_platform for bzl 2.9.0 introduced a dependency on @platforms / @host_platform for bzl Sep 25, 2024
@mattem
Copy link
Contributor

mattem commented Sep 27, 2024

2.9.1 resolved this, see https://github.com/bazel-contrib/bazel-lib/releases/tag/v2.9.1

(duplicates #944)

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

3 participants