-
Notifications
You must be signed in to change notification settings - Fork 24
Update Python dependencies to RHOAI index 3.4 #176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| BASE_IMAGE=registry.redhat.io/rhai/base-image-cpu-rhel9:3.3 | ||
| BASE_IMAGE=registry.redhat.io/rhai-early-access/base-image-cpu-rhel9:3.4.0-ea.2-1775076373 | ||
| DNF_COMMAND=dnf |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,88 +8,41 @@ calver==2025.10.20 | |
| # via trove-classifiers | ||
| cython==3.2.4 | ||
| # via | ||
| # oracledb | ||
| # lxml | ||
| # pyclipper | ||
| # sqlalchemy | ||
| dunamai==1.26.1 | ||
| # via uv-dynamic-versioning | ||
| expandvars==1.1.2 | ||
| # via yarl | ||
| flit-core==3.12.0 | ||
| # via | ||
| # aiosqlite | ||
| # click | ||
| # jinja2 | ||
| # idna | ||
| # packaging | ||
| # pathspec | ||
| # pypdf | ||
| # tinytag | ||
| # wheel | ||
| hatch-fancy-pypi-readme==25.1.0 | ||
| # via | ||
| # attrs | ||
| # llama-stack-client | ||
| # openai | ||
| # pydantic | ||
| hatch-vcs==0.5.0 | ||
| # via | ||
| # attrs | ||
| # chardet | ||
| # filelock | ||
| # fsspec | ||
| # platformdirs | ||
| # via filelock | ||
| hatchling==1.26.3 | ||
| # via | ||
| # hatch-fancy-pypi-readme | ||
| # llama-stack-client | ||
| # openai | ||
| hatchling==1.29.0 | ||
| # via | ||
| # attrs | ||
| # banks | ||
| # chardet | ||
| # expandvars | ||
| # filelock | ||
| # fsspec | ||
| # griffe | ||
| # griffecli | ||
| # griffelib | ||
| # hatch-fancy-pypi-readme | ||
| # hatch-vcs | ||
|
Comment on lines
23
to
33
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Detect duplicate pinned package names in requirements-build.txt.
set -euo pipefail
python - <<'PY'
import re
from collections import defaultdict
fname = "requirements-build.txt"
pat = re.compile(r'^([A-Za-z0-9_.-]+)==([^\s]+)')
seen = defaultdict(list)
with open(fname, encoding="utf-8") as f:
for i, line in enumerate(f, 1):
m = pat.match(line.strip())
if m:
seen[m.group(1).lower()].append((i, m.group(2)))
dups = {k:v for k,v in seen.items() if len(v) > 1}
if not dups:
print("No duplicate pinned package names found.")
else:
print("Duplicate pinned package names:")
for pkg, rows in sorted(dups.items()):
print(f"- {pkg}: " + ", ".join([f'line {ln} -> {ver}' for ln, ver in rows]))
PYRepository: lightspeed-core/rag-content Length of output: 203 🏁 Script executed: cat -n requirements-build.txt | head -90Repository: lightspeed-core/rag-content Length of output: 2561 Fix conflicting duplicate package pins in auto-generated build requirements. This auto-generated file contains multiple unpinned versions of the same packages ( Fix by resolving the conflicting requirements in your source dependency file ( 🤖 Prompt for AI Agents |
||
| # latex2mathml | ||
| # llama-index | ||
| # llama-index-core | ||
| # llama-index-embeddings-huggingface | ||
| # llama-index-embeddings-openai | ||
| # llama-index-instrumentation | ||
| # llama-index-llms-openai | ||
| # llama-index-readers-file | ||
| # llama-index-vector-stores-faiss | ||
| # llama-index-vector-stores-postgres | ||
| # mcp | ||
| # opentelemetry-api | ||
| # opentelemetry-exporter-otlp-proto-common | ||
| # opentelemetry-exporter-otlp-proto-http | ||
| # opentelemetry-proto | ||
| # opentelemetry-sdk | ||
| # opentelemetry-semantic-conventions | ||
| # platformdirs | ||
| # polyfactory | ||
| # pydantic | ||
| # pydantic-settings | ||
| # pygments | ||
| # python-multipart | ||
| # semchunk | ||
| # soupsieve | ||
| # starlette | ||
| # uv-dynamic-versioning | ||
| # uvicorn | ||
| # wcwidth | ||
| jinja2==3.1.6 | ||
| # via uv-dynamic-versioning | ||
| markupsafe==3.0.3 | ||
| # via jinja2 | ||
| maturin==1.10.2 | ||
| # via uv-build | ||
| packaging==26.0 | ||
| # via pydantic-core | ||
| packaging==26.1 | ||
| # via | ||
| # hatchling | ||
| # setuptools-scm | ||
|
|
@@ -98,91 +51,45 @@ packaging==26.0 | |
| pathspec==1.0.4 | ||
| # via hatchling | ||
| pdm-backend==2.4.8 | ||
| # via | ||
| # fastapi | ||
| # griffe | ||
| # griffecli | ||
| # griffelib | ||
| # typer | ||
| # via fastapi | ||
| pluggy==1.6.0 | ||
| # via hatchling | ||
| poetry-core==2.3.2 | ||
| # via | ||
| # dunamai | ||
| # rich | ||
| # tomlkit | ||
| semantic-version==2.10.0 | ||
| # via setuptools-rust | ||
| setuptools-rust==1.12.1 | ||
| # via maturin | ||
| setuptools-scm==10.0.5 | ||
| # via | ||
| # anyio | ||
| # hatch-vcs | ||
| # llama-stack | ||
| # llama-stack-api | ||
| # pluggy | ||
| # pyclipper | ||
| # setuptools-rust | ||
| # tabulate | ||
| # tenacity | ||
| tomlkit==0.14.0 | ||
| # via uv-dynamic-versioning | ||
| trove-classifiers==2026.1.14.14 | ||
| # via hatchling | ||
| uv-build==0.9.30 | ||
| # via llama-index-workflows | ||
| uv-dynamic-versioning==0.14.0 | ||
| # via | ||
| # griffe | ||
| # griffecli | ||
| # griffelib | ||
| # mcp | ||
| vcs-versioning==1.1.1 | ||
| # via setuptools-scm | ||
| wheel==0.46.3 | ||
| # via | ||
| # oracledb | ||
| # oci | ||
| # pyclipper | ||
| # sentence-transformers | ||
| # tornado | ||
| # tzdata | ||
| # wrapt | ||
|
|
||
| # The following packages are considered to be unsafe in a requirements file: | ||
| setuptools==78.1.1 | ||
| # via oci | ||
| setuptools==82.0.1 | ||
| # via | ||
| # anyio | ||
| # calver | ||
| # certifi | ||
| # charset-normalizer | ||
| # colorlog | ||
| # googleapis-common-protos | ||
| # llama-stack | ||
| # llama-stack-api | ||
| # markupsafe | ||
| # lxml | ||
| # maturin | ||
| # multiprocess | ||
| # oracledb | ||
| # pathspec | ||
| # pgvector | ||
| # pluggy | ||
| # psutil | ||
| # pyclipper | ||
| # pyjwt | ||
| # python-dotenv | ||
| # regex | ||
| # requests | ||
| # sentence-transformers | ||
| # setuptools-rust | ||
| # setuptools-scm | ||
| # sqlalchemy | ||
| # sse-starlette | ||
| # tabulate | ||
| # tenacity | ||
| # tornado | ||
| # trove-classifiers | ||
| # tzdata | ||
| # vcs-versioning | ||
| # wrapt | ||
| # yarl | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: lightspeed-core/rag-content
Length of output: 136
🏁 Script executed:
Repository: lightspeed-core/rag-content
Length of output: 626
🏁 Script executed:
Repository: lightspeed-core/rag-content
Length of output: 87
🏁 Script executed:
Repository: lightspeed-core/rag-content
Length of output: 4671
🏁 Script executed:
Repository: lightspeed-core/rag-content
Length of output: 397
🏁 Script executed:
Repository: lightspeed-core/rag-content
Length of output: 2128
🏁 Script executed:
Repository: lightspeed-core/rag-content
Length of output: 2835
🏁 Script executed:
Repository: lightspeed-core/rag-content
Length of output: 402
🏁 Script executed:
Repository: lightspeed-core/rag-content
Length of output: 141
Add
llama-stack-apito the binary packages allowlist.Both
.tekton/rag-tool-push.yamland.tekton/rag-tool-pull-request.yamluse identical package allowlists that includellama-stackandllama-stack-clientbut omitllama-stack-api. However,llama-stack-api==0.5.0appears inrequirements.hashes.source.txtandrequirements.hashes.source.cuda.txt. Add it to thebinary.packageslist to maintain consistency with requirements files across both pipeline configurations.🤖 Prompt for AI Agents