8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b765cb commit e98bc2dCopy full SHA for e98bc2d
tools/bazel_integration_test/test_runner.py
@@ -24,10 +24,12 @@ def modify_WORKSPACE(wksp, distro_path):
24
content = wksp_file.read()
25
# Replace the url for rules_python with our locally built one
26
content = re.sub(
27
- r'url = "https://github.com/bazelbuild/rules_python/releases/download/[^"]+"',
+ r'url = "https://github.com/bazelbuild/rules_python/[^"]+"',
28
'url = "file://%s"' % r.Rlocation(distro_path),
29
content)
30
+ # comment out sha256 and strip_prefix if present
31
content = re.sub(r'sha256 = "', '#\1', content)
32
+ content = re.sub(r'strip_prefix = "', '#\1', content)
33
with open(wksp, 'w') as wksp_file:
34
wksp_file.write(content)
35
0 commit comments