Public bug reported:

python-elastic-transport is failing to build because 
tests/node/test_tls_versions.py
uses ssl.PROTOCOL_TLSv1, an attribute which was removed in OpenSSL 4.

==================================== ERRORS ====================================
_ ERROR collecting 
.pybuild/cpython3_3.15_elastic-transport/build/tests/node/test_tls_versions.py _
tests/node/test_tls_versions.py:53: in <module>
    (TLSv1_0_URL, ssl.PROTOCOL_TLSv1),
                  ^^^^^^^^^^^^^^^^^^
E   AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLSv1'. Did you 
mean '.PROTOCOL_TLS' instead of '.PROTOCOL_TLSv1'?

Full log: https://launchpad.net/ubuntu/+source/python-elastic-
transport/9.4.3-1/+build/33987830/+files/buildlog_ubuntu-tenacious-
amd64.python-elastic-transport_9.4.3-1_BUILDING.txt.gz

** Affects: python-elastic-transport (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs

** Description changed:

  python-elastic-transport is failing to build because 
tests/node/test_tls_versions.py
  uses ssl.PROTOCOL_TLSv1, an attribute which was removed in OpenSSL 4.
  
  ==================================== ERRORS 
====================================
  _ ERROR collecting 
.pybuild/cpython3_3.15_elastic-transport/build/tests/node/test_tls_versions.py _
  tests/node/test_tls_versions.py:53: in <module>
-     (TLSv1_0_URL, ssl.PROTOCOL_TLSv1),
-                   ^^^^^^^^^^^^^^^^^^
+     (TLSv1_0_URL, ssl.PROTOCOL_TLSv1),
+                   ^^^^^^^^^^^^^^^^^^
  E   AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLSv1'. Did you 
mean '.PROTOCOL_TLS' instead of '.PROTOCOL_TLSv1'?
+ 
+ Full log: https://launchpad.net/ubuntu/+source/python-elastic-
+ transport/9.4.3-1/+build/33987830/+files/buildlog_ubuntu-tenacious-
+ amd64.python-elastic-transport_9.4.3-1_BUILDING.txt.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2178254

Title:
  FTBFS caused by PROTOCOL_TLSv1 attribute deprecated by OpenSSL 4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-elastic-transport/+bug/2178254/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to