Skip to content

Commit 544a91d

Browse files
committed
RHOAIENG-18714: chore(deps): keep requirements.txt in sync with Pipfile.lock
1 parent b757f86 commit 544a91d

File tree

19 files changed

+35345
-0
lines changed

19 files changed

+35345
-0
lines changed

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,11 @@ refresh-pipfilelock-files:
463463
fi
464464
done
465465

466+
echo "Regenerating requirements.txt files"
467+
pushd $(ROOT_DIR)
468+
bash $(ROOT_DIR)/scripts/sync-requirements-txt.sh
469+
popd
470+
466471
# This is only for the workflow action
467472
# For running manually, set the required environment variables
468473
.PHONY: scan-image-vulnerabilities

base/c9s-python-3.11/requirements.txt

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Generated by /scripts/sync-requirements-txt.sh from Pipfile.lock
2+
3+
--index-url https://pypi.org/simple
4+
#
5+
# Default dependencies
6+
#
7+
setuptools==70.0.0; python_version >= '3.8' \
8+
--hash=sha256:54faa7f2e8d2d11bcd2c07bed282eef1046b5c080d1c32add737d7b5817b1ad4 \
9+
--hash=sha256:f211a66637b8fa059bb28183da127d4e86396c991a942b028c6650d4319c3fd0
10+
wheel==0.43.0; python_version >= '3.8' \
11+
--hash=sha256:465ef92c69fa5c5da2d1cf8ac40559a8c940886afcef87dcf14b9470862f1d85 \
12+
--hash=sha256:55c570405f142630c6b9f72fe09d9b67cf1477fcf543ae5b8dcb1f5b7377da81
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Generated by /scripts/sync-requirements-txt.sh from Pipfile.lock
2+
3+
--index-url https://pypi.org/simple
4+
#
5+
# Default dependencies
6+
#
7+
setuptools==74.1.3; python_version >= '3.8' \
8+
--hash=sha256:1cfd66bfcf197bce344da024c8f5b35acc4dcb7ca5202246a75296b4883f6851 \
9+
--hash=sha256:fbb126f14b0b9ffa54c4574a50ae60673bbe8ae0b1645889d10b3b14f5891d28
10+
wheel==0.44.0; python_version >= '3.8' \
11+
--hash=sha256:2376a90c98cc337d18623527a97c31797bd02bad0033d41547043a1cbfbe448f \
12+
--hash=sha256:a29c3f2817e95ab89aa4660681ad547c0e9547f20e75b0562fe7723c9a2a9d49

ci/generate_code.sh

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
set -Eeuxo pipefail
33

44
python3 ci/cached-builds/gen_gha_matrix_jobs.py
5+
bash scripts/sync-requirements-txt.sh

codeserver/ubi9-python-3.11/requirements.txt

+1,462
Large diffs are not rendered by default.

jupyter/datascience/ubi9-python-3.11/requirements.txt

+3,234
Large diffs are not rendered by default.

jupyter/minimal/ubi9-python-3.11/requirements.txt

+1,284
Large diffs are not rendered by default.

jupyter/pytorch/ubi9-python-3.11/requirements.txt

+3,246
Large diffs are not rendered by default.

jupyter/rocm/pytorch/ubi9-python-3.11/requirements.txt

+3,199
Large diffs are not rendered by default.

jupyter/rocm/tensorflow/ubi9-python-3.11/requirements.txt

+3,024
Large diffs are not rendered by default.

jupyter/tensorflow/ubi9-python-3.11/requirements.txt

+3,166
Large diffs are not rendered by default.

jupyter/trustyai/ubi9-python-3.11/requirements.txt

+3,330
Large diffs are not rendered by default.

runtimes/datascience/ubi9-python-3.11/requirements.txt

+2,414
Large diffs are not rendered by default.

runtimes/minimal/ubi9-python-3.11/requirements.txt

+779
Large diffs are not rendered by default.

runtimes/pytorch/ubi9-python-3.11/requirements.txt

+2,507
Large diffs are not rendered by default.

runtimes/rocm-pytorch/ubi9-python-3.11/requirements.txt

+2,460
Large diffs are not rendered by default.

runtimes/rocm-tensorflow/ubi9-python-3.11/requirements.txt

+2,528
Large diffs are not rendered by default.

runtimes/tensorflow/ubi9-python-3.11/requirements.txt

+2,670
Large diffs are not rendered by default.

scripts/sync-requirements-txt.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
set -Eeuxo pipefail
3+
4+
# Our build tooling depends on requirements.txt files with hashes
5+
# Namely, Konflux (https://konflux-ci.dev/), and Cachi2 (https://github.com/containerbuildsystem/cachi2).
6+
7+
# The following will create an extra requirement.txt file for every Pipfile.lock we have.
8+
micropipenv --version || pip install micropipenv
9+
find . -name Pipfile.lock -execdir bash -c '
10+
echo "# Generated by /scripts/sync-requirements-txt.sh from Pipfile.lock" > requirements.txt &&
11+
echo >> requirements.txt &&
12+
micropipenv requirements >> requirements.txt' \;

0 commit comments

Comments
 (0)