-
-
Notifications
You must be signed in to change notification settings - Fork 677
rules_python 0.29.0 started enforcing symlink usage on Windows (was: broke Bazel on Windows) #1723
Copy link
Copy link
Closed
Labels
type: pippip/pypi integrationpip/pypi integrationtype: toolchainRelated to the toolchains provided by rules_pythonRelated to the toolchains provided by rules_python
Description
🐞 bug report
Affected Rule
rules_python 0.29.0
Is this a regression?
Yes, rules_python 0.26.0 worked fine for Bazel
Description
I tried to upgrade rules_python for Bazel, which caused the following breakage on Windows:
https://buildkite.com/bazel/google-bazel-presubmit/builds/76496#018d45ca-4b9c-4572-83dc-9c605e169298
🔬 Minimal Reproduction
- Upgrade rules_python in Bazel's MODULE.bazel file
bazel test //src/test/py/bazel:first_time_use_test
🔥 Exception or Error
(12:46:03) ERROR: An error occurred during the fetch of repository 'rules_python~0.29.0~pip~bazel_pip_dev_deps_38_bazel_runfiles':
Traceback (most recent call last):
File "C:/b/umz2tcci/external/rules_python~0.29.0/python/pip_install/pip_repository.bzl", line 723, column 13, in _whl_library_impl
fail("whl_library %s failed: %s (%s) error code: '%s'" % (rctx.attr.name, result.stdout, result.stderr, result.return_code))
Error in fail: whl_library rules_python~0.29.0~pip~bazel_pip_dev_deps_38_bazel_runfiles failed: () error code: '-1073741515'
(12:46:03) ERROR: : fetching whl_library rule //:rules_python~0.29.0~pip~bazel_pip_dev_deps_38_bazel_runfiles: Traceback (most recent call last):
File "C:/b/umz2tcci/external/rules_python~0.29.0/python/pip_install/pip_repository.bzl", line 723, column 13, in _whl_library_impl
fail("whl_library %s failed: %s (%s) error code: '%s'" % (rctx.attr.name, result.stdout, result.stderr, result.return_code))
Error in fail: whl_library rules_python~0.29.0~pip~bazel_pip_dev_deps_38_bazel_runfiles failed: () error code: '-1073741515'
🌍 Your Environment
Operating System:
Windows
Output of bazel version:
7.0.2
Rules_python version:
0.29.0
Anything else relevant?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: pippip/pypi integrationpip/pypi integrationtype: toolchainRelated to the toolchains provided by rules_pythonRelated to the toolchains provided by rules_python