Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

chore(deps): bump the python-minor-and-patch group with 13 updates (#7788)

dependabot[bot]bea0916d31a0
diff --git a/.github/workflows/milvus-tests.yml b/.github/workflows/milvus-tests.yml
index 36adab65ce..f8cec59ec3 100644
--- a/.github/workflows/milvus-tests.yml
+++ b/.github/workflows/milvus-tests.yml
@@ -191,7 +191,10 @@ jobs:
# Hash-locked bootstrap (Scorecard Pinned-Dependencies, alerts
# #8270/#8271): pip + pdm with every wheel sha256-pinned
# in requirements/bootstrap-ci.txt (covers this runner's CPython 3.12).
- python -m pip install --require-hashes -r requirements/bootstrap-ci.txt
+ # Wheels-only: some pin hash sets also list an sdist, and a
+ # wheel-tag drift must fail loudly, never silently source-build
+ # from that sdist hash.
+ python -m pip install --require-hashes --only-binary=:all: -r requirements/bootstrap-ci.txt
# Bare locked install — no `-G milvus` and no `--dev`. See (a) in
# the header: `-G` on a declared-but-unlocked group is a hard
diff --git a/Dockerfile b/Dockerfile
index 8ed4428268..3920b17aa9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -90,7 +90,11 @@ RUN apt-get update -o Acquire::Retries=3 && apt-get upgrade -y -o Acquire::Retri
# silently resolving something else, which is the desired behavior. Rotate
# via the regeneration recipe in the file header.
COPY requirements/bootstrap-builder.txt /tmp/bootstrap-builder.txt
-RUN pip3 install --no-cache-dir --require-hashes -r /tmp/bootstrap-builder.txt \
+# Wheels-only (--only-binary=:all:): some pin hash sets also list an sdist,
+# and a wheel-tag drift must fail loudly, never silently source-build from
+# that sdist hash.
+RUN pip3 install --no-cache-dir --require-hashes --only-binary=:all: \
+ -r /tmp/bootstrap-builder.txt \
&& rm /tmp/bootstrap-builder.txt
# pip 26.2.2 still vendors urllib3 2.7.0. Refresh it from reviewed wheels,
@@ -341,7 +345,11 @@ RUN python3 -c "import pyexpat, sys; v = pyexpat.version_info; print(f'pyexpat u
# Hash-locked (Scorecard Pinned-Dependencies, alert #8207): same rationale as
# the builder-base bootstrap above.
COPY requirements/bootstrap-runtime.txt /tmp/bootstrap-runtime.txt
-RUN pip3 install --no-cache-dir --require-hashes -r /tmp/bootstrap-runtime.txt \
+# Wheels-only (--only-binary=:all:): some pin hash sets also list an sdist,
+# and a wheel-tag drift must fail loudly, never silently source-build from
+# that sdist hash.
+RUN pip3 install --no-cache-dir --require-hashes --only-binary=:all: \
+ -r /tmp/bootstrap-runtime.txt \
&& rm /tmp/bootstrap-runtime.txt
# This independent root stage needs the same pip and ensurepip refresh.
diff --git a/requirements/bootstrap-builder.txt b/requirements/bootstrap-builder.txt
index 6384da05b6..ece5147e69 100644
--- a/requirements/bootstrap-builder.txt
+++ b/requirements/bootstrap-builder.txt
@@ -40,12 +40,13 @@ certifi==2026.10.19 \
dep-logic==0.7.2 \
--hash=sha256:33640c4ba7fd45f2504442eb9e0c12e57dac253c748ca3925749548a5c556bae
-distlib==0.4.3 \
- --hash=sha256:4b0ce306c966eb73bc3a7b6abad017c556dadd92c44701562cd528ac7fde4d5b
+distlib==0.4.4 \
+ --hash=sha256:ca4175b4ac7f71223cc30ed7248c45d2b38c2439d8ee6e498ab67ed63cf3508d \
+ --hash=sha256:cf09d55b1e85a89576b036aeb71550bfd68320f3f21761ca329eadadad918638
-filelock==4.1.1 \
- --hash=sha256:3f4a557945a7b0f95efeb1f432267affe5d45ac8ddde2aed1b97ebb62382c089 \
- --hash=sha256:7ba0927482c5a814b0a7f391d029ccdb8010f576f0a74c0dcde1811e8bc4c1b6
+filelock==4.2.4 \
+ --hash=sha256:301241438c57936ef93f4243a94f2559022268bfcf9b375a9a72eb0f8db8358e \
+ --hash=sha256:c6d8663535e1650ee430507b4ffbac7b464dd64b7647ea0112a9f406499d163d
findpython==0.8.0 \
--hash=sha256:4a61ee1618a8b55014f7d41f59345d322be93f6ce62395bdccccc651b3f7e28a
@@ -179,21 +180,21 @@ msgpack==1.2.3 \
packaging==26.3 \
--hash=sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c
-pbs-installer==2026.10.3 \
- --hash=sha256:06914e979658b63502771ba565211ccfad16dbf835ceaa2ea247353b33fc2c01 \
- --hash=sha256:2e8a1a470e46d220b4ffae12db40a3f2f577604c18d0331789ca1eeb4b70ca65
+pbs-installer==2026.10.13 \
+ --hash=sha256:3308621cdd55a56e064b5fc544d3e6fa90e77991906292c6111b3ef5b9e8d625 \
+ --hash=sha256:888654540e18a358f0dd1d20838fa7231f47a2b11dd803f457148cda88cabe6a
-pdm==2.29.2 \
- --hash=sha256:b17dcc9b55b94694d63afc56053afb7d580e963bb038c753df2cd18fda71182d \
- --hash=sha256:bad9705e9482e7d877a53380ff25273b01e9c1d313ee6ce7b215a6562a9d8bdd
+pdm==2.29.3 \
+ --hash=sha256:320df1661a60a4e29ce813992dcd5c8c5583c1bf27d36b713895cf38f4c49e9e \
+ --hash=sha256:435af88abb9e8d17b40ae9b50d123c8f9b1d8572987129e0a9a4017fbe4d9e1b
pip==26.2.2 \
--hash=sha256:fd7f4dfa8190e014013b9f08f3e973f4e4c26ffd179a204895533a7254813a70 \
--hash=sha256:3a8e5c800492787f33a4114ef54444546c340df428974ebba17e0fd47e11af2f
-platformdirs==4.13.0 \
- --hash=sha256:1aa0b0d3f224c1f07c295121e312a5a24a180d6ae5a8425ea1784b3e3863e9c0 \
- --hash=sha256:3dbcf4cd708f21cf876c4eaa90e58412bc4f033d87143f41b1493ff77c25b7e1
+platformdirs==4.13.5 \
+ --hash=sha256:05831adf87d392760f4b5c3a0a95579ab5a10b18b9b9bd43680dcb47544788a0 \
+ --hash=sha256:53d3ec4280b815c1e0b02edad7f9ee8fda1ba9c0865dd9c2e6e63849ce82fc1e
playwright==1.64.0 \
--hash=sha256:2c14d105548876b15bea5e7eca77bf0d8ff4ba0c607c1ae931067f3d1b010369 \
@@ -214,9 +215,9 @@ pygments==2.21.0 \
pyproject-hooks==1.3.3 \
--hash=sha256:5fc53fdac9f7bd63fbcdc868fb5f90b4784d78a53a3d3388cd738b807441a20b
-python-discovery==1.6.3 \
- --hash=sha256:a62b301d96cf5489cb96ab023b32e068421867fdd5df2e42eece877869047fa2 \
- --hash=sha256:cb7654125e3dcb594269a6feb56ac693f1f13b7c654493a93eba72dc22d18034
+python-discovery==1.6.4 \
+ --hash=sha256:530179cc51a1816d512b15635b3dc931295ae12efb183783ad31190a5d425d2b \
+ --hash=sha256:bc70d31f0ec5de11eda13d4d64c16e24b3506a65984684f2b6c98cb83b2ea9df
python-dotenv==1.2.4 \
--hash=sha256:42269a8a5b3fd54ffa6f3d84b18abed50064717576b4ecf03dc4a55d8aa04fdc \
diff --git a/requirements/bootstrap-ci.txt b/requirements/bootstrap-ci.txt
index eed48b737e..e0053423a3 100644
--- a/requirements/bootstrap-ci.txt
+++ b/requirements/bootstrap-ci.txt
@@ -39,12 +39,13 @@ certifi==2026.10.19 \
dep-logic==0.7.2 \
--hash=sha256:33640c4ba7fd45f2504442eb9e0c12e57dac253c748ca3925749548a5c556bae
-distlib==0.4.3 \
- --hash=sha256:4b0ce306c966eb73bc3a7b6abad017c556dadd92c44701562cd528ac7fde4d5b
+distlib==0.4.4 \
+ --hash=sha256:ca4175b4ac7f71223cc30ed7248c45d2b38c2439d8ee6e498ab67ed63cf3508d \
+ --hash=sha256:cf09d55b1e85a89576b036aeb71550bfd68320f3f21761ca329eadadad918638
-filelock==4.1.1 \
- --hash=sha256:3f4a557945a7b0f95efeb1f432267affe5d45ac8ddde2aed1b97ebb62382c089 \
- --hash=sha256:7ba0927482c5a814b0a7f391d029ccdb8010f576f0a74c0dcde1811e8bc4c1b6
+filelock==4.2.4 \
+ --hash=sha256:301241438c57936ef93f4243a94f2559022268bfcf9b375a9a72eb0f8db8358e \
+ --hash=sha256:c6d8663535e1650ee430507b4ffbac7b464dd64b7647ea0112a9f406499d163d
findpython==0.8.0 \
--hash=sha256:4a61ee1618a8b55014f7d41f59345d322be93f6ce62395bdccccc651b3f7e28a
@@ -174,21 +175,21 @@ msgpack==1.2.3 \
packaging==26.3 \
--hash=sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c
-pbs-installer==2026.10.3 \
- --hash=sha256:06914e979658b63502771ba565211ccfad16dbf835ceaa2ea247353b33fc2c01 \
- --hash=sha256:2e8a1a470e46d220b4ffae12db40a3f2f577604c18d0331789ca1eeb4b70ca65
+pbs-installer==2026.10.13 \
+ --hash=sha256:3308621cdd55a56e064b5fc544d3e6fa90e77991906292c6111b3ef5b9e8d625 \
+ --hash=sha256:888654540e18a358f0dd1d20838fa7231f47a2b11dd803f457148cda88cabe6a
-pdm==2.29.2 \
- --hash=sha256:b17dcc9b55b94694d63afc56053afb7d580e963bb038c753df2cd18fda71182d \
- --hash=sha256:bad9705e9482e7d877a53380ff25273b01e9c1d313ee6ce7b215a6562a9d8bdd
+pdm==2.29.3 \
+ --hash=sha256:320df1661a60a4e29ce813992dcd5c8c5583c1bf27d36b713895cf38f4c49e9e \
+ --hash=sha256:435af88abb9e8d17b40ae9b50d123c8f9b1d8572987129e0a9a4017fbe4d9e1b
pip==26.2.2 \
--hash=sha256:fd7f4dfa8190e014013b9f08f3e973f4e4c26ffd179a204895533a7254813a70 \
--hash=sha256:3a8e5c800492787f33a4114ef54444546c340df428974ebba17e0fd47e11af2f
-platformdirs==4.13.0 \
- --hash=sha256:1aa0b0d3f224c1f07c295121e312a5a24a180d6ae5a8425ea1784b3e3863e9c0 \
- --hash=sha256:3dbcf4cd708f21cf876c4eaa90e58412bc4f033d87143f41b1493ff77c25b7e1
+platformdirs==4.13.5 \
+ --hash=sha256:05831adf87d392760f4b5c3a0a95579ab5a10b18b9b9bd43680dcb47544788a0 \
+ --hash=sha256:53d3ec4280b815c1e0b02edad7f9ee8fda1ba9c0865dd9c2e6e63849ce82fc1e
pygments==2.21.0 \
--hash=sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9
@@ -196,9 +197,9 @@ pygments==2.21.0 \
pyproject-hooks==1.3.3 \
--hash=sha256:5fc53fdac9f7bd63fbcdc868fb5f90b4784d78a53a3d3388cd738b807441a20b
-python-discovery==1.6.3 \
- --hash=sha256:a62b301d96cf5489cb96ab023b32e068421867fdd5df2e42eece877869047fa2 \
- --hash=sha256:cb7654125e3dcb594269a6feb56ac693f1f13b7c654493a93eba72dc22d18034
+python-discovery==1.6.4 \
+ --hash=sha256:530179cc51a1816d512b15635b3dc931295ae12efb183783ad31190a5d425d2b \
+ --hash=sha256:bc70d31f0ec5de11eda13d4d64c16e24b3506a65984684f2b6c98cb83b2ea9df
python-dotenv==1.2.4 \
--hash=sha256:42269a8a5b3fd54ffa6f3d84b18abed50064717576b4ecf03dc4a55d8aa04fdc \
diff --git a/requirements/semgrep.txt b/requirements/semgrep.txt
index c7b0fcd88c..873fa7d25e 100644
--- a/requirements/semgrep.txt
+++ b/requirements/semgrep.txt
@@ -431,9 +431,9 @@ pydantic-core==2.50.1 \
--hash=sha256:f77ac30b19221cd9bd3fcfa3d4614eff93140d0572ab730cded17b64adca05f3 \
--hash=sha256:fe90228920fd8ff2be62622b6bb8a2b11acd65046d50c6b130614b5879605a20
# via pydantic
-pydantic-settings==2.16.0 \
- --hash=sha256:5b6c578049ede4db0e2ef3b4eaa4ad4069cfa9211f83fb38df899dfade50a614 \
- --hash=sha256:7e73acf7f61936a15e5a3b6eedaea29f133357faf7272f2607ba479b049dd7f2
+pydantic-settings==2.16.1 \
+ --hash=sha256:30f5313340da4e8f1b440d1910b92a5bc3ccbb6b4ba70ec2b8395bc921f418f5 \
+ --hash=sha256:aff602a1886338c2df3d1e958e2193a8dc33cec75b91f202e83fd98484b4b0da
# via mcp
pygments==2.21.0 \
--hash=sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9 \
@@ -442,7 +442,7 @@ pygments==2.21.0 \
pyjwt==2.15.1 \
--hash=sha256:42d59d631f7768a1028a64c7ff581a9bf7519804daf91fc5b6c56e30eec5e193
# via
- # -r semgrep.in
+ # -r requirements/semgrep.in
# mcp
# semgrep
python-dotenv==1.2.4 \
@@ -631,14 +631,14 @@ semgrep==1.181.0 \
--hash=sha256:9ef478d031105158e97a4491ecd349ecea011193e6b4be618d515a0a71bb6884 \
--hash=sha256:c142ec04a2ed144970cb0a92f6877651dd3c088505eec737bb7f4db7ae5f0ffa \
--hash=sha256:c3d7295bfd26f994231d82145888bd0a73ef0ad66ffb0c0341f0350a90ac3136
- # via -r semgrep.in
+ # via -r requirements/semgrep.in
sse-starlette==3.5.0 \
--hash=sha256:3e6e1070df3f0f5d9cea81496de92dbb72f6721871d99748ece67441dd8b7997 \
--hash=sha256:75de713aa8a9441513cc283220826da079d982770965b951e9437720e8bafdb2
# via mcp
-starlette==1.8.0 \
- --hash=sha256:1565dc0b35d5737a271ed1e0e04e949f4e81198799f216d2667b0a0fb9cf9522 \
- --hash=sha256:dfdd6b29c26483288088d990eee59631dedadd66ce20d203402a7ca8e3c4656f
+starlette==1.9.0 \
+ --hash=sha256:3d931de246ed870e35ce605974440816ef895e592f255d1396cfdf191d4c4318 \
+ --hash=sha256:fd3f159936e882d06c1108f84688f7cda2cf85fc6a592a50edbd175e882c2ddc
# via
# mcp
# sse-starlette
diff --git a/tests/ci/test_package_installer_bootstrap.py b/tests/ci/test_package_installer_bootstrap.py
index a9e6d43632..21cf0b5144 100644
--- a/tests/ci/test_package_installer_bootstrap.py
+++ b/tests/ci/test_package_installer_bootstrap.py
@@ -13,6 +13,13 @@ import yaml
ROOT = Path(__file__).resolve().parents[2]
LOCK = "requirements/bootstrap-runtime.txt"
+# Reviewed pip 26.2.2 artifact digests (PyPI: pip-26.2.2-py3-none-any.whl and
+# pip-26.2.2.tar.gz). Asserted exactly so a missing, extra, or substituted
+# --hash line fails here; bump deliberately alongside the lock.
+PIP_HASHES = [
+ "--hash=sha256:3a8e5c800492787f33a4114ef54444546c340df428974ebba17e0fd47e11af2f",
+ "--hash=sha256:fd7f4dfa8190e014013b9f08f3e973f4e4c26ffd179a204895533a7254813a70",
+]
def commands(script):
@@ -72,13 +79,62 @@ def test_clean_package_environment_bootstraps_before_fresh_resolution(
def test_installer_lock_contains_only_a_patched_hash_pinned_pip():
+ """The runtime bootstrap lock pins a patched pip and no other entry.
+
+ The reviewed hash set is asserted exactly (wheel + sdist digests), so a
+ missing, extra, or substituted ``--hash`` line fails here rather than
+ passing as a well-formed-looking edit. Junk lines fail the single-entry
+ assertion; an unpatched pip fails the version floor.
+ """
requirements = commands((ROOT / LOCK).read_text())
assert len(requirements) == 1
args = shlex.split(requirements[0])
assert args[0].startswith("pip==")
assert Version(args[0].split("==", 1)[1]) >= Version("26.2.1")
- assert len(args) > 1
- assert all(
- re.fullmatch(r"--hash=sha256:[0-9a-f]{64}", argument)
- for argument in args[1:]
+ assert sorted(args[1:]) == sorted(PIP_HASHES)
+
+
+def test_dockerfile_hash_checked_installs_enforce_wheels_only():
+ """Every ``--require-hashes`` install in the Dockerfile is wheels-only.
+
+ The bootstrap locks' hash sets list an sdist alongside the wheel for
+ some pins; without ``--only-binary=:all:`` a wheel-tag drift could
+ silently source-build from that sdist hash instead of failing loudly,
+ which is the failure mode the locks' headers promise. The release-gate
+ install sites are pinned by
+ ``test_clean_package_environment_bootstraps_before_fresh_resolution``;
+ this covers the Dockerfile consumers. The revert this catches: dropping
+ ``--only-binary=:all:`` from a Dockerfile pip install or download.
+ """
+ for line in commands((ROOT / "Dockerfile").read_text()):
+ arguments = line.split()
+ if "--require-hashes" in arguments:
+ assert "--only-binary=:all:" in arguments
+
+
+def test_milvus_bootstrap_install_enforces_wheels_only():
+ """The milvus CI bootstrap install is wheels-only for the same reason.
+
+ The revert this catches: dropping ``--only-binary=:all:`` from the
+ ``requirements/bootstrap-ci.txt`` install in milvus-tests.yml.
+ """
+ workflow = yaml.safe_load(
+ (ROOT / ".github/workflows/milvus-tests.yml").read_text()
+ )
+ scripts = [
+ step["run"]
+ for job in workflow["jobs"].values()
+ for step in job["steps"]
+ if "run" in step
+ ]
+ script = next(
+ script
+ for script in scripts
+ if "requirements/bootstrap-ci.txt" in script
+ )
+ install = next(
+ line
+ for line in commands(script)
+ if "requirements/bootstrap-ci.txt" in line and "pip install" in line
)
+ assert "--only-binary=:all:" in install.split()