@@ -53,25 +53,42 @@ Unreleased changes template.
5353
5454{#v0-0-0-changed}
5555### Changed
56- * (toolchains) Use the latest astrahl-sh toolchain release [ 20250317] for Python versions:
56+ * (toolchain) The ` exec ` configuration toolchain now has the forwarded
57+ ` exec_interpreter ` now also forwards the ` ToolchainInfo ` provider. This is
58+ for increased compatibility with the ` RBE ` setups where access to the ` exec `
59+ configuration interpreter is needed.
60+ * (toolchains) Use the latest astral-sh toolchain release [ 20250317] for Python versions:
5761 * 3.9.21
5862 * 3.10.16
5963 * 3.11.11
6064 * 3.12.9
6165 * 3.13.2
6266* (pypi) Use ` xcrun xcodebuild --showsdks ` to find XCode root.
67+ * (pypi) The ` bzlmod ` extension will now generate smaller lock files for when
68+ using ` experimental_index_url ` .
69+ * (toolchains) Remove all but ` 3.8.20 ` versions of the Python ` 3.8 ` interpreter who has
70+ reached EOL. If users still need other versions of the ` 3.8 ` interpreter, please supply
71+ the URLs manually {bzl: ob }` python.toolchain ` or {bzl: obj }` python_register_toolchains ` calls.
6372
6473[ 20250317 ] : https://github.com/astral-sh/python-build-standalone/releases/tag/20250317
6574
6675{#v0-0-0-fixed}
6776### Fixed
6877* (runfiles) ({obj}` --bootstrap_impl=script ` ) Follow symlinks when searching for runfiles.
69- * Do not try to run ` chmod ` when downloading non-windows hermetic toolchain
78+ * (toolchains) Do not try to run ` chmod ` when downloading non-windows hermetic toolchain
7079 repositories on Windows. Fixes
7180 [ #2660 ] ( https://github.com/bazel-contrib/rules_python/issues/2660 ) .
7281
7382{#v0-0-0-added}
7483### Added
84+ * (uv) A {obj}` lock ` rule that is the replacement for the
85+ {obj}` compile_pip_requirements ` . This may still have rough corners
86+ so please report issues with it in the
87+ [ #1975 ] ( https://github.com/bazel-contrib/rules_python/issues/1975 ) .
88+ Main highlights - the locking can be done within a build action or outside
89+ it, there is no more automatic ` test ` target (but it can be added on the user
90+ side by using ` native_test ` ). For customizing the ` uv ` version that is used,
91+ please check the {obj}` uv.configure ` tag class.
7592* Add support for riscv64 linux platform.
7693* (toolchains) Add python 3.13.2 and 3.12.9 toolchains
7794
@@ -113,14 +130,9 @@ Unreleased changes template.
113130
114131{#v1-3-0-added}
115132### Added
116- * (providers) {obj}` PyInfo.site_packages_symlinks ` field added to allow
117- specifying links to create within the venv site packages
118- (only applicable with {obj}` --bootstrap_impl=script ` )
119- ([ #2156 ] ( https://github.com/bazelbuild/rules_python/issues/2156 ) ).
120- * (rules) {obj}` py_library.site_packages_root ` attribute added to allow
121- specifying a library's sources follow a site-packages file layout.
122- (only applicable with {obj}` --bootstrap_impl=script ` )
123- ([ #2156 ] ( https://github.com/bazelbuild/rules_python/issues/2156 ) ).
133+ * (python) {attr}` python.defaults ` has been added to allow users to
134+ set the default python version in the root module by reading the
135+ default version number from a file or an environment variable.
124136* {obj}` //python/bin:python ` : convenience target for directly running an
125137 interpreter. {obj}` --//python/bin:python_src ` can be used to specify a
126138 binary whose interpreter to use.
@@ -144,6 +156,10 @@ Unreleased changes template.
144156 which allows pass arguments to the interpreter before the regular args.
145157* (rules) Added {obj}` main_module ` attribute to ` py_binary ` and ` py_test ` ,
146158 which allows specifying a module name to run (i.e. ` python -m <module> ` ).
159+ * (providers) (experimental) {obj}` PyInfo.site_packages_symlinks ` field added to
160+ allow specifying links to create within the venv site packages (only
161+ applicable with {obj}` --bootstrap_impl=script ` )
162+ ([ #2156 ] ( https://github.com/bazelbuild/rules_python/issues/2156 ) ).
147163
148164{#v1-3-0-removed}
149165### Removed
0 commit comments