The python3.6 package
Find a file
Miro Hrončok 6d94686605 Workaround failing test_ssl
The failure:

    ======================================================================
    ERROR: test_protocol_sslv23 (test.test_ssl.ThreadedTests)
    Connecting to an SSLv23 server with various client options
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/test/test_ssl.py", line 178, in f
        return func(*args, **kwargs)
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/test/test_ssl.py", line 2696, in test_protocol_sslv23
        try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1, 'TLSv1')
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/test/test_ssl.py", line 2385, in try_protocol_combo
        chatty=False, connectionchatty=False)
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/test/test_ssl.py", line 2310, in server_params_test
        s.connect((HOST, server.port))
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/ssl.py", line 1065, in connect
        self._real_connect(addr, False)
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/ssl.py", line 1056, in _real_connect
        self.do_handshake()
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/ssl.py", line 1033, in do_handshake
        self._sslobj.do_handshake()
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/ssl.py", line 645, in do_handshake
        self._sslobj.do_handshake()
    ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:877)
    ======================================================================
    ERROR: test_protocol_tlsv1_1 (test.test_ssl.ThreadedTests)
    Connecting to a TLSv1.1 server with various client options.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/test/test_ssl.py", line 178, in f
        return func(*args, **kwargs)
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/test/test_ssl.py", line 2771, in test_protocol_tlsv1_1
        try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1_1, 'TLSv1.1')
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/test/test_ssl.py", line 2385, in try_protocol_combo
        chatty=False, connectionchatty=False)
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/test/test_ssl.py", line 2310, in server_params_test
        s.connect((HOST, server.port))
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/ssl.py", line 1065, in connect
        self._real_connect(addr, False)
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/ssl.py", line 1056, in _real_connect
        self.do_handshake()
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/ssl.py", line 1033, in do_handshake
        self._sslobj.do_handshake()
      File "/builddir/build/BUILD/Python-3.6.11rc1/Lib/ssl.py", line 645, in do_handshake
        self._sslobj.do_handshake()
    ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:877)
    ----------------------------------------------------------------------
    Ran 135 tests in 2.293s
    FAILED (errors=2, skipped=9)
    1 test failed again:
        test_ssl
    == Tests result: FAILURE then FAILURE ==

Started to occur after:

    -crypto-policies-20200610-1.git7f9d474.fc33.noarch
    +crypto-policies-20200625-1.gitb298a9e.fc33.noarch

> DEFAULT policy: Drop DH < 2048 bits, TLS 1.0, 1.1, SHA-1

Upstream fix:

 - https://bugs.python.org/issue38275
 - https://github.com/python/cpython/pull/16427
2020-06-29 19:26:09 +02:00
tests Rename from python36 to python3.6 2020-05-06 21:00:35 +02:00
.gitignore Build with $RPM_LD_FLAGS (#756863). 2012-01-04 22:15:40 +02:00
00001-rpath.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00102-lib64.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00111-no-static-lib.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00132-add-rpmbuild-hooks-to-unittest.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00155-avoid-ctypes-thunks.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00160-disable-test_fs_holes-in-rpm-build.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00163-disable-parts-of-test_socket-in-rpm-build.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00170-gc-assertions.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00178-dont-duplicate-flags-in-sysconfig.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00189-use-rpm-wheels.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00251-change-user-install-location.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00262-pep538_coerce_legacy_c_locale.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00274-fix-arch-names.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00292-restore-PyExc_RecursionErrorInst-symbol.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00294-define-TLS-cipher-suite-on-build-time.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
00343-faulthandler-gcc10.patch Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00
check-pyc-timestamps.py Renew check-pyc-timestamps.py 2018-08-23 15:19:13 +02:00
idle3.appdata.xml Add AppData and desktop file for IDLE 3 (rhbz#1392049) 2017-02-28 14:33:44 +01:00
idle3.desktop Add AppData and desktop file for IDLE 3 (rhbz#1392049) 2017-02-28 14:33:44 +01:00
pubkeys.txt Verify upstream sources with GPG 2019-11-11 15:47:42 +01:00
python3.6.rpmlintrc Rename from python36 to python3.6 2020-05-06 21:00:35 +02:00
python3.6.spec Workaround failing test_ssl 2020-06-29 19:26:09 +02:00
sources Update to 3.6.11rc1 2020-06-19 20:54:46 +02:00