You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by sz...@apache.org on 2021/06/23 16:55:53 UTC
[nifi-minifi-cpp] 05/06: MINIFICPP-1595 Pin pip package versions in
requirements.txt
This is an automated email from the ASF dual-hosted git repository.
szaszm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
commit dd42a049f18f7d854c2c810a0b786539fa250a83
Author: Gabor Gyimesi <ga...@gmail.com>
AuthorDate: Wed Jun 23 18:42:36 2021 +0200
MINIFICPP-1595 Pin pip package versions in requirements.txt
Closes #1115
Signed-off-by: Marton Szasz <sz...@apache.org>
---
docker/DockerVerify.sh | 8 +-------
docker/requirements.txt | 6 ++++++
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/docker/DockerVerify.sh b/docker/DockerVerify.sh
index 7361a2e..cbe2b82 100755
--- a/docker/DockerVerify.sh
+++ b/docker/DockerVerify.sh
@@ -57,13 +57,7 @@ if ! command swig -version &> /dev/null; then
exit 1
fi
-pip install --upgrade \
- behave \
- pytimeparse \
- docker \
- PyYAML \
- m2crypto \
- watchdog
+pip install -r "${docker_dir}/requirements.txt"
JAVA_HOME="/usr/lib/jvm/default-jvm"
export JAVA_HOME
PATH="$PATH:/usr/lib/jvm/default-jvm/bin"
diff --git a/docker/requirements.txt b/docker/requirements.txt
new file mode 100644
index 0000000..4abac40
--- /dev/null
+++ b/docker/requirements.txt
@@ -0,0 +1,6 @@
+behave==1.2.6
+pytimeparse==1.1.8
+docker==5.0.0
+PyYAML==5.4.1
+m2crypto==0.37.1
+watchdog==2.1.2