Commit 6a9238e217 for openssl.org
commit 6a9238e2174b2956058bd6fbe20736ec7e992670
Author: Jakub Zelenka <jakub.zelenka@openssl.foundation>
Date: Tue Sep 8 18:50:17 2026 +0200
cryptography.sh: install vectors from the submodule
The test dependency group pulls cryptography_vectors from PyPI,
which only matches when the submodule is pinned at a released
version. With a development snapshot pinned, test_vector_version
fails on the version mismatch. Install the in-tree vectors package
on top to keep the versions in sync.
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Bob Beck <beck@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Merge-date: Wed Sep 9 07:10:44 2026
Merged-from: https://github.com/openssl/openssl/pull/32747
diff --git a/test/recipes/95-test_external_pyca_data/cryptography.sh b/test/recipes/95-test_external_pyca_data/cryptography.sh
index 36747be212..2bbcec789c 100755
--- a/test/recipes/95-test_external_pyca_data/cryptography.sh
+++ b/test/recipes/95-test_external_pyca_data/cryptography.sh
@@ -64,6 +64,9 @@ echo "------------------------------------------------------------------"
echo "Building cryptography and installing test requirements"
echo "------------------------------------------------------------------"
OPENSSL_LIB_DIR="$O_LIB" OPENSSL_INCLUDE_DIR="$INSTALLTOP/include/" pip install . --group test
+# Replace the PyPI cryptography_vectors with the in-tree one so the
+# versions match when the submodule is not pinned at a PyPI release
+pip install ./vectors
echo "------------------------------------------------------------------"
echo "Print linked libraries"