Repository navigation
Tags
Tags
fix: stop rules_python from warning about its own implicit __init__.p… …y creation (bazel-contrib#4451) When rules_python is used as a Bzlmod dependency without --incompatible_default_to_explicit_init_py (which is deprecated in Bazel 10), rules_python emits implicit __init__.py deprecation warnings for its own internal targets (//tools:wheelmaker, //python/private:py_wheel_dist, //python/private:py_console_script_gen_py, and //tools/publish:twine). Enable rules_python_config.explicit_init_py(default = True) in MODULE.bazel so all targets in rules_python default to explicit __init__.py behavior. Closes bazel-contrib#4448 (cherry picked from commit ab7da31) Work towards bazel-contrib#4388
fix(coverage): bundle Python 3.15 coverage wheels (bazel-contrib#4401) Python 3.15 toolchains can run tests, but bazel coverage fails during analysis when configure_coverage_tool = True. Without cp315 entries, the coverage dependency table selects a pure Python fallback wheel, causing the generated BUILD file’s coverage/*.so glob to fail. Add coverage.py 7.17.0 wheels for Python 3.15 on Linux and macOS, including free-threaded interpreters. Preserve existing wheels for older Python versions, since upgrading the entire table would drop Python 3.9 and 3.10 support. Update the dependency generator to include cp315 and recognize the macOS 10.15 x86_64 wheel tag. (cherry picked from commit 3f3e7ea) Work towards bazel-contrib#4388
fix(coverage): bundle Python 3.15 coverage wheels (bazel-contrib#4401) Python 3.15 toolchains can run tests, but bazel coverage fails during analysis when configure_coverage_tool = True. Without cp315 entries, the coverage dependency table selects a pure Python fallback wheel, causing the generated BUILD file’s coverage/*.so glob to fail. Add coverage.py 7.17.0 wheels for Python 3.15 on Linux and macOS, including free-threaded interpreters. Preserve existing wheels for older Python versions, since upgrading the entire table would drop Python 3.9 and 3.10 support. Update the dependency generator to include cp315 and recognize the macOS 10.15 x86_64 wheel tag. (cherry picked from commit 3f3e7ea) Work towards bazel-contrib#4388
Prepare release v2.5.0 (bazel-contrib#4389) Work towards bazel-contrib#4388 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
feat(toolchains): update Python toolchains to latest patch releases (b… …azel-contrib#4369) Recent Python patch releases address compromised eMudhra intermediate CA keys in the bundled CA bundle and provide the Python 3.15 GA and patch releases. Without these updates, default toolchains use older patch releases and pre-release 3.15 builds. Add the `20261009` and `20261026` `python-build-standalone` runtime releases, remove pre-release `3.15.0` entries, and update default minor version mappings to `3.10.22`, `3.11.18`, `3.12.16`, `3.13.18`, `3.14.10`, and `3.15.2`. Fixes bazel-contrib#4358 (cherry picked from commit 6f58700) Work towards bazel-contrib#4373
fix(uv): upgrade default uv to 0.13.5 (bazel-contrib#4329) uv versions prior to 0.13.4 bundle the compromised emSign ECC Root CA - G3 root certificate in webpki-root-certs (GHSA-hq85-5cpj-mr62). Upgrade the default uv version and configured versions in examples and integration tests to 0.13.5, which removes the compromised root certificate and rejects certificate chains containing compromised eMudhra intermediate keys. Work towards bazel-contrib#4299 (cherry picked from commit ea8ffe8) Work towards bazel-contrib#4332
fix(pypi): upgrade pip to 26.2.2 and pip-tools to 7.6.2 (bazel-contri… …b#4310) `pip` versions prior to 26.2.2 bundle an older `certifi` release that still trusts the distrusted eMudhra (`emSign ECC Root CA - G3`) root certificate when `pip` makes network requests during requirements locking, sdist builds, or wheel fallback downloads. Upgrade the internal `pip` dependency to 26.2.2 so `pip` uses the updated `certifi` bundle, and upgrade `pip-tools` to 7.6.2 for compatibility with `pip` 26.2.2. Work towards bazel-contrib#4299 (cherry picked from commit f6d70c6) Work towards bazel-contrib#4321
build(deps): bump the uv group across 10 directories with 1 update (b… …azel-contrib#4297) Update certifi to 2026.10.19 across lockfiles, test constraints, and vendored requirements to address the eMudhra/emSign CA certificate security advisory (bazel-contrib#4299), and refresh the Gazelle manifest integrity hash and CHANGELOG.md for 2.4.3. (cherry picked from commit 711b314) Work towards bazel-contrib#4301
fix(zipapp): store _solib shared libraries as files, not absolute sym… …links (bazel-contrib#4211) Since bazel-contrib#4165, the zipper keeps a symlink for an input whose original source is a symlink, looking through the absolute symlink the Bazel sandbox exposes the input as. For the `_solib` entries Bazel creates for shared libraries, the original source is itself an absolute symlink into the build machine's output base, so the zipapp stored entries like runfiles/_main/_solib_x86_64/libST-..._Slibgrpc.so -> /home/<user>/.cache/bazel/<hash>/execroot/_main/bazel-out/.../libgrpc.so which dangle on any other machine. Any zipapp whose Python code loads a shared library from `_solib` (a C extension that links a `cc_library` dynamically, or `libpython` for an extension that links it) fails to load it outside the machine that built it. Before bazel-contrib#4165 these files were copied. To fix, only keep the looked-through target when it is relative, e.g. `libpython3.10.so -> libpython3.10.so.1.0` inside the runtime, which is what the size optimization in bazel-contrib#4165 is for. Otherwise the file is stored. * Adds a zipper test with the `_solib` shape: a sandbox symlink to an absolute symlink to the library. It fails without the fix ("should NOT be a symlink but is"). (cherry picked from commit 381762a) Work towards bazel-contrib#4232
feat(toolchains): update CPython 3.15.0 from rc2 to rc3 (bazel-contri… …b#4220) Make CPython 3.15.0rc3 available from the 20261003 python-build-standalone release. Replace the 3.15.0rc2 runtime entries in the manifest with 3.15.0rc3 and update the default 3.15 minor version mapping. (cherry picked from commit 87b8ae6) Work towards bazel-contrib#4224
PreviousNext