Skip to content

Commit 5035cb6

Browse files
authored
Merge branch 'main' into feat.select_whl
2 parents 9792058 + 537fe30 commit 5035cb6

File tree

7 files changed

+107
-108
lines changed

7 files changed

+107
-108
lines changed

CHANGELOG.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ END_UNRELEASED_TEMPLATE
6060
* (gazelle) Types for exposed members of `python.ParserOutput` are now all public.
6161
* (gazelle) Removed the requirement for `__init__.py`, `__main__.py`, or `__test__.py` files to be
6262
present in a directory to generate a `BUILD.bazel` file.
63-
* (toolchain) Updated the following toolchains to build 20250708 to patch CVE-2025-47273:
63+
* (toolchain) Updated the following toolchains to build [20250808] to patch CVE-2025-47273:
6464
* 3.9.23
6565
* 3.10.18
6666
* 3.11.13
6767
* 3.12.11
68-
* 3.14.0b4
69-
* (toolchain) Python 3.13 now references 3.13.5
68+
* 3.14.0rc1
69+
* (toolchain) Python 3.13 now references 3.13.6
7070
* (gazelle) Switched back to smacker/go-tree-sitter, fixing
7171
[#2630](https://github.com/bazel-contrib/rules_python/issues/2630)
7272
* (ci) We are now testing on Ubuntu 22.04 for RBE and non-RBE configurations.
@@ -75,6 +75,8 @@ END_UNRELEASED_TEMPLATE
7575
{gh-path}`gazelle/docs` and are now available on the primary documentation site
7676
at https://rules-python.readthedocs.io/en/latest/gazelle/docs/index.html
7777

78+
[20250808]: https://github.com/astral-sh/python-build-standalone/releases/tag/20250808
79+
7880
{#v0-0-0-fixed}
7981
### Fixed
8082
* (pypi) Fixes an issue where builds using a `bazel vendor` vendor directory
@@ -126,8 +128,8 @@ END_UNRELEASED_TEMPLATE
126128
* (toolchain) Add toolchains for aarch64 windows for
127129
* 3.11.13
128130
* 3.12.11
129-
* 3.13.5
130-
* 3.14.0b4
131+
* 3.13.6
132+
* 3.14.0rc1
131133
* (gazelle): New annotation `gazelle:include_pytest_conftest`. When not set (the
132134
default) or `true`, gazelle will inject any `conftest.py` file found in the same
133135
directory as a {obj}`py_test` target to that {obj}`py_test` target's `deps`.

docs/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ requests==2.32.4 \
297297
# via
298298
# readthedocs-sphinx-ext
299299
# sphinx
300-
snowballstemmer==2.2.0 \
301-
--hash=sha256:09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1 \
302-
--hash=sha256:c8e1716e83cc398ae16824e5572ae04e0d9fc2c6b985fb0f900f5f0c96ecba1a
300+
snowballstemmer==3.0.1 \
301+
--hash=sha256:6cd7b3897da8d6c9ffb968a6781fa6532dce9c3618a4b127d920dab764a19064 \
302+
--hash=sha256:6d5eeeec8e9f84d4d56b847692bacf79bc2c8e90c7f80ca4444ff8b6f2e52895
303303
# via sphinx
304304
sphinx==8.1.3 \
305305
--hash=sha256:09719015511837b76bf6e03e42eb7595ac8c2e41eeb9c29c5b755c6b677992a2 \

python/private/hermetic_runtime_repo_setup.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ def define_hermetic_runtime_toolchain_impl(
239239
py_cc_toolchain(
240240
name = "py_cc_toolchain",
241241
headers = ":python_headers",
242+
# TODO #3155: add libctl, libtk
242243
libs = ":libpython",
243244
python_version = python_version,
244245
)

python/versions.bzl

Lines changed: 86 additions & 86 deletions
Large diffs are not rendered by default.

tests/python/python_tests.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ def _test_toolchain_ordering(env):
325325
"3.10": "3.10.18",
326326
"3.11": "3.11.13",
327327
"3.12": "3.12.11",
328-
"3.13": "3.13.5",
329-
"3.14": "3.14.0b4",
328+
"3.13": "3.13.6",
329+
"3.14": "3.14.0rc1",
330330
"3.8": "3.8.20",
331331
"3.9": "3.9.23",
332332
})

tests/toolchains/python_toolchain_test.py

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,14 @@ def test_expected_toolchain_matches(self):
2727
)
2828
self.assertIn(expected, settings["toolchain_label"], msg)
2929

30-
if sys.version_info.releaselevel == "final":
31-
actual = "{v.major}.{v.minor}.{v.micro}".format(v=sys.version_info)
32-
elif sys.version_info.releaselevel in ["beta"]:
33-
actual = (
34-
"{v.major}.{v.minor}.{v.micro}{v.releaselevel[0]}{v.serial}".format(
35-
v=sys.version_info
36-
)
37-
)
38-
else:
39-
raise NotImplementedError(
40-
"Unsupported release level, please update the test"
30+
actual = "{v.major}.{v.minor}.{v.micro}".format(v=sys.version_info)
31+
if sys.version_info.releaselevel != "final":
32+
release_prefix = (
33+
"rc"
34+
if sys.version_info.releaselevel == "candidate"
35+
else sys.version_info.releaselevel[0]
4136
)
37+
actual = f"{actual}{release_prefix}{sys.version_info.serial}"
4238
self.assertEqual(actual, expect_version)
4339

4440

tests/toolchains/transitions/transitions_tests.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def _impl(ctx):
6464
if got_version.releaselevel != "final":
6565
got = "{}{}{}".format(
6666
got,
67-
got_version.releaselevel[0],
67+
"rc" if got_version.releaselevel == "candidate" else got_version.releaselevel[0],
6868
got_version.serial,
6969
)
7070

0 commit comments

Comments
 (0)