From 1f6da723c5dc4964727d7969b86be568b40b50c7 Mon Sep 17 00:00:00 2001 From: Haoyu Sun Date: Mon, 12 Jan 2026 18:10:47 +0100 Subject: [PATCH] pin pip to 24.3.1 to make pybuild-deps work Signed-off-by: Haoyu Sun --- Makefile | 2 +- pyproject.toml | 1 + requirements-build.txt | 14 ++++++++++---- uv.lock | 8 +++++--- 4 files changed, 17 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index f2c845ba..5ca07bed 100644 --- a/Makefile +++ b/Makefile @@ -118,7 +118,7 @@ konflux-requirements: ## generate hermetic requirements.*.txt file for konflux b echo "torch==${TORCH_VERSION}" | uv pip compile - -o requirements.torch.txt --generate-hashes --python-version 3.12 --torch-backend cpu --emit-index-url --no-deps --index-url https://download.pytorch.org/whl/cpu --refresh uv run pybuild-deps compile --output-file=requirements-build.txt \ <(grep -v "^faiss-cpu" requirements.hermetic.txt) \ - <(grep -v "^faiss-cpu" requirements.x86_64.txt) + <(grep -Eo "^[a-zA-Z0-9][-a-zA-Z0-9._]*==[^ ]+" requirements.x86_64.txt | grep -v "^faiss-cpu") help: ## Show this help screen @echo 'Usage: make ... ' diff --git a/pyproject.toml b/pyproject.toml index fcb0582c..bfcfdfb9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -130,6 +130,7 @@ dev = [ "pytest-subtests>=0.14.2", "bandit>=1.8.6", "pybuild-deps>=0.5.0", + "pip==24.3.1", ] llslibdev = [ # To check llama-stack API provider dependecies: diff --git a/requirements-build.txt b/requirements-build.txt index c5affb33..936c8b76 100644 --- a/requirements-build.txt +++ b/requirements-build.txt @@ -25,6 +25,7 @@ cython==3.2.4 # pyarrow # pyyaml # scikit-learn + # scipy # sqlalchemy dunamai==1.25.0 # via uv-dynamic-versioning @@ -80,6 +81,7 @@ hatchling==1.26.3 # openai hatchling==1.28.0 # via + # a2a-sdk # annotated-types # attrs # dnspython @@ -118,7 +120,7 @@ jinja2==3.1.6 # via uv-dynamic-versioning markupsafe==3.0.3 # via jinja2 -maturin==1.11.2 +maturin==1.11.5 # via # cryptography # fastuuid @@ -151,7 +153,7 @@ packaging==25.0 # meson-python # scikit-build-core # setuptools-scm -pathspec==1.0.1 +pathspec==1.0.3 # via # hatchling # scikit-build-core @@ -211,12 +213,14 @@ setuptools-scm==9.2.2 # zipp tomlkit==0.13.3 # via uv-dynamic-versioning -trove-classifiers==2025.12.1.14 +trove-classifiers==2026.1.12.15 # via hatchling typing-extensions==4.15.0 # via setuptools-scm uv-dynamic-versioning==0.12.0 - # via mcp + # via + # a2a-sdk + # mcp versioneer==0.29 # via pandas wheel==0.45.1 @@ -254,6 +258,7 @@ setuptools==80.9.0 # emoji # fire # frozenlist + # google-api-core # googleapis-common-protos # greenlet # httpx-sse @@ -275,6 +280,7 @@ setuptools==80.9.0 # prometheus-client # prompt-toolkit # propcache + # proto-plus # psutil # pyarrow # pyasn1 diff --git a/uv.lock b/uv.lock index d2720620..1eef9084 100644 --- a/uv.lock +++ b/uv.lock @@ -1293,6 +1293,7 @@ dev = [ { name = "build" }, { name = "mypy" }, { name = "openapi-to-md" }, + { name = "pip" }, { name = "pybuild-deps" }, { name = "pydocstyle" }, { name = "pylint" }, @@ -1375,6 +1376,7 @@ dev = [ { name = "build", specifier = ">=1.2.2.post1" }, { name = "mypy", specifier = ">=1.16.0" }, { name = "openapi-to-md", specifier = ">=0.1.0b2" }, + { name = "pip", specifier = "==24.3.1" }, { name = "pybuild-deps", specifier = ">=0.5.0" }, { name = "pydocstyle", specifier = ">=6.3.0" }, { name = "pylint", specifier = ">=3.3.7" }, @@ -2182,11 +2184,11 @@ wheels = [ [[package]] name = "pip" -version = "25.3" +version = "24.3.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/fe/6e/74a3f0179a4a73a53d66ce57fdb4de0080a8baa1de0063de206d6167acc2/pip-25.3.tar.gz", hash = "sha256:8d0538dbbd7babbd207f261ed969c65de439f6bc9e5dbd3b3b9a77f25d95f343", size = 1803014, upload-time = "2025-10-25T00:55:41.394Z" } +sdist = { url = "https://files.pythonhosted.org/packages/f4/b1/b422acd212ad7eedddaf7981eee6e5de085154ff726459cf2da7c5a184c1/pip-24.3.1.tar.gz", hash = "sha256:ebcb60557f2aefabc2e0f918751cd24ea0d56d8ec5445fe1807f1d2109660b99", size = 1931073, upload-time = "2024-10-27T18:35:56.354Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/44/3c/d717024885424591d5376220b5e836c2d5293ce2011523c9de23ff7bf068/pip-25.3-py3-none-any.whl", hash = "sha256:9655943313a94722b7774661c21049070f6bbb0a1516bf02f7c8d5d9201514cd", size = 1778622, upload-time = "2025-10-25T00:55:39.247Z" }, + { url = "https://files.pythonhosted.org/packages/ef/7d/500c9ad20238fcfcb4cb9243eede163594d7020ce87bd9610c9e02771876/pip-24.3.1-py3-none-any.whl", hash = "sha256:3790624780082365f47549d032f3770eeb2b1e8bd1f7b2e02dace1afa361b4ed", size = 1822182, upload-time = "2024-10-27T18:35:53.067Z" }, ] [[package]]