python3: backport a fix so the test suite passes with OpenSSL 3.0.1

The test suite makes incorrect assumptions about OpenSSL versions post-
3.0, so backport the fix for the test suite.

(From OE-Core rev: 2b5e9cfd2c1914d606725029c59cd50cca3d5511)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2021-12-20 15:23:42 +00:00
committed by Richard Purdie
parent 2969d72edb
commit 679cb095f2
2 changed files with 61 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
file://makerace.patch \
file://0001-sysconfig.py-use-platlibdir-also-for-purelib.patch \
file://0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch \
file://0001-bpo-46114-Fix-OpenSSL-version-check-for-3.0.1-GH-301.patch \
"
SRC_URI:append:class-native = " \