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

Update dependency bazel_skylib to v0.9.0 #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 17, 2021

This PR contains the following updates:

Package Type Update Change
bazel_skylib http_archive minor 0.6.0 -> 0.9.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

bazelbuild/bazel-skylib (bazel_skylib)

v0.9.0

Compare Source

New Features

This release is tested with Bazel 0.28

v0.8.0

Compare Source

New Features

  • “Analysis Test” testing framework under unittest.bzl. See documentation for details. Some new feature highlights:
    • Support for verifying rule-under-test failure conditions
    • Support for verifying actions registered by a rule-under-test
    • Support for verifying rule behavior under non-default bazel flags
  • analysis_test rule to verify that targets under test pass Bazel’s analysis phase. This is similar to the existing build_test rule, except that actions of the underlying targets are not executed. See documentation.
  • write_file rule to write UTF-8 encoded text files. (Works for bash platforms and Windows)
  • copy_file rule to copy a file to another location. (Works for bash platforms and Windows)
  • dicts.add() now accepts kwargs to add to the resulting dict.

This release is tested with Bazel 0.23

Thanks to the following external contributors:

Please use the bazel-skylib.0.8.0.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: 2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e

[Complete list of changes](

v0.7.0

Compare Source

Incompatible Changes

  • Made an incompatible change to unittest.bzl requiring minor migration effort:
    Test implementation functions for this framework now must return the result of unittest.end(env) instead of simply invoking this method. That is:
    def _your_test(ctx):
    env = unittest.begin(ctx)

Assert statements go here

    unittest.end(env)
```
must become:
```
def _your_test(ctx):
    env = unittest.begin(ctx)

Assert statements go here

    return unittest.end(env)
```

New Features

  • Added Windows support for unittest.bzl.

  • Added maprule rules (cmd_maprule and bash_maprule under //rules/maprule.bzl for Windows and bash support, respectively)

  • Added a build_test rule (build_test under //rules/build_test.bzl) to create test targets that verify that other targets build. Note that this rule does not currently work on Windows (though support for Windows shall come at a later time).


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/bazel_skylib-0.x branch from c7d60a6 to 3fad9da Compare March 18, 2023 18:06
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.

0 participants