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

chore: enable incompatible_disable_depset_items #1977

Merged
merged 1 commit into from
Dec 16, 2021
Merged

chore: enable incompatible_disable_depset_items #1977

merged 1 commit into from
Dec 16, 2021

Conversation

alexeagle
Copy link
Contributor

fixes #1939

@alexeagle alexeagle force-pushed the i1939 branch 4 times, most recently from cc82a7b to ade0ae9 Compare December 7, 2021 19:55
@@ -85,6 +86,8 @@ def _impl(ctx, image_tar = None, packages = None, additional_repos = None, outpu
output_script: File, overrides ctx.outputs.build_script
output_metadata: File, overrides ctx.outputs.metadata_csv
"""
if types.is_depset(packages):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this check work without --incompatible_disable_depset_items?

Copy link
Member

Choose a reason for hiding this comment

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

I guess this should work? /cc @alexeagle

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, this only depends on bazel-skylib

@alexeagle alexeagle merged commit a0e6d5d into master Dec 16, 2021
@meteorcloudy
Copy link
Member

--incompatible_disable_depset_items is actually already removed from Bazel@HEAD, it's also turned on by default in 5.0 (which will be released soon).

I'll just remove it from the .bazelrc file to fix rules_docker with Bazel@HEAD:
https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2289#3a453138-8cc0-4f6b-b777-4f2cfb8ddd23

meteorcloudy added a commit that referenced this pull request Dec 21, 2021
`--incompatible_disable_depset_items` is removed at Bazel@HEAD and is turned on by default in 5.0.
See #1977 (comment)
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.

rules_docker broken with Bazel@HEAD CI
3 participants