Pre-downloaded Python dependencies for ocp-virt-validation-checkup hermetic builds.
The ocp-virt-validation-checkup Konflux build requires Python dependencies from openshift-virtualization-tests.
This repo stores the downloaded wheel and sdist files so the hermetic
build can install them offline via pip install --find-links without
needing Hermeto pip prefetching.
- A GitHub Actions workflow polls
openshift-virtualization-testsevery 30 minutes for new commits - When a change is detected, it exports
requirements.txtfromuv.lockand downloads all packages (wheels + sdists for all target architectures) - The files are committed to the
deps/directory - The midstream repo references this repo as a git submodule
- The hermetic Dockerfile uses
pip install --find-linkson the local files
| This repo | Upstream branch |
|---|---|
release-4.22 |
cnv-4.22 |
main |
main |
upstream/openshift-virtualization-tests-- submodule tracking upstreamrequirements.txt-- exported fromuv.lock, fully resolved with hashesdeps/-- downloaded wheels and sdists for x86_64, aarch64, s390x
git submodule update --remote upstream/openshift-virtualization-tests
cd upstream/openshift-virtualization-tests
uv export --format requirements.txt --frozen --no-dev --output-file ../../requirements.txt
cd ../..
pip download -r requirements.txt --dest deps/ --no-deps --prefer-binary
git add -A && git commit -m "Sync deps" && git push