From 4b316fdc3f809fcaf3437b47fdabd4c17ddd4dab Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Dec 02 2019 17:24:24 +0000 Subject: Reintroduce the OPENSSL_CONF=/non-existing-file workaround Since crypto-policies-20191002-1.gitc93dc99.fc32, the maximum version of TLS is customized in Fedora as well. See https://bugzilla.redhat.com/show_bug.cgi?id=1778357 and https://bugs.python.org/issue38815 This reverts commit b33b4a5162e2b5873c5846dcba882f3569ab76cd. --- diff --git a/python3.spec b/python3.spec index 0cc9ff5..0f5b6f9 100644 --- a/python3.spec +++ b/python3.spec @@ -1031,6 +1031,15 @@ CheckPython() { ConfName=$1 ConfDir=$(pwd)/build/$ConfName + # Fedora sets explicit minimum/maximum TLS versions. + # Python's test suite assumes that the minimum/maximum version is set to + # a magic marker. We workaround the test problem by setting: + export OPENSSL_CONF=/non-existing-file + # https://bugzilla.redhat.com/show_bug.cgi?id=1618753 + # https://bugzilla.redhat.com/show_bug.cgi?id=1778357 + # https://bugs.python.org/issue35045 + # https://bugs.python.org/issue38815 + echo STARTING: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName # Note that we're running the tests using the version of the code in the