Skip to content

rules_python 0.29.0 started enforcing symlink usage on Windows (was: broke Bazel on Windows) #1723

@meteorcloudy

Description

@meteorcloudy

🐞 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

  1. Upgrade rules_python in Bazel's MODULE.bazel file
  2. 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?

Metadata

Metadata

Assignees

Labels

type: pippip/pypi integrationtype: toolchainRelated to the toolchains provided by rules_python

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions