diff options
| author | Mingli Yu <mingli.yu@windriver.com> | 2025-07-01 17:16:38 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-07-01 08:11:12 -0700 |
| commit | 5cce697ae18a519c486bc3070ab0ed6dd9bde1d5 (patch) | |
| tree | 926921ad2dfd9dce47bdbe1af5d809e33e5789f3 /meta-python/recipes-devtools/python/python3-m2crypto_0.45.1.bb | |
| parent | 9b7e0506cef315eceb6e96dd3f68b070908790c1 (diff) | |
| download | meta-openembedded-5cce697ae18a519c486bc3070ab0ed6dd9bde1d5.tar.gz | |
python3-m2crypto: Use qq format when time_t is 64bit on 32bit system
Fixes:
# python3 -munittest -v test_ssl.MiscSSLClientTestCase.test_server_simple_timeouts
test_server_simple_timeouts (test_ssl.MiscSSLClientTestCase.test_server_simple_timeouts) ... ERROR
======================================================================
ERROR: test_server_simple_timeouts (test_ssl.MiscSSLClientTestCase.test_server_simple_timeouts)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/python3-m2crypto/tests/test_ssl.py", line 474, in test_server_simple_timeouts
s.set_socket_read_timeout(SSL.timeout())
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/M2Crypto/SSL/Connection.py", line 680, in set_socket_read_timeout
self.socket.setsockopt(
~~~~~~~~~~~~~~~~~~~~~~^
socket.SOL_SOCKET, socket.SO_RCVTIMEO, timeo.pack()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
OSError: [Errno 22] Invalid argument
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-m2crypto_0.45.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-m2crypto_0.45.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.45.1.bb b/meta-python/recipes-devtools/python/python3-m2crypto_0.45.1.bb index b029b2978c..e0e9fdb2bb 100644 --- a/meta-python/recipes-devtools/python/python3-m2crypto_0.45.1.bb +++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.45.1.bb | |||
| @@ -8,6 +8,7 @@ SRC_URI[sha256sum] = "d0fc81a8828edbf4308432b3040bf06bb26bad95abb9e7d4690b611855 | |||
| 8 | 8 | ||
| 9 | SRC_URI += " \ | 9 | SRC_URI += " \ |
| 10 | file://0001-setup.py-Make-the-cmd-available.patch \ | 10 | file://0001-setup.py-Make-the-cmd-available.patch \ |
| 11 | file://0001-timeout.py-use-qq-format-when-time_t-is-64bit-on-32b.patch \ | ||
| 11 | " | 12 | " |
| 12 | 13 | ||
| 13 | inherit pypi siteinfo python_setuptools_build_meta | 14 | inherit pypi siteinfo python_setuptools_build_meta |
