@@ -47,6 +47,65 @@ BEGIN_UNRELEASED_TEMPLATE
4747END_UNRELEASED_TEMPLATE
4848-->
4949
50+ {#v0-0-0}
51+ ## Unreleased
52+
53+ [ 0.0.0 ] : https://github.com/bazel-contrib/rules_python/releases/tag/0.0.0
54+
55+ {#v0-0-0-removed}
56+ ### Removed
57+ * Nothing removed.
58+
59+ {#v0-0-0-changed}
60+ ### Changed
61+ * (binaries/tests) The ` PYTHONBREAKPOINT ` environment variable is automatically inherited
62+ * (binaries/tests) The {obj}` stamp ` attribute now transitions the Bazel builtin
63+ {obj}` --stamp ` flag.
64+ * (pypi) Now the RECORD file patches will follow the quoted or unquoted filenames convention
65+ in order to make ` pytorch ` and friends easier to patch.
66+
67+ {#v0-0-0-fixed}
68+ ### Fixed
69+ * (tests) No more coverage warnings are being printed if there are no sources.
70+ ([ #2762 ] ( https://github.com/bazel-contrib/rules_python/issues/2762 ) )
71+ * (gazelle) Ancestor ` conftest.py ` files are added in addition to sibling ` conftest.py ` .
72+ ([ #3497 ] ( https://github.com/bazel-contrib/rules_python/issues/3497 ) )
73+
74+ {#v0-0-0-added}
75+ ### Added
76+ * (binaries/tests) {obj}` --debugger ` : allows specifying an extra dependency
77+ to add to binaries/tests for custom debuggers.
78+ * (binaries/tests) Build information is now included in binaries and tests.
79+ Use the ` bazel_binary_info ` module to access it. The {flag}` --stamp ` flag will
80+ add {flag}` --workspace_status ` information.
81+ * (gazelle) A new directive ` python_generate_pyi_deps ` has been added. When
82+ ` true ` , a ` py_* ` target's ` pyi_srcs ` attribute will be set if any ` .pyi ` files
83+ that are associated with the target's ` srcs ` are present.
84+ ([ #3354 ] ( https://github.com/bazel-contrib/rules_python/issues/3354 ) ).
85+
86+ {#v1-8-3}
87+ ## [ 1.8.3] - 2026-01-27
88+
89+ {#v1-8-3-fixed}
90+ ### Fixed
91+ * (pipstar) Fix whl extraction on Windows when bazelrc has XX flags.
92+ Fixes [ #3543 ] ( https://github.com/bazel-contrib/rules_python/issues/3543 ) .
93+
94+ {#v1-8-2}
95+ ## [ 1.8.2] - 2026-01-24
96+
97+ {#v1-8-2-fixed}
98+ ### Fixed
99+ * (venvs) relax the C library filename check to make tensorflow work
100+ Fixes [ #3524 ] ( https://github.com/bazel-contrib/rules_python/issues/3529 ) .
101+
102+ {#v1-8-1}
103+ ## [ 1.8.1] - 2026-01-20
104+
105+ {#v1-8-1-fixed}
106+ ### Fixed
107+ * (pipstar) Extra resolution that refers back to the package being resolved works again.
108+ Fixes [ #3524 ] ( https://github.com/bazel-contrib/rules_python/issues/3524 ) .
50109
51110{#v1-8-0}
52111## [ 1.8.0] - 2025-12-19
@@ -65,6 +124,23 @@ END_UNRELEASED_TEMPLATE
65124 to pass the ` TOOL_VERSIONS ` that include 3.8 toolchains or use the ` bzlmod ` APIs to add
66125 them back. This means any hub ` pip.parse ` calls that target ` 3.8 ` will be ignored from
67126 now on. ([ #2704 ] ( https://github.com/bazel-contrib/rules_python/issues/2704 ) )
127+ {object}` python.single_version_override ` , like:
128+
129+ ``` starlark
130+ python = use_extension(" @rules_python//python/extensions:python.bzl" , " python" )
131+
132+ python.single_version_override(
133+ python_version = " 3.8.20" ,
134+ sha256 = {
135+ " aarch64-apple-darwin" : " 2ddfc04bdb3e240f30fb782fa1deec6323799d0e857e0b63fa299218658fd3d4" ,
136+ " aarch64-unknown-linux-gnu" : " 9d8798f9e79e0fc0f36fcb95bfa28a1023407d51a8ea5944b4da711f1f75f1ed" ,
137+ " x86_64-apple-darwin" : " 68d060cd373255d2ca5b8b3441363d5aa7cc45b0c11bbccf52b1717c2b5aa8bb" ,
138+ " x86_64-pc-windows-msvc" : " 41b6709fec9c56419b7de1940d1f87fa62045aff81734480672dcb807eedc47e" ,
139+ " x86_64-unknown-linux-gnu" : " 285e141c36f88b2e9357654c5f77d1f8fb29cc25132698fe35bb30d787f38e87" ,
140+ },
141+ urls = [" https://github.com/astral-sh/python-build-standalone/releases/download/20241002/cpython-{python_version} +20241002-{platform} -{build} .tar.gz" ],
142+ )
143+ ```
68144* (toolchain) Remove all of the python 3.9 toolchain versions except for the ` 3.9.25 ` .
69145 This version has reached EOL and will no longer receive any security fixes, please update to
70146 ` 3.10 ` or above. ([ #2704 ] ( https://github.com/bazel-contrib/rules_python/issues/2704 ) )
@@ -92,6 +168,7 @@ END_UNRELEASED_TEMPLATE
92168### Fixed
93169* (gazelle) Remove {obj}` py_binary ` targets with invalid ` srcs ` . This includes files
94170 that are not generated or regular files.
171+ [ #3046 ] ( https://github.com/bazel-contrib/rules_python/pull/3046 )
95172* (runfiles) Fix incorrect Python runfiles path assumption - the existing
96173 implementation assumes that it is always four levels below the runfiles
97174 directory, leading to incorrect path checks
@@ -108,6 +185,8 @@ END_UNRELEASED_TEMPLATE
108185* (gazelle) Fix ` gazelle_python_manifest.test ` so that it accesses manifest files via ` runfile ` path handling rather than directly ([ #3397 ] ( https://github.com/bazel-contrib/rules_python/issues/3397 ) ).
109186* (core rules) For the system_python bootstrap, the runfiles root is added to
110187 sys.path.
188+ * (sphinxdocs) The sphinxdocs ` .serve ` target is now compatible with Bazel's ` --symlink_prefix `
189+ flag ([ #3410 ] ( https://github.com/bazel-contrib/rules_python/issues/3410 ) ).
111190
112191{#v1-8-0-added}
113192### Added
@@ -2065,4 +2144,4 @@ Breaking changes:
20652144* (pip) Create all_data_requirements alias
20662145* Expose Python C headers through the toolchain.
20672146
2068- [ 0.24.0 ] : https://github.com/bazel-contrib/rules_python/releases/tag/0.24.0
2147+ [ 0.24.0 ] : https://github.com/bazel-contrib/rules_python/releases/tag/0.24.0
0 commit comments