You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
python: upstream rules_python PR for py_extension linking two CPython import libraries on Windows #9317
Upstream bazel-contrib/rules_pythonpython/private/cc/py_extension_rule.bzl (_py_extension_libs_impl) and python/private/cc/py_extension_macro.bzl (win_libs_name, $(locations ...) in user_link_flags). Unfixed on main and 2.5.0-rc0.
Regression test: an analysis test under tests/cc/py_extension/ that builds the _<name>_win_libs target for a windows platform with a fake py_cc_toolchain whose libs has both python3.lib and python3XY.lib, and asserts one file for each py_limited_api value. Reuse tests/support/cc_toolchains.
Follow rules_python CONTRIBUTING (conventional commit title, CHANGELOG entry). No Claude trailers upstream.
Activity
TrapsterDK commentedon Nov 7, 2026
Upstream PR for the rules_python single import library fix: bazel-contrib/rules_python#4427 (issue bazel-contrib/rules_python#4426). rules_dx README link: #9344. Local patch stays until a release has it (#9342).
patches: link the upstream rules_python PR for single_import_lib (closes