From 5f47d47f27f802a58766971d282e6463fc50acde Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sat, 8 Jan 2022 15:07:00 +0100 Subject: [PATCH] Restrict PyNaCL to 1.4.x on RHEL8 when using Python 3.6 (#4006) (#4009) * Restrict PyNaCL to 1.4.x on RHEL8 when using Python 3.6. * Fix typo. (cherry picked from commit 77a930cf6b4cbf39af09cbdfbebc2c9a44bf748e) Co-authored-by: Felix Fontein --- tests/utils/shippable/remote.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/utils/shippable/remote.sh b/tests/utils/shippable/remote.sh index cd3014ccac..76065b8178 100755 --- a/tests/utils/shippable/remote.sh +++ b/tests/utils/shippable/remote.sh @@ -17,6 +17,10 @@ fi stage="${S:-prod}" provider="${P:-default}" +if [ "${platform}" == "rhel" ] && [[ "${version}" =~ ^8 ]]; then + echo "pynacl >= 1.4.0, < 1.5.0; python_version == '3.6'" >> tests/utils/constraints.txt +fi + # shellcheck disable=SC2086 ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \ --remote "${platform}/${version}" --remote-terminate always --remote-stage "${stage}" --remote-provider "${provider}"