[Bug 267136] net/trio (0.22.0, with py310-openssl-20.0.1,1) Test fails due to "module 'OpenSSL.SSL' has no attribute 'DTLS_METHOD'"

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Oct 2022 01:28:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267136

            Bug ID: 267136
           Summary: net/trio (0.22.0, with py310-openssl-20.0.1,1) Test
                    fails due to "module 'OpenSSL.SSL' has no attribute
                    'DTLS_METHOD'"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: parv.0zero9+freebsd@gmail.com

"test" target of net/trio 0.22.0 fails (below is partial log of "make test"
output filtered for "(openssl|dtls)" ) ...


...
===>  Installing for py310-openssl-20.0.1,1
===>  Checking if py310-openssl is already installed
===>   Registering installation for py310-openssl-20.0.1,1 as automatic
Installing py310-openssl-20.0.1,1...
===>   py310-trio-0.22.0_1 depends on package: py310-openssl>=0 - found
===>   Returning to build of py310-trio-0.22.0_1
===>   py310-trio-0.22.0_1 depends on package: py310-pytest>=0 - found
===>   py310-trio-0.22.0_1 depends on package: py310-trustme>=0 - not found
--
collecting ... collected 635 items / 1 error

==================================== ERRORS
====================================
___________________ ERROR collecting trio/tests/test_dtls.py
___________________
trio/tests/test_dtls.py:19: in <module>
    server_ctx = SSL.Context(SSL.DTLS_METHOD)
E   AttributeError: module 'OpenSSL.SSL' has no attribute 'DTLS_METHOD'
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection
!!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 7.09s
===============================
*** Error code 2

-- 
You are receiving this mail because:
You are the assignee for the bug.