Skip to content

Conversation

@rdesgroppes
Copy link
Contributor

@rdesgroppes rdesgroppes commented Jan 20, 2026

This upgrade of bazel_skylib from version 1.7.1 to 1.9.0 eliminates a few deprecation warnings when executing Bazel commands:

WARNING: [...]: target '[...]' depends on deprecated target '@@bazel_tools//src/conditions:host_windows_x64_constraint': No longer used by Bazel and will be removed in the future. Migrate to toolchains or define your own version of this setting.

These warnings originated from bazel_skylib 1.7.1's use of the deprecated @bazel_tools//src/conditions:host_windows constraint in copy_file and diff_test rules.
Since version 1.8.0, bazel_skylib migrated away from this deprecated constraint (see bazelbuild/bazel-skylib#574).

This upgrade of `bazel_skylib` from version 1.7.1 to 1.9.0 eliminates
a few deprecation warnings when executing Bazel commands:
> WARNING: [...]: target '[...]' depends on deprecated target
> '@@bazel_tools//src/conditions:host_windows_x64_constraint': No longer
> used by Bazel and will be removed in the future. Migrate to toolchains
> or define your own version of this setting.

These warnings originated from `bazel_skylib` 1.7.1's use of the
deprecated `@bazel_tools//src/conditions:host_windows` constraint in
`copy_file` and `diff_test rules`.
Since version 1.8.0, `bazel_skylib` migrated away from this deprecated
constraint (see bazelbuild/bazel-skylib#574).
@rdesgroppes rdesgroppes force-pushed the upgrade-skylib-to-eliminate-deprecation-warnings branch from 7caaf5e to efa9e39 Compare January 20, 2026 08:21
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

Successfully merging this pull request may close these issues.

1 participant