>>> py3-openssl: Building community/py3-openssl 25.3.0-r0 (using abuild 3.15.0-r6) started Tue, 14 Oct 2025 09:19:19 +0000 >>> py3-openssl: Validating /home/buildozer/aports/community/py3-openssl/APKBUILD... >>> py3-openssl: Analyzing dependencies... >>> py3-openssl: Installing for build: build-base python3 py3-cryptography py3-typing-extensions py3-gpep517 py3-setuptools py3-wheel py3-pretend py3-pytest-rerunfailures py3-pytest-xdist ( 1/50) Installing libbz2 (1.0.8-r6) ( 2/50) Installing libffi (3.5.2-r0) ( 3/50) Installing gdbm (1.26-r0) ( 4/50) Installing xz-libs (5.8.1-r0) ( 5/50) Installing mpdecimal (4.0.1-r0) ( 6/50) Installing libpanelw (6.5_p20250816-r0) ( 7/50) Installing sqlite-libs (3.50.4-r1) ( 8/50) Installing python3 (3.12.12-r0) ( 9/50) Installing python3-pycache-pyc0 (3.12.12-r0) (10/50) Installing pyc (3.12.12-r0) (11/50) Installing python3-pyc (3.12.12-r0) (12/50) Installing py3-cparser (2.22-r1) (13/50) Installing py3-cparser-pyc (2.22-r1) (14/50) Installing py3-cffi (1.17.1-r1) (15/50) Installing py3-cffi-pyc (1.17.1-r1) (16/50) Installing py3-cryptography (46.0.2-r0) (17/50) Installing py3-cryptography-pyc (46.0.2-r0) (18/50) Installing py3-typing-extensions (4.15.0-r0) (19/50) Installing py3-typing-extensions-pyc (4.15.0-r0) (20/50) Installing py3-installer (0.7.0-r2) (21/50) Installing py3-installer-pyc (0.7.0-r2) (22/50) Installing py3-gpep517 (19-r0) (23/50) Installing py3-gpep517-pyc (19-r0) (24/50) Installing py3-parsing (3.2.3-r0) (25/50) Installing py3-parsing-pyc (3.2.3-r0) (26/50) Installing py3-packaging (25.0-r0) (27/50) Installing py3-packaging-pyc (25.0-r0) (28/50) Installing py3-setuptools (80.9.0-r1) (29/50) Installing py3-setuptools-pyc (80.9.0-r1) (30/50) Installing py3-wheel (0.46.1-r0) (31/50) Installing py3-wheel-pyc (0.46.1-r0) (32/50) Installing py3-pretend (1.0.9-r7) (33/50) Installing py3-pretend-pyc (1.0.9-r7) (34/50) Installing py3-iniconfig (2.1.0-r0) (35/50) Installing py3-iniconfig-pyc (2.1.0-r0) (36/50) Installing py3-pluggy (1.6.0-r0) (37/50) Installing py3-pluggy-pyc (1.6.0-r0) (38/50) Installing py3-py (1.11.0-r4) (39/50) Installing py3-py-pyc (1.11.0-r4) (40/50) Installing py3-pygments (2.19.2-r0) (41/50) Installing py3-pygments-pyc (2.19.2-r0) (42/50) Installing py3-pytest (8.4.2-r0) (43/50) Installing py3-pytest-pyc (8.4.2-r0) (44/50) Installing py3-pytest-rerunfailures (13.0-r1) (45/50) Installing py3-pytest-rerunfailures-pyc (13.0-r1) (46/50) Installing py3-execnet (2.1.1-r0) (47/50) Installing py3-execnet-pyc (2.1.1-r0) (48/50) Installing py3-pytest-xdist (3.8.0-r0) (49/50) Installing py3-pytest-xdist-pyc (3.8.0-r0) (50/50) Installing .makedepends-py3-openssl (20251014.091920) busybox-1.37.0-r24.trigger: Executing script... usr_merge_nag.sh: * WARNING: The current system is not /usr-merged. You are encouraged to usr_merge_nag.sh: * migrate manually to ensure the best-possible support. See usr_merge_nag.sh: * https://alpinelinux.org/posts/2025-10-01-usr-merge.html for more details OK: 452 MiB in 157 packages >>> py3-openssl: Cleaning up srcdir >>> py3-openssl: Cleaning up pkgdir >>> py3-openssl: Cleaning up tmpdir >>> py3-openssl: Fetching https://distfiles.alpinelinux.org/distfiles/edge//pyopenssl-25.3.0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> py3-openssl: Fetching https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyopenssl-25.3.0.tar.gz Connecting to files.pythonhosted.org (151.101.0.223:443) Connecting to files.pythonhosted.org (151.101.0.223:443) saving to '/var/cache/distfiles/edge/pyopenssl-25.3.0.tar.gz.part' pyopenssl-25.3.0.tar 100% |********************************| 179k 0:00:00 ETA '/var/cache/distfiles/edge/pyopenssl-25.3.0.tar.gz.part' saved >>> py3-openssl: Fetching https://distfiles.alpinelinux.org/distfiles/edge//pyopenssl-25.3.0.tar.gz >>> py3-openssl: Checking sha512sums... pyopenssl-25.3.0.tar.gz: OK >>> py3-openssl: Unpacking /var/cache/distfiles/edge/pyopenssl-25.3.0.tar.gz... 2025-10-14 09:19:21,412 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ /usr/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() 2025-10-14 09:19:21,437 root INFO running bdist_wheel 2025-10-14 09:19:21,455 root INFO running build 2025-10-14 09:19:21,455 root INFO running build_py 2025-10-14 09:19:21,459 root INFO creating build/lib/OpenSSL 2025-10-14 09:19:21,459 root INFO copying src/OpenSSL/version.py -> build/lib/OpenSSL 2025-10-14 09:19:21,459 root INFO copying src/OpenSSL/__init__.py -> build/lib/OpenSSL 2025-10-14 09:19:21,460 root INFO copying src/OpenSSL/SSL.py -> build/lib/OpenSSL 2025-10-14 09:19:21,460 root INFO copying src/OpenSSL/rand.py -> build/lib/OpenSSL 2025-10-14 09:19:21,460 root INFO copying src/OpenSSL/crypto.py -> build/lib/OpenSSL 2025-10-14 09:19:21,460 root INFO copying src/OpenSSL/_util.py -> build/lib/OpenSSL 2025-10-14 09:19:21,461 root INFO copying src/OpenSSL/debug.py -> build/lib/OpenSSL 2025-10-14 09:19:21,461 root INFO copying src/OpenSSL/py.typed -> build/lib/OpenSSL 2025-10-14 09:19:21,468 root INFO installing to build/bdist.linux-s390x/wheel 2025-10-14 09:19:21,468 root INFO running install 2025-10-14 09:19:21,478 root INFO running install_lib 2025-10-14 09:19:21,481 root INFO creating build/bdist.linux-s390x/wheel 2025-10-14 09:19:21,482 root INFO creating build/bdist.linux-s390x/wheel/OpenSSL 2025-10-14 09:19:21,482 root INFO copying build/lib/OpenSSL/version.py -> build/bdist.linux-s390x/wheel/./OpenSSL 2025-10-14 09:19:21,482 root INFO copying build/lib/OpenSSL/__init__.py -> build/bdist.linux-s390x/wheel/./OpenSSL 2025-10-14 09:19:21,482 root INFO copying build/lib/OpenSSL/SSL.py -> build/bdist.linux-s390x/wheel/./OpenSSL 2025-10-14 09:19:21,482 root INFO copying build/lib/OpenSSL/py.typed -> build/bdist.linux-s390x/wheel/./OpenSSL 2025-10-14 09:19:21,482 root INFO copying build/lib/OpenSSL/rand.py -> build/bdist.linux-s390x/wheel/./OpenSSL 2025-10-14 09:19:21,483 root INFO copying build/lib/OpenSSL/crypto.py -> build/bdist.linux-s390x/wheel/./OpenSSL 2025-10-14 09:19:21,483 root INFO copying build/lib/OpenSSL/_util.py -> build/bdist.linux-s390x/wheel/./OpenSSL 2025-10-14 09:19:21,483 root INFO copying build/lib/OpenSSL/debug.py -> build/bdist.linux-s390x/wheel/./OpenSSL 2025-10-14 09:19:21,483 root INFO running install_egg_info 2025-10-14 09:19:21,487 root INFO running egg_info 2025-10-14 09:19:21,489 root INFO writing src/pyOpenSSL.egg-info/PKG-INFO 2025-10-14 09:19:21,491 root INFO writing dependency_links to src/pyOpenSSL.egg-info/dependency_links.txt 2025-10-14 09:19:21,492 root INFO writing requirements to src/pyOpenSSL.egg-info/requires.txt 2025-10-14 09:19:21,492 root INFO writing top-level names to src/pyOpenSSL.egg-info/top_level.txt 2025-10-14 09:19:21,496 root INFO reading manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' 2025-10-14 09:19:21,497 root INFO reading manifest template 'MANIFEST.in' 2025-10-14 09:19:21,497 root WARNING warning: no files found matching '.coveragerc' 2025-10-14 09:19:21,497 root WARNING warning: no previously-included files found matching '.readthedocs.yml' 2025-10-14 09:19:21,497 root WARNING warning: no previously-included files found matching 'mypy.ini' 2025-10-14 09:19:21,498 root WARNING no previously-included directories found matching 'doc/_build' 2025-10-14 09:19:21,498 root INFO adding license file 'LICENSE' 2025-10-14 09:19:21,499 root INFO writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' 2025-10-14 09:19:21,499 root INFO Copying src/pyOpenSSL.egg-info to build/bdist.linux-s390x/wheel/./pyOpenSSL-25.3.0-py3.12.egg-info 2025-10-14 09:19:21,500 root INFO running install_scripts 2025-10-14 09:19:21,501 root INFO creating build/bdist.linux-s390x/wheel/pyopenssl-25.3.0.dist-info/WHEEL 2025-10-14 09:19:21,501 wheel INFO creating '/home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/.dist/.tmp-egwzbjan/pyopenssl-25.3.0-py3-none-any.whl' and adding 'build/bdist.linux-s390x/wheel' to it 2025-10-14 09:19:21,502 wheel INFO adding 'OpenSSL/SSL.py' 2025-10-14 09:19:21,502 wheel INFO adding 'OpenSSL/__init__.py' 2025-10-14 09:19:21,502 wheel INFO adding 'OpenSSL/_util.py' 2025-10-14 09:19:21,502 wheel INFO adding 'OpenSSL/crypto.py' 2025-10-14 09:19:21,502 wheel INFO adding 'OpenSSL/debug.py' 2025-10-14 09:19:21,503 wheel INFO adding 'OpenSSL/py.typed' 2025-10-14 09:19:21,503 wheel INFO adding 'OpenSSL/rand.py' 2025-10-14 09:19:21,503 wheel INFO adding 'OpenSSL/version.py' 2025-10-14 09:19:21,503 wheel INFO adding 'pyopenssl-25.3.0.dist-info/licenses/LICENSE' 2025-10-14 09:19:21,503 wheel INFO adding 'pyopenssl-25.3.0.dist-info/METADATA' 2025-10-14 09:19:21,503 wheel INFO adding 'pyopenssl-25.3.0.dist-info/WHEEL' 2025-10-14 09:19:21,503 wheel INFO adding 'pyopenssl-25.3.0.dist-info/top_level.txt' 2025-10-14 09:19:21,504 wheel INFO adding 'pyopenssl-25.3.0.dist-info/RECORD' 2025-10-14 09:19:21,504 root INFO removing build/bdist.linux-s390x/wheel 2025-10-14 09:19:21,504 gpep517 INFO The backend produced .dist/pyopenssl-25.3.0-py3-none-any.whl pyopenssl-25.3.0-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.12, pytest-8.4.2, pluggy-1.6.0 OpenSSL: b'OpenSSL 3.5.4 30 Sep 2025' cryptography: 46.0.2 rootdir: /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0 configfile: pyproject.toml testpaths: tests plugins: rerunfailures-13.0, xdist-3.8.0 created: 8/8 workers 8 workers [468 items] ........................................................................ [ 15%] ........................................................................ [ 30%] ........................................................................ [ 46%] ........................................................................ [ 61%] ........................................................................ [ 76%] ........................................................................ [ 92%] .................................... [100%] =============================== warnings summary =============================== tests/test_crypto.py:30: 16 warnings /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:30: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. from OpenSSL.crypto import ( ../../../../../../../usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:186 ../../../../../../../usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:186 ../../../../../../../usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:186 ../../../../../../../usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:186 ../../../../../../../usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:186 ../../../../../../../usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:186 ../../../../../../../usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:186 ../../../../../../../usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:186 /usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:186: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead exec(co, module.__dict__) tests/test_crypto.py::TestX509Ext::test_invalid_subject[bad_obj1] tests/test_crypto.py::TestX509Ext::test_invalid_subject[hello] tests/test_crypto.py::TestX509Ext::test_invalid_subject[bad_obj3] tests/test_crypto.py::TestX509Ext::test_invalid_subject[True] /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1008: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. X509Extension( tests/test_crypto.py::TestX509Ext::test_str /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:891: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. str(X509Extension(b"basicConstraints", True, b"CA:false")) tests/test_crypto.py::TestX509Ext::test_construction /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:900: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. basic = X509Extension(b"basicConstraints", True, b"CA:true") tests/test_crypto.py::TestX509Ext::test_construction /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:903: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. comment = X509Extension(b"nsComment", False, b"pyOpenSSL unit test") tests/test_crypto.py::TestX509Ext::test_invalid_extension[thisIsMadeUp-False-hi] tests/test_crypto.py::TestX509Ext::test_invalid_extension[basicConstraints-False-blah blah] tests/test_crypto.py::TestX509Ext::test_invalid_extension[proxyCertInfo-True-language:id-ppl-anyLanguage,pathlen:1,policy:text:AB] /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:931: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. X509Extension(type_name, critical, value) tests/test_crypto.py::TestX509Ext::test_get_critical[True] tests/test_crypto.py::TestX509Ext::test_get_critical[False] /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:939: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. ext = X509Extension(b"basicConstraints", critical_flag, b"CA:true") tests/test_crypto.py::TestX509Ext::test_get_short_name[basicConstraints-CA:true] tests/test_crypto.py::TestX509Ext::test_get_short_name[nsComment-foo bar] /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:951: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. ext = X509Extension(short_name, True, value) tests/test_crypto.py::TestX509Ext::test_get_data /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:959: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. ext = X509Extension(b"basicConstraints", True, b"CA:true") tests/test_crypto.py::TestX509Req::test_sign_with_ungenerated /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1613: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_add_extensions_wrong_args /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1762: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_add_extensions_wrong_args /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1764: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. request.add_extensions(object()) # type: ignore[arg-type] tests/test_crypto.py::TestX509Req::test_add_extensions_wrong_args /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1766: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. request.add_extensions([object()]) # type: ignore[list-item] tests/test_crypto.py::TestX509Req::test_verify_wrong_args /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1773: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_verify_uninitialized_key /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1782: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_verify_wrong_key /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1793: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_verify_success /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1806: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_convert_from_cryptography tests/test_crypto.py::TestX509Req::test_convert_to_cryptography_key tests/test_crypto.py::TestFunction::test_dump_certificate_request tests/test_crypto.py::TestFunction::test_dump_certificate_request /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/.testenv/lib/python3.12/site-packages/OpenSSL/crypto.py:2434: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. x509req = X509Req.__new__(X509Req) tests/test_crypto.py::TestX509Ext::test_unused_subject tests/test_crypto.py::TestX509Ext::test_unused_issuer tests/test_crypto.py::TestX509Ext::test_subject tests/test_crypto.py::TestX509Ext::test_issuer /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:862: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. req = X509Req() tests/test_crypto.py::TestX509Ext::test_unused_subject /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:969: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. ext1 = X509Extension( tests/test_crypto.py::TestX509Ext::test_unused_subject /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:972: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. x509.add_extensions([ext1]) tests/test_crypto.py::TestX509Ext::test_unused_issuer /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1021: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. ext1 = X509Extension( tests/test_crypto.py::TestX509Ext::test_unused_issuer /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1024: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. x509.add_extensions([ext1]) tests/test_crypto.py::TestX509Ext::test_subject /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:985: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. ext3 = X509Extension( tests/test_crypto.py::TestX509Ext::test_subject /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:988: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. x509.add_extensions([ext3]) tests/test_crypto.py::TestX509Ext::test_missing_subject /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:999: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. X509Extension(b"subjectKeyIdentifier", False, b"hash") tests/test_crypto.py::TestX509Ext::test_issuer /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1036: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. ext2 = X509Extension( tests/test_crypto.py::TestX509Ext::test_issuer /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1039: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. x509.add_extensions([ext2]) tests/test_crypto.py::TestX509Ext::test_missing_issuer /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1051: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. X509Extension( tests/test_crypto.py::TestX509Ext::test_invalid_issuer[True] tests/test_crypto.py::TestX509Ext::test_invalid_issuer[bad_obj1] tests/test_crypto.py::TestX509Ext::test_invalid_issuer[hello] tests/test_crypto.py::TestX509Ext::test_invalid_issuer[bad_obj3] /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1062: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. X509Extension( tests/test_crypto.py::TestX509Req::test_sign_with_public_key /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1623: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestEllipticCurve::test_set /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:3509: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. assert isinstance(get_elliptic_curves(), set) tests/test_crypto.py::TestEllipticCurve::test_a_curve /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:3516: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. curves = get_elliptic_curves() tests/test_crypto.py::TestEllipticCurve::test_a_curve /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:3518: DeprecationWarning: get_elliptic_curve is deprecated. You should use the APIs in cryptography instead. assert curve.name == get_elliptic_curve(curve.name).name tests/test_crypto.py::TestEllipticCurve::test_a_curve tests/test_crypto.py::TestEllipticCurve::test_not_a_curve /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/.testenv/lib/python3.12/site-packages/OpenSSL/crypto.py:578: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. for curve in get_elliptic_curves(): tests/test_crypto.py::TestEllipticCurve::test_not_a_curve /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:3526: DeprecationWarning: get_elliptic_curve is deprecated. You should use the APIs in cryptography instead. get_elliptic_curve("this curve was just invented") tests/test_crypto.py::TestEllipticCurve::test_repr /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:3533: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. curves = get_elliptic_curves() tests/test_crypto.py::TestEllipticCurve::test_to_EC_KEY /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:3542: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. curves = get_elliptic_curves() tests/test_crypto.py: 12 warnings /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:3559: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. return next(iter(get_elliptic_curves())) tests/test_crypto.py::TestEllipticCurveEquality::test_differentEq tests/test_crypto.py::TestEllipticCurveEquality::test_differentNe /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:3566: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. return list(get_elliptic_curves())[1] tests/test_crypto.py::TestEllipticCurveHash::test_contains /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:3684: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. curve = next(iter(get_elliptic_curves())) tests/test_crypto.py::TestEllipticCurveHash::test_does_not_contain /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:3693: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. all_curves = list(get_elliptic_curves()) tests/test_crypto.py::TestX509Req::test_sign_with_unknown_digest /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1636: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_ssl.py: 121 warnings /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/.testenv/lib/python3.12/site-packages/OpenSSL/SSL.py:846: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. return f(self, *args, **kwargs) tests/test_ssl.py: 112 warnings /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/.testenv/lib/python3.12/site-packages/OpenSSL/SSL.py:846: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. return f(self, *args, **kwargs) tests/test_ssl.py::TestContext::test_set_cipher_list[hello world:AES128-SHA1] /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/.testenv/lib/python3.12/site-packages/OpenSSL/SSL.py:846: DeprecationWarning: str for cipher_list is no longer accepted, use bytes return f(self, *args, **kwargs) tests/test_crypto.py::TestX509::test_get_extension /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:2189: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. ext = cert.get_extension(0) tests/test_crypto.py::TestX509::test_get_extension tests/test_crypto.py::TestX509::test_get_extension tests/test_crypto.py::TestX509::test_get_extension tests/test_crypto.py::TestX509::test_get_extension tests/test_crypto.py::TestX509::test_get_extension tests/test_crypto.py::TestX509::test_get_extension tests/test_crypto.py::TestX509::test_nullbyte_subjectAltName /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/.testenv/lib/python3.12/site-packages/OpenSSL/crypto.py:1679: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. ext = X509Extension.__new__(X509Extension) tests/test_crypto.py::TestX509::test_get_extension /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:2194: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. ext = cert.get_extension(1) tests/test_crypto.py::TestX509::test_get_extension /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:2199: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. ext = cert.get_extension(2) tests/test_crypto.py::TestX509::test_get_extension /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:2205: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. cert.get_extension(-1) tests/test_crypto.py::TestX509::test_get_extension /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:2207: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. cert.get_extension(4) tests/test_crypto.py::TestX509::test_get_extension /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:2209: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. cert.get_extension("hello") # type: ignore[arg-type] tests/test_crypto.py::TestX509::test_nullbyte_subjectAltName /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:2219: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. ext = cert.get_extension(3) tests/test_crypto.py::TestX509Req::test_sign /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1648: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_construction /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1667: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_version /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1676: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_version_wrong_args /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1686: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_get_subject /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1698: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_add_extensions /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1712: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_add_extensions /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1714: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. [X509Extension(b"basicConstraints", True, b"CA:false")] tests/test_crypto.py::TestX509Req::test_add_extensions /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1713: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. request.add_extensions( tests/test_crypto.py::TestX509Req::test_add_extensions /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1716: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. exts = request.get_extensions() tests/test_crypto.py::TestX509Req::test_add_extensions tests/test_crypto.py::TestX509Req::test_get_extensions tests/test_crypto.py::TestX509Req::test_get_extensions tests/test_crypto.py::TestX509Req::test_get_extensions tests/test_crypto.py::TestX509Req::test_get_extensions /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/.testenv/lib/python3.12/site-packages/OpenSSL/crypto.py:1145: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. ext = X509Extension.__new__(X509Extension) tests/test_crypto.py::TestX509Req::test_get_extensions /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1727: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_get_extensions /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1728: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. exts = request.get_extensions() tests/test_crypto.py::TestX509Req::test_get_extensions /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1732: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. X509Extension(b"basicConstraints", True, b"CA:true"), tests/test_crypto.py::TestX509Req::test_get_extensions /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1733: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. X509Extension(b"keyUsage", False, b"digitalSignature"), tests/test_crypto.py::TestX509Req::test_get_extensions /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1730: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. request.add_extensions( tests/test_crypto.py::TestX509Req::test_get_extensions /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1736: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. exts = request.get_extensions() tests/test_crypto.py::TestX509Req::test_get_extensions /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1745: DeprecationWarning: This API is deprecated and will be removed in a future version of pyOpenSSL. You should use pyca/cryptography's X.509 APIs instead. exts = request.get_extensions() tests/test_crypto.py::TestX509Req::test_undef_oid /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_crypto.py:1750: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. X509Extension( tests/test_ssl.py::TestContextConnection::test_use_certificate[connection] /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_ssl.py:2385: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx_or_conn.use_certificate( tests/test_ssl.py::TestContextConnection::test_use_certificate_uninitialized[connection] /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_ssl.py:2411: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx_or_conn.use_certificate(X509()) tests/test_ssl.py::TestContextConnection::test_use_privatekey[connection] /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_ssl.py:2353: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. ctx_or_conn.use_privatekey(key) tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection] /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_ssl.py:2370: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx_or_conn.use_certificate( tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection] /home/buildozer/aports/community/py3-openssl/src/pyopenssl-25.3.0/tests/test_ssl.py:2374: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. ctx_or_conn.use_privatekey(key) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ====================== 468 passed, 370 warnings in 4.69s ======================= >>> py3-openssl: Entering fakeroot... >>> py3-openssl-pyc*: Running split function pyc... 'usr/lib/python3.12/site-packages/OpenSSL/__pycache__' -> '/home/buildozer/aports/community/py3-openssl/pkg/py3-openssl-pyc/usr/lib/python3.12/site-packages/OpenSSL/__pycache__' >>> py3-openssl-pyc*: Preparing subpackage py3-openssl-pyc... >>> py3-openssl-pyc*: Running postcheck for py3-openssl-pyc >>> py3-openssl*: Running postcheck for py3-openssl >>> py3-openssl*: Preparing package py3-openssl... >>> py3-openssl-pyc*: Tracing dependencies... python3 py3-cryptography py3-typing-extensions python3~3.12 >>> py3-openssl-pyc*: Package size: 245.8 KB >>> py3-openssl-pyc*: Compressing data... >>> py3-openssl-pyc*: Create checksum... >>> py3-openssl-pyc*: Create py3-openssl-pyc-25.3.0-r0.apk >>> py3-openssl*: Tracing dependencies... python3 py3-cryptography py3-typing-extensions python3~3.12 >>> py3-openssl*: Package size: 227.4 KB >>> py3-openssl*: Compressing data... >>> py3-openssl*: Create checksum... >>> py3-openssl*: Create py3-openssl-25.3.0-r0.apk >>> py3-openssl: Build complete at Tue, 14 Oct 2025 09:19:27 +0000 elapsed time 0h 0m 8s >>> py3-openssl: Cleaning up srcdir >>> py3-openssl: Cleaning up pkgdir >>> py3-openssl: Uninstalling dependencies... ( 1/50) Purging .makedepends-py3-openssl (20251014.091920) ( 2/50) Purging py3-cryptography-pyc (46.0.2-r0) ( 3/50) Purging py3-cryptography (46.0.2-r0) ( 4/50) Purging py3-cffi-pyc (1.17.1-r1) ( 5/50) Purging py3-cffi (1.17.1-r1) ( 6/50) Purging py3-cparser-pyc (2.22-r1) ( 7/50) Purging py3-cparser (2.22-r1) ( 8/50) Purging py3-typing-extensions-pyc (4.15.0-r0) ( 9/50) Purging py3-typing-extensions (4.15.0-r0) (10/50) Purging py3-gpep517-pyc (19-r0) (11/50) Purging py3-gpep517 (19-r0) (12/50) Purging py3-installer-pyc (0.7.0-r2) (13/50) Purging py3-installer (0.7.0-r2) (14/50) Purging py3-setuptools-pyc (80.9.0-r1) (15/50) Purging py3-setuptools (80.9.0-r1) (16/50) Purging py3-wheel-pyc (0.46.1-r0) (17/50) Purging py3-wheel (0.46.1-r0) (18/50) Purging py3-pretend-pyc (1.0.9-r7) (19/50) Purging py3-pretend (1.0.9-r7) (20/50) Purging py3-pytest-rerunfailures-pyc (13.0-r1) (21/50) Purging py3-pytest-rerunfailures (13.0-r1) (22/50) Purging py3-pytest-xdist-pyc (3.8.0-r0) (23/50) Purging py3-pytest-xdist (3.8.0-r0) (24/50) Purging py3-execnet-pyc (2.1.1-r0) (25/50) Purging py3-execnet (2.1.1-r0) (26/50) Purging py3-pytest-pyc (8.4.2-r0) (27/50) Purging py3-pytest (8.4.2-r0) (28/50) Purging py3-iniconfig-pyc (2.1.0-r0) (29/50) Purging py3-iniconfig (2.1.0-r0) (30/50) Purging py3-packaging-pyc (25.0-r0) (31/50) Purging py3-packaging (25.0-r0) (32/50) Purging py3-parsing-pyc (3.2.3-r0) (33/50) Purging py3-parsing (3.2.3-r0) (34/50) Purging py3-pluggy-pyc (1.6.0-r0) (35/50) Purging py3-pluggy (1.6.0-r0) (36/50) Purging py3-py-pyc (1.11.0-r4) (37/50) Purging py3-py (1.11.0-r4) (38/50) Purging py3-pygments-pyc (2.19.2-r0) (39/50) Purging py3-pygments (2.19.2-r0) (40/50) Purging python3-pyc (3.12.12-r0) (41/50) Purging python3-pycache-pyc0 (3.12.12-r0) (42/50) Purging pyc (3.12.12-r0) (43/50) Purging python3 (3.12.12-r0) (44/50) Purging gdbm (1.26-r0) (45/50) Purging libbz2 (1.0.8-r6) (46/50) Purging libffi (3.5.2-r0) (47/50) Purging libpanelw (6.5_p20250816-r0) (48/50) Purging mpdecimal (4.0.1-r0) (49/50) Purging sqlite-libs (3.50.4-r1) (50/50) Purging xz-libs (5.8.1-r0) busybox-1.37.0-r24.trigger: Executing script... usr_merge_nag.sh: * WARNING: The current system is not /usr-merged. You are encouraged to usr_merge_nag.sh: * migrate manually to ensure the best-possible support. See usr_merge_nag.sh: * https://alpinelinux.org/posts/2025-10-01-usr-merge.html for more details OK: 386 MiB in 107 packages >>> py3-openssl: Updating the community/s390x repository index... >>> py3-openssl: Signing the index...