Skip to content

Add stub @rules_python to third_party/#9044

Closed
brandjon wants to merge 2 commits intobazelbuild:masterfrom
brandjon:rp-in-tp
Closed

Add stub @rules_python to third_party/#9044
brandjon wants to merge 2 commits intobazelbuild:masterfrom
brandjon:rp-in-tp

Conversation

@brandjon
Copy link
Copy Markdown
Member

@brandjon brandjon commented Aug 1, 2019

This stub contains only one relevant file, @rules_python//python:defs.bzl,
which mimics the file at the same path in bazelbuild/rules_python. Having this
repo gives us a way to inject this defs.bzl file into our protobuf dependency,
which is loaded as a separate (local) external repo and therefore cannot access
the existing //tools/python:private/defs.bzl in Bazel's own workspace. It also
means we'll be compatible with the future upstream migration to fix protobuf
for #9006.

A separate PR will add this to the Bazel root WORKSPACE file (since
third_party/ must be updated in a separate commit).

Break-out of #9019. Work toward #9006.

RELNOTES: None

This stub contains only one relevant file, @rules_python//python:defs.bzl,
which mimics the file at the same path in bazelbuild/rules_python. Having this
repo gives us a way to inject this defs.bzl file into our protobuf dependency,
which is loaded as a separate (local) external repo and therefore cannot access
the existing //tools/python:private/defs.bzl in Bazel's own workspace. It also
means we'll be compatible with the future upstream migration to fix protobuf
for bazelbuild#9006.

A separate PR will add this to the Bazel root WORKSPACE file (since
third_party/ must be updated in a separate commit).

Break-out of bazelbuild#9019. Work toward bazelbuild#9006.

RELNOTES: None
@brandjon
Copy link
Copy Markdown
Member Author

brandjon commented Aug 1, 2019

Update from offline discussions: Visibility is fixed in most recent commit but we're confirming CI passes. (Turns out my workstation failed bootstrapping tests because of low disk space.)

Buildkite testing this commit without visibility fix (in addition to the one auto-triggered by this PR)

Buildkite testing this commit with visibility fix

@brandjon brandjon mentioned this pull request Aug 1, 2019
@brandjon
Copy link
Copy Markdown
Member Author

brandjon commented Aug 1, 2019

Passed in manual CI run of branch containing this PR's content.

@bazel-io bazel-io closed this in 473e429 Aug 1, 2019
@brandjon brandjon deleted the rp-in-tp branch August 1, 2019 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants