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

Pass string values to execution_requirements #87

Merged
merged 1 commit into from
May 31, 2023

Conversation

Bencodes
Copy link
Contributor

Bazel requires that execution requirements are a dictionary of strings and errors out when ints are passed.

Traceback (most recent call last):
        File "/private/var/tmp/_bazel_blee/499a001013731d09bffd82f8601a3161/external/build_bazel_rules_android/rules/dex_desugar_aspect.bzl", line 100, column 25, in _aspect_impl
                _dex.dex(
        File "/private/var/tmp/_bazel_blee/499a001013731d09bffd82f8601a3161/external/build_bazel_rules_android/rules/dex.bzl", line 138, column 20, in _dex
                ctx.actions.run(
Error in run: got dict<string, int> for 'execution_requirements', want dict<string, string>

Bazel requires that execution requirements are a dictionary of strings and errors out when ints are passed.

```
Traceback (most recent call last):
        File "/private/var/tmp/_bazel_blee/499a001013731d09bffd82f8601a3161/external/build_bazel_rules_android/rules/dex_desugar_aspect.bzl", line 100, column 25, in _aspect_impl
                _dex.dex(
        File "/private/var/tmp/_bazel_blee/499a001013731d09bffd82f8601a3161/external/build_bazel_rules_android/rules/dex.bzl", line 138, column 20, in _dex
                ctx.actions.run(
Error in run: got dict<string, int> for 'execution_requirements', want dict<string, string>
```
Copy link
Contributor

@ted-xie ted-xie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll work on importing this.

@copybara-service copybara-service bot merged commit 4e72cb7 into bazelbuild:main May 31, 2023
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.

2 participants