Skip to content

Commit 3e04f3d

Browse files
committed
Generated requirements.overrides.txt
1 parent 0501018 commit 3e04f3d

10 files changed

Lines changed: 1545 additions & 2569 deletions

.tekton/lightspeed-service-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ spec:
5050
],
5151
"requirements_build_files": ["requirements-build.txt"],
5252
"binary": {
53-
"packages": "aiohappyeyeballs,aiohttp,aiosignal,aiosqlite,annotated-doc,annotated-types,anyio,attrs,certifi,cffi,click,colorama,cryptography,dataclasses-json,deprecated,distlib,distro,durationpy,faiss-cpu,filetype,frozenlist,fsspec,grpcio,h11,h2,hf-xet,hpack,httpcore,httpx,httpx-sse,hyperframe,idna,jinja2,jiter,jmespath,joblib,jsonpatch,jsonschema,jsonschema-specifications,langchain-community,marshmallow,mcp,mpmath,multidict,mypy-extensions,nest-asyncio,networkx,numpy,oauthlib,orjson,packaging,pandas,pillow,portalocker,prometheus-client,propcache,psycopg2-binary,pyasn1-modules,pycparser,pydantic,pydantic-core,python-dateutil,python-multipart,pyyaml,referencing,requests,requests-oauthlib,requests-toolbelt,rpds-py,safetensors,scikit-learn,scipy,setuptools,six,sniffio,sqlalchemy,sympy,threadpoolctl,tiktoken,tokenizers,torch,tqdm,transformers,triton,typing-extensions,typing-inspect,typing-inspection,tzdata,urllib3,uuid-utils,websocket-client,xxhash,yarl,zipp,zstandard,uv,uv-build,pip,maturin,griffe,griffecli,griffelib,rank_bm25",
53+
"packages": "aiohappyeyeballs,aiohttp,aiosignal,aiosqlite,annotated-doc,annotated-types,anyio,attrs,cachetools,certifi,cffi,charset-normalizer,click,colorama,cryptography,dataclasses-json,deprecated,distlib,distro,durationpy,faiss-cpu,fastapi,filelock,filetype,frozenlist,fsspec,google-auth,greenlet,grpcio,h11,h2,hf-xet,hpack,httpcore,httpx,httpx-sse,huggingface-hub,hyperframe,idna,jinja2,jiter,jmespath,joblib,jsonpatch,jsonpointer,jsonschema,jsonschema-specifications,langchain,langchain-classic,langchain-community,langchain-core,langchain-openai,langchain-text-splitters,langgraph,langgraph-checkpoint,langgraph-prebuilt,langgraph-sdk,langsmith,markdown-it-py,marshmallow,mcp,mdurl,mpmath,multidict,mypy-extensions,nest-asyncio,networkx,nltk,numpy,oauthlib,openai,orjson,ormsgpack,packaging,pandas,pillow,platformdirs,portalocker,prometheus-client,propcache,protobuf,psycopg2-binary,pyasn1,pyasn1-modules,pycparser,pydantic,pydantic-core,pydantic-settings,pygments,pyjwt,python-dateutil,python-dotenv,python-multipart,pytz,pyyaml,qdrant-client,referencing,regex,requests,requests-oauthlib,requests-toolbelt,rich,rpds-py,rsa,safetensors,scikit-learn,scipy,sentence-transformers,setuptools,shellingham,six,sniffio,sqlalchemy,sse-starlette,starlette,sympy,tabulate,tenacity,threadpoolctl,tiktoken,tokenizers,torch,tqdm,transformers,triton,typing-extensions,typing-inspect,typing-inspection,tzdata,urllib3,uuid-utils,uvicorn,virtualenv,websocket-client,wrapt,xxhash,yarl,zipp,zstandard,uv,uv-build,pip,maturin,griffe,griffecli,griffelib,rank_bm25",
5454
"os": "linux",
5555
"arch": "x86_64,aarch64",
5656
"py_version": 312

.tekton/lightspeed-service-push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ spec:
4949
],
5050
"requirements_build_files": ["requirements-build.txt"],
5151
"binary": {
52-
"packages": "aiohappyeyeballs,aiohttp,aiosignal,aiosqlite,annotated-doc,annotated-types,anyio,attrs,certifi,cffi,click,colorama,cryptography,dataclasses-json,deprecated,distlib,distro,durationpy,faiss-cpu,filetype,frozenlist,fsspec,grpcio,h11,h2,hf-xet,hpack,httpcore,httpx,httpx-sse,hyperframe,idna,jinja2,jiter,jmespath,joblib,jsonpatch,jsonschema,jsonschema-specifications,langchain-community,marshmallow,mcp,mpmath,multidict,mypy-extensions,nest-asyncio,networkx,numpy,oauthlib,orjson,packaging,pandas,pillow,portalocker,prometheus-client,propcache,psycopg2-binary,pyasn1-modules,pycparser,pydantic,pydantic-core,python-dateutil,python-multipart,pyyaml,referencing,requests,requests-oauthlib,requests-toolbelt,rpds-py,safetensors,scikit-learn,scipy,setuptools,six,sniffio,sqlalchemy,sympy,threadpoolctl,tiktoken,tokenizers,torch,tqdm,transformers,triton,typing-extensions,typing-inspect,typing-inspection,tzdata,urllib3,uuid-utils,websocket-client,xxhash,yarl,zipp,zstandard,uv,uv-build,pip,maturin,griffe,griffecli,griffelib,rank_bm25",
52+
"packages": "aiohappyeyeballs,aiohttp,aiosignal,aiosqlite,annotated-doc,annotated-types,anyio,attrs,cachetools,certifi,cffi,charset-normalizer,click,colorama,cryptography,dataclasses-json,deprecated,distlib,distro,durationpy,faiss-cpu,fastapi,filelock,filetype,frozenlist,fsspec,google-auth,greenlet,grpcio,h11,h2,hf-xet,hpack,httpcore,httpx,httpx-sse,huggingface-hub,hyperframe,idna,jinja2,jiter,jmespath,joblib,jsonpatch,jsonpointer,jsonschema,jsonschema-specifications,langchain,langchain-classic,langchain-community,langchain-core,langchain-openai,langchain-text-splitters,langgraph,langgraph-checkpoint,langgraph-prebuilt,langgraph-sdk,langsmith,markdown-it-py,marshmallow,mcp,mdurl,mpmath,multidict,mypy-extensions,nest-asyncio,networkx,nltk,numpy,oauthlib,openai,orjson,ormsgpack,packaging,pandas,pillow,platformdirs,portalocker,prometheus-client,propcache,protobuf,psycopg2-binary,pyasn1,pyasn1-modules,pycparser,pydantic,pydantic-core,pydantic-settings,pygments,pyjwt,python-dateutil,python-dotenv,python-multipart,pytz,pyyaml,qdrant-client,referencing,regex,requests,requests-oauthlib,requests-toolbelt,rich,rpds-py,rsa,safetensors,scikit-learn,scipy,sentence-transformers,setuptools,shellingham,six,sniffio,sqlalchemy,sse-starlette,starlette,sympy,tabulate,tenacity,threadpoolctl,tiktoken,tokenizers,torch,tqdm,transformers,triton,typing-extensions,typing-inspect,typing-inspection,tzdata,urllib3,uuid-utils,uvicorn,virtualenv,websocket-client,wrapt,xxhash,yarl,zipp,zstandard,uv,uv-build,pip,maturin,griffe,griffecli,griffelib,rank_bm25",
5353
"os": "linux",
5454
"arch": "x86_64,aarch64",
5555
"py_version": 312

pyproject.toml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
[tool.uv]
2+
environments = [
3+
"sys_platform == 'linux' and platform_machine == 'x86_64'",
4+
"sys_platform == 'linux' and platform_machine == 'aarch64'",
5+
]
6+
constraint-dependencies = ["typer-slim[standard]<0.22"]
7+
18
[tool.ruff]
29

310
# description of all rules are available on https://docs.astral.sh/ruff/rules/
@@ -16,6 +23,7 @@ line-length = 100
1623
[tool.ruff.lint.per-file-ignores]
1724
"tests/*" = ["S101"]
1825
"scripts/*" = ["S101"]
26+
"scripts/generate_requirements_overrides.py" = ["C901", "D", "PERF401", "S310", "S603"]
1927

2028
[tool.hatch.version]
2129
path = "ols/version.py"
@@ -72,10 +80,10 @@ dev = [
7280
"pybuild-deps>=0.5.0",
7381
]
7482

75-
# The following section is needed only for torch[cpu] variant on Linux,
76-
# because this variant need to be downloaded from external link, not from
77-
# standard Python package index:
78-
#
83+
# Konflux/RHOAI does not use [tool.uv.sources] for torch. Steering (including torch)
84+
# to RHOAI wheels is done only via requirements.overrides.txt and
85+
# scripts/konflux_requirements.sh (uv pip compile --override …, dual indexes).
86+
# Optional local CPU-only PyTorch from PyTorch’s index (not used in Konflux):
7987
# [tool.uv.sources]
8088
# torch = { url = "https://download.pytorch.org/whl/cpu/torch_stable.html" }
8189

@@ -119,7 +127,8 @@ dependencies = [
119127
"urllib3>=2.6.3",
120128
"zipp>=3.20.1",
121129
"jinja2>=3.1.6",
122-
"starlette>=0.49.1",
130+
# Range chosen so `uv pip compile` + RHOAI override stays solvable (not latest PyPI only).
131+
"starlette>=0.49.1,<0.51",
123132
"virtualenv>=20.28.0",
124133
"requests>=2.32.2",
125134
"transformers>=4.50.3",
@@ -129,7 +138,7 @@ dependencies = [
129138
"rank-bm25>=0.2.2", # For ToolsRAG sparse retrieval
130139
"python-frontmatter>=1.1.0", # For parsing skill YAML frontmatter
131140
]
132-
requires-python = ">=3.11.1,<3.13"
141+
requires-python = ">=3.12,<3.13"
133142
readme = "README.md"
134143
license = {file = "LICENSE"}
135144

requirements-build.txt

Lines changed: 10 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
5-
# pybuild-deps compile --output-file=requirements-build.txt /tmp/tmp.oaqJtgTyd7
5+
# pybuild-deps compile --output-file=requirements-build.txt (Konflux filtered package list)
66
#
7-
build==1.4.0
7+
build==1.4.2
88
# via ibm-watsonx-ai
99
calver==2025.10.20
1010
# via trove-classifiers
@@ -16,128 +16,71 @@ flit-core==3.12.0
1616
# pyproject-hooks
1717
# tinytag
1818
# wheel
19-
hatch-fancy-pypi-readme==25.1.0
20-
# via
21-
# llama-cloud
22-
# openai
23-
hatch-vcs==0.5.0
24-
# via
25-
# filelock
26-
# platformdirs
27-
# python-discovery
28-
# virtualenv
29-
hatchling==1.26.3
30-
# via
31-
# hatch-fancy-pypi-readme
32-
# llama-cloud
33-
# openai
3419
hatchling==1.29.0
3520
# via
36-
# filelock
37-
# hatch-fancy-pypi-readme
38-
# hatch-vcs
39-
# langchain
40-
# langchain-classic
41-
# langchain-core
42-
# langchain-openai
43-
# langchain-text-splitters
44-
# langgraph
45-
# langgraph-checkpoint
46-
# langgraph-prebuilt
47-
# langgraph-sdk
48-
# langsmith
4921
# llama-index
5022
# llama-index-cli
5123
# llama-index-core
5224
# llama-index-embeddings-huggingface
5325
# llama-index-embeddings-openai
54-
# llama-index-indices-managed-llama-cloud
5526
# llama-index-instrumentation
5627
# llama-index-llms-openai
57-
# llama-index-readers-llama-parse
5828
# llama-index-vector-stores-faiss
59-
# platformdirs
60-
# pydantic-settings
61-
# python-discovery
62-
# starlette
63-
# uvicorn
64-
# virtualenv
6529
maturin==1.10.2
66-
# via
67-
# ormsgpack
68-
# uv-build
30+
# via uv-build
6931
packaging==26.0
7032
# via
7133
# build
7234
# hatchling
7335
# setuptools-scm
36+
# vcs-versioning
7437
# wheel
7538
pathspec==1.0.4
7639
# via hatchling
7740
pdm-backend==2.4.7
7841
# via
79-
# fastapi
8042
# langchain-ibm
8143
# langchain-mcp-adapters
44+
# typer-slim
8245
pluggy==1.6.0
8346
# via hatchling
84-
poetry-core==2.3.1
85-
# via
86-
# llama-parse
87-
# qdrant-client
8847
pyproject-hooks==1.2.0
8948
# via build
9049
pytest-runner==6.0.1
9150
# via lomond
9251
semantic-version==2.10.0
9352
# via setuptools-rust
94-
setuptools-rust==1.12.0
53+
setuptools-rust==1.12.1
9554
# via maturin
96-
setuptools-scm==9.2.2
55+
setuptools-scm==10.0.5
9756
# via
98-
# hatch-vcs
9957
# pluggy
10058
# pytest-runner
10159
# setuptools-rust
102-
# tabulate
103-
# tenacity
10460
trove-classifiers==2026.1.14.14
10561
# via hatchling
10662
uv-build==0.9.30
10763
# via llama-index-workflows
64+
vcs-versioning==1.1.1
65+
# via setuptools-scm
10866
wheel==0.46.3
10967
# via
11068
# azure-core
11169
# azure-identity
112-
# cachetools
113-
# sentence-transformers
114-
# wrapt
11570

11671
# The following packages are considered to be unsafe in a requirements file:
117-
setuptools==82.0.0
118-
# via charset-normalizer
11972
setuptools==82.0.1
12073
# via
12174
# azure-core
12275
# azure-identity
123-
# cachetools
12476
# calver
125-
# greenlet
12677
# ibm-watsonx-ai
12778
# markupsafe
12879
# maturin
12980
# pathspec
13081
# pluggy
131-
# pyasn1
132-
# pyjwt
13382
# pytest-runner
134-
# python-dotenv
135-
# regex
136-
# sentence-transformers
13783
# setuptools-rust
13884
# setuptools-scm
139-
# sse-starlette
140-
# tabulate
141-
# tenacity
14285
# trove-classifiers
143-
# wrapt
86+
# vcs-versioning

0 commit comments

Comments
 (0)