rules_python icon indicating copy to clipboard operation
rules_python copied to clipboard

feat: allow pip to get default from toolchain config

Open rickeylev opened this issue 3 months ago • 0 comments

This allows pip.parse to have python_version unspecified, getting the value from the default configured by the python extension. This allows the pip integration code to automatically match a dynamically computed default (i.e. one from python_version_env or python_version_file). With the two in sync, this then allows pip to generate appropriate code that relies on knowing the python version.

DO NOT MERGE, todo:

  • [ ] update changelog
  • [ ] misc cleanup

Work towards https://github.com/bazel-contrib/rules_python/issues/3293

rickeylev avatar Sep 27 '25 18:09 rickeylev