@@ -21,7 +21,7 @@ A brief description of the categories of changes:
21
21
` (docs) ` .
22
22
23
23
<!--
24
- Unreleased changes template.
24
+ BEGIN_UNRELEASED_TEMPLATE
25
25
26
26
{#v0-0-0}
27
27
## Unreleased
@@ -43,8 +43,9 @@ Unreleased changes template.
43
43
{#v0-0-0-removed}
44
44
### Removed
45
45
* Nothing removed.
46
- -->
47
46
47
+ END_UNRELEASED_TEMPLATE
48
+ -->
48
49
49
50
{#v0-0-0}
50
51
## Unreleased
@@ -53,6 +54,30 @@ Unreleased changes template.
53
54
54
55
{#v0-0-0-changed}
55
56
### Changed
57
+ * Nothing changed.
58
+
59
+ {#v0-0-0-fixed}
60
+ ### Fixed
61
+ * (rules) PyInfo provider is now advertised by py_test, py_binary, and py_library;
62
+ this allows aspects using required_providers to function correctly.
63
+ ([ #2506 ] ( https://github.com/bazel-contrib/rules_python/issues/2506 ) ).
64
+ * (py_wheel) Ensure the filename segment is escaped in when using stamping wheel names.
65
+
66
+ {#v0-0-0-added}
67
+ ### Added
68
+ * Nothing added.
69
+
70
+ {#v0-0-0-removed}
71
+ ### Removed
72
+ * Nothing removed.
73
+
74
+ {#1 -4-0}
75
+ ## [ 1.4.0] - 2025-04-19
76
+
77
+ [ 1.4.0 ] : https://github.com/bazel-contrib/rules_python/releases/tag/1.4.0
78
+
79
+ {#1 -4-0-changed}
80
+ ### Changed
56
81
* (toolchain) The ` exec ` configuration toolchain now has the forwarded
57
82
` exec_interpreter ` now also forwards the ` ToolchainInfo ` provider. This is
58
83
for increased compatibility with the ` RBE ` setups where access to the ` exec `
@@ -72,15 +97,22 @@ Unreleased changes template.
72
97
* (toolchains) Previously [ #2636 ] ( https://github.com/bazel-contrib/rules_python/pull/2636 )
73
98
changed the semantics of ` ignore_root_user_error ` from "ignore" to "warning". This is now
74
99
flipped back to ignoring the issue, and will only emit a warning when the attribute is set
75
- ` False ` .
100
+ ` False ` .
76
101
* (pypi) The PyPI extension will no longer write the lock file entries as the
77
102
extension has been marked reproducible.
78
103
Fixes [ #2434 ] ( https://github.com/bazel-contrib/rules_python/issues/2434 ) .
104
+ * (gazelle) Lazily load and parse manifest files when running Gazelle. This ensures no
105
+ manifest files are loaded when Gazelle is run over a set of non-python directories
106
+ [ PR #2746 ] ( https://github.com/bazel-contrib/rules_python/pull/2746 ) .
107
+ * (rules) {attr}` py_binary.srcs ` and {attr}` py_test.srcs ` is no longer mandatory when
108
+ ` main_module ` is specified (for ` --bootstrap_impl=script ` )
79
109
80
110
[ 20250317 ] : https://github.com/astral-sh/python-build-standalone/releases/tag/20250317
81
111
82
- {#v0-0 -0-fixed}
112
+ {#1 -4 -0-fixed}
83
113
### Fixed
114
+ * (pypi) Platform specific extras are now correctly handled when using
115
+ universal lock files with environment markers. Fixes [ #2690 ] ( https://github.com/bazel-contrib/rules_python/pull/2690 ) .
84
116
* (runfiles) ({obj}` --bootstrap_impl=script ` ) Follow symlinks when searching for runfiles.
85
117
* (toolchains) Do not try to run ` chmod ` when downloading non-windows hermetic toolchain
86
118
repositories on Windows. Fixes
@@ -90,9 +122,13 @@ Unreleased changes template.
90
122
transitions transitioning on the ` python_version ` flag.
91
123
Fixes [ #2685 ] ( https://github.com/bazel-contrib/rules_python/issues/2685 ) .
92
124
* (toolchains) Run the check on the Python interpreter in isolated mode, to ensure it's not affected by userland environment variables, such as ` PYTHONPATH ` .
93
- * (py_wheel) Ensure the filename segment is escaped in when using stamping wheel names.
125
+ * (toolchains) Ensure temporary ` .pyc ` and ` .pyo ` files are also excluded from the interpreters repository files.
126
+ * (pypi) Run interpreter version call in isolated mode, to ensure it's not affected by userland environment variables, such as ` PYTHONPATH ` .
127
+ * (packaging) An empty ` requires_file ` is treated as if it were omitted, resulting in a valid ` METADATA ` file.
128
+ * (rules) py_wheel and sphinxdocs rules now propagate ` target_compatible_with ` to all targets they create.
129
+ [ PR #2788 ] ( https://github.com/bazel-contrib/rules_python/pull/2788 ) .
94
130
95
- {#v0-0 -0-added}
131
+ {#1 -4 -0-added}
96
132
### Added
97
133
* (pypi) From now on ` sha256 ` values in the ` requirements.txt ` is no longer
98
134
mandatory when enabling {attr}` pip.parse.experimental_index_url ` feature.
@@ -116,14 +152,20 @@ Unreleased changes template.
116
152
allow specifying links to create within the venv site packages (only
117
153
applicable with {obj}` --bootstrap_impl=script ` )
118
154
([ #2156 ] ( https://github.com/bazelbuild/rules_python/issues/2156 ) ).
155
+ * (toolchains) Local Python installs can be used to create a toolchain
156
+ equivalent to the standard toolchains. See [ Local toolchains] docs for how to
157
+ configure them.
158
+ * (toolchains) Expose ` $(PYTHON2_ROOTPATH) ` and ` $(PYTHON3_ROOTPATH) ` which are runfiles
159
+ locations equivalents of ` $(PYTHON2) ` and `$(PYTHON3) respectively.
119
160
120
- {#v0-0-0-removed}
161
+
162
+ {#1 -4-0-removed}
121
163
### Removed
122
164
* Nothing removed.
123
165
124
166
125
167
{#v1-3-0}
126
- ## Unreleased
168
+ ## [ 1.3.0 ] - 2025-03-27
127
169
128
170
[ 1.3.0 ] : https://github.com/bazel-contrib/rules_python/releases/tag/1.3.0
129
171
0 commit comments