Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing sphinx-hook Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/i6bkc2y095y8xww7w6rbqrbw10s02ggg-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tests/util.py" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... /nix/store/sy04qhacf30lkw0dbll9wf4jz41d08m2-python3.13-setuptools-80.10.1/lib/python3.13/site-packages/setuptools/dist.py:765: 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() running egg_info creating src/pyOpenSSL.egg-info writing src/pyOpenSSL.egg-info/PKG-INFO writing dependency_links to src/pyOpenSSL.egg-info/dependency_links.txt writing requirements to src/pyOpenSSL.egg-info/requires.txt writing top-level names to src/pyOpenSSL.egg-info/top_level.txt writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' reading manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.coveragerc' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'mypy.ini' no previously-included directories found matching 'doc/_build' adding license file 'LICENSE' writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' * Building wheel... /nix/store/sy04qhacf30lkw0dbll9wf4jz41d08m2-python3.13-setuptools-80.10.1/lib/python3.13/site-packages/setuptools/dist.py:765: 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() running bdist_wheel running build running build_py creating build/lib/OpenSSL copying src/OpenSSL/_util.py -> build/lib/OpenSSL copying src/OpenSSL/debug.py -> build/lib/OpenSSL copying src/OpenSSL/__init__.py -> build/lib/OpenSSL copying src/OpenSSL/crypto.py -> build/lib/OpenSSL copying src/OpenSSL/version.py -> build/lib/OpenSSL copying src/OpenSSL/rand.py -> build/lib/OpenSSL copying src/OpenSSL/SSL.py -> build/lib/OpenSSL copying src/OpenSSL/py.typed -> build/lib/OpenSSL installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/OpenSSL copying build/lib/OpenSSL/_util.py -> build/bdist.linux-aarch64/wheel/./OpenSSL copying build/lib/OpenSSL/debug.py -> build/bdist.linux-aarch64/wheel/./OpenSSL copying build/lib/OpenSSL/__init__.py -> build/bdist.linux-aarch64/wheel/./OpenSSL copying build/lib/OpenSSL/crypto.py -> build/bdist.linux-aarch64/wheel/./OpenSSL copying build/lib/OpenSSL/version.py -> build/bdist.linux-aarch64/wheel/./OpenSSL copying build/lib/OpenSSL/rand.py -> build/bdist.linux-aarch64/wheel/./OpenSSL copying build/lib/OpenSSL/SSL.py -> build/bdist.linux-aarch64/wheel/./OpenSSL copying build/lib/OpenSSL/py.typed -> build/bdist.linux-aarch64/wheel/./OpenSSL running install_egg_info running egg_info writing src/pyOpenSSL.egg-info/PKG-INFO writing dependency_links to src/pyOpenSSL.egg-info/dependency_links.txt writing requirements to src/pyOpenSSL.egg-info/requires.txt writing top-level names to src/pyOpenSSL.egg-info/top_level.txt reading manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.coveragerc' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'mypy.ini' no previously-included directories found matching 'doc/_build' adding license file 'LICENSE' writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' Copying src/pyOpenSSL.egg-info to build/bdist.linux-aarch64/wheel/./pyOpenSSL-26.0.0-py3.13.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/pyopenssl-26.0.0.dist-info/WHEEL creating '/build/source/dist/.tmp-v3rvdwbl/pyopenssl-26.0.0-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'OpenSSL/SSL.py' adding 'OpenSSL/__init__.py' adding 'OpenSSL/_util.py' adding 'OpenSSL/crypto.py' adding 'OpenSSL/debug.py' adding 'OpenSSL/py.typed' adding 'OpenSSL/rand.py' adding 'OpenSSL/version.py' adding 'pyopenssl-26.0.0.dist-info/licenses/LICENSE' adding 'pyopenssl-26.0.0.dist-info/METADATA' adding 'pyopenssl-26.0.0.dist-info/WHEEL' adding 'pyopenssl-26.0.0.dist-info/top_level.txt' adding 'pyopenssl-26.0.0.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Successfully built pyopenssl-26.0.0-py3-none-any.whl Finished creating a wheel... /build/source/dist /build/source Unpacking to: unpacked/pyopenssl-26.0.0...OK Repacking wheel as ./pyopenssl-26.0.0-py3-none-any.whl...OK /build/source Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for pyopenssl-26.0.0-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed pyopenssl-26.0.0-py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: buildSphinxPhase Executing buildSphinxPhase Sphinx documentation found in doc Executing sphinx-build with html builder Running Sphinx v9.1.0 loading translations [en]... locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist done making output directory... done Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NameResolutionError("HTTPSConnection(host='docs.python.org', port=443): Failed to resolve 'docs.python.org' ([Errno -3] Temporary failure in name resolution)")) loading intersphinx inventory 'cryptography' from https://cryptography.io/en/latest/objects.inv ... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://cryptography.io/en/latest/objects.inv' not fetchable due to : HTTPSConnectionPool(host='cryptography.io', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by NameResolutionError("HTTPSConnection(host='cryptography.io', port=443): Failed to resolve 'cryptography.io' ([Errno -3] Temporary failure in name resolution)")) locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 9 source files that are out of date updating environment: locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist [new config] 9 added, 0 changed, 0 removed reading sources... [ 11%] api reading sources... [ 22%] api/crypto reading sources... [ 33%] api/ssl reading sources... [ 44%] backward-compatibility reading sources... [ 56%] changelog reading sources... [ 67%] index reading sources... [ 78%] install reading sources... [ 89%] internals reading sources... [100%] introduction looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /build/source/.sphinx/html/html/_static/language_data.js Writing evaluated template result to /build/source/.sphinx/html/html/_static/basic.css Writing evaluated template result to /build/source/.sphinx/html/html/_static/documentation_options.js Writing evaluated template result to /build/source/.sphinx/html/html/_static/js/versions.js copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [ 11%] api writing output... [ 22%] api/crypto writing output... [ 33%] api/ssl writing output... [ 44%] backward-compatibility writing output... [ 56%] changelog writing output... [ 67%] index writing output... [ 78%] install writing output... [ 89%] internals writing output... [100%] introduction generating indices... genindex py-modindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 2 warnings. The HTML pages are in .sphinx/html/html. Running phase: installSphinxPhase Executing installSphinxPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/nvpbm6lh1siw8yvj57d98d5avv2xfcwl-python3.13-pyopenssl-26.0.0 checking for references to /build/ in /nix/store/nvpbm6lh1siw8yvj57d98d5avv2xfcwl-python3.13-pyopenssl-26.0.0... patching script interpreter paths in /nix/store/nvpbm6lh1siw8yvj57d98d5avv2xfcwl-python3.13-pyopenssl-26.0.0 stripping (with command strip and flags -S -p) in /nix/store/nvpbm6lh1siw8yvj57d98d5avv2xfcwl-python3.13-pyopenssl-26.0.0/lib shrinking RPATHs of ELF executables and libraries in /nix/store/zbfvh7l1y4rzpls3ilm05d1qifqiphq9-python3.13-pyopenssl-26.0.0-doc checking for references to /build/ in /nix/store/zbfvh7l1y4rzpls3ilm05d1qifqiphq9-python3.13-pyopenssl-26.0.0-doc... patching script interpreter paths in /nix/store/zbfvh7l1y4rzpls3ilm05d1qifqiphq9-python3.13-pyopenssl-26.0.0-doc shrinking RPATHs of ELF executables and libraries in /nix/store/b0f6issqnmbv3c7kyfmjp5lnmzbz9sqk-python3.13-pyopenssl-26.0.0-dist checking for references to /build/ in /nix/store/b0f6issqnmbv3c7kyfmjp5lnmzbz9sqk-python3.13-pyopenssl-26.0.0-dist... patching script interpreter paths in /nix/store/b0f6issqnmbv3c7kyfmjp5lnmzbz9sqk-python3.13-pyopenssl-26.0.0-dist Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest -k not\ \(test_set_default_verify_paths\)\ and\ not\ \(test_fallback_default_verify_paths\)\ and\ not\ \(test_wantWriteError\)\ and\ not\ \(test_alpn_call_failure\)\ and\ not\ \(test_client_receives_servers_data\)\ and\ not\ \(test_dump_certificate\)\ and\ not\ \(test_dump_privatekey_text\)\ and\ not\ \(test_dump_certificate_request\)\ and\ not\ \(test_export_text\) ============================= test session starts ============================== platform linux -- Python 3.13.17, pytest-9.0.3, pluggy-1.6.0 OpenSSL: b'OpenSSL 3.6.5 29 Sep 2026' cryptography: 48.0.0 rootdir: /build/source configfile: pyproject.toml testpaths: tests plugins: rerunfailures-16.1 collected 474 items / 9 deselected / 465 selected tests/test_crypto.py ................................................... [ 10%] ........................................................................ [ 26%] ........................................................................ [ 41%] ................. [ 45%] tests/test_debug.py . [ 45%] tests/test_rand.py .... [ 46%] tests/test_ssl.py ...................................................... [ 58%] ........................................................................ [ 73%] ........................................................................ [ 89%] ................................................. [ 99%] tests/test_util.py . [100%] =============================== warnings summary =============================== tests/test_crypto.py:30 tests/test_crypto.py:30 /build/source/tests/test_crypto.py:30: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. from OpenSSL.crypto import ( ../../nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/assertion/rewrite.py:197 /nix/store/p99y2m706vgalai9nnkdvpnlk521n981-python3.13-pytest-9.0.3/lib/python3.13/site-packages/_pytest/assertion/rewrite.py:197: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead exec(co, module.__dict__) tests/test_crypto.py::TestX509Ext::test_str /build/source/tests/test_crypto.py:838: 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 /build/source/tests/test_crypto.py:847: 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 /build/source/tests/test_crypto.py:850: 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] /build/source/tests/test_crypto.py:878: 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] /build/source/tests/test_crypto.py:886: 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] /build/source/tests/test_crypto.py:898: 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 /build/source/tests/test_crypto.py:906: 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::TestX509Ext::test_unused_subject tests/test_crypto.py::TestX509Ext::test_subject tests/test_crypto.py::TestX509Ext::test_unused_issuer tests/test_crypto.py::TestX509Ext::test_issuer /build/source/tests/test_crypto.py:809: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. req = X509Req() tests/test_crypto.py::TestX509Ext::test_unused_subject /build/source/tests/test_crypto.py:916: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. ext1 = X509Extension( tests/test_crypto.py::TestX509Ext::test_unused_subject /build/source/tests/test_crypto.py:919: 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 /build/source/tests/test_crypto.py:932: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. ext3 = X509Extension( tests/test_crypto.py::TestX509Ext::test_subject /build/source/tests/test_crypto.py:935: 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 /build/source/tests/test_crypto.py:946: 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_invalid_subject[True] 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] /build/source/tests/test_crypto.py:955: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. X509Extension( tests/test_crypto.py::TestX509Ext::test_unused_issuer /build/source/tests/test_crypto.py:968: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. ext1 = X509Extension( tests/test_crypto.py::TestX509Ext::test_unused_issuer /build/source/tests/test_crypto.py:971: 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_issuer /build/source/tests/test_crypto.py:983: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. ext2 = X509Extension( tests/test_crypto.py::TestX509Ext::test_issuer /build/source/tests/test_crypto.py:986: 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 /build/source/tests/test_crypto.py:998: 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] /build/source/tests/test_crypto.py:1009: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. X509Extension( tests/test_crypto.py::TestX509Req::test_sign_with_ungenerated /build/source/tests/test_crypto.py:1588: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_sign_with_public_key /build/source/tests/test_crypto.py:1598: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_sign_with_unknown_digest /build/source/tests/test_crypto.py:1611: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_sign /build/source/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::TestX509Req::test_construction /build/source/tests/test_crypto.py:1642: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_version /build/source/tests/test_crypto.py:1651: 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 /build/source/tests/test_crypto.py:1661: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_get_subject /build/source/tests/test_crypto.py:1673: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_add_extensions /build/source/tests/test_crypto.py:1687: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_add_extensions /build/source/tests/test_crypto.py:1689: 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 /build/source/tests/test_crypto.py:1688: 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 /build/source/tests/test_crypto.py:1691: 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 /nix/store/nvpbm6lh1siw8yvj57d98d5avv2xfcwl-python3.13-pyopenssl-26.0.0/lib/python3.13/site-packages/OpenSSL/crypto.py:1147: 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 /build/source/tests/test_crypto.py:1702: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_get_extensions /build/source/tests/test_crypto.py:1703: 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 /build/source/tests/test_crypto.py:1707: 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 /build/source/tests/test_crypto.py:1708: 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 /build/source/tests/test_crypto.py:1705: 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 /build/source/tests/test_crypto.py:1711: 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 /build/source/tests/test_crypto.py:1720: 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 /build/source/tests/test_crypto.py:1725: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography. X509Extension( tests/test_crypto.py::TestX509Req::test_add_extensions_wrong_args /build/source/tests/test_crypto.py:1737: 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 /build/source/tests/test_crypto.py:1739: 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 /build/source/tests/test_crypto.py:1741: 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 /build/source/tests/test_crypto.py:1748: 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 /build/source/tests/test_crypto.py:1757: 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 /build/source/tests/test_crypto.py:1768: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. request = X509Req() tests/test_crypto.py::TestX509Req::test_verify_success /build/source/tests/test_crypto.py:1781: 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 /nix/store/nvpbm6lh1siw8yvj57d98d5avv2xfcwl-python3.13-pyopenssl-26.0.0/lib/python3.13/site-packages/OpenSSL/crypto.py:2436: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography. x509req = X509Req.__new__(X509Req) tests/test_crypto.py::TestX509::test_get_extension /build/source/tests/test_crypto.py:2167: 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 /nix/store/nvpbm6lh1siw8yvj57d98d5avv2xfcwl-python3.13-pyopenssl-26.0.0/lib/python3.13/site-packages/OpenSSL/crypto.py:1681: 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 /build/source/tests/test_crypto.py:2172: 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 /build/source/tests/test_crypto.py:2177: 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 /build/source/tests/test_crypto.py:2183: 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 /build/source/tests/test_crypto.py:2185: 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 /build/source/tests/test_crypto.py:2187: 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 /build/source/tests/test_crypto.py:2197: 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::TestEllipticCurve::test_set /build/source/tests/test_crypto.py:3487: 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 /build/source/tests/test_crypto.py:3494: 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 /build/source/tests/test_crypto.py:3496: 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 /nix/store/nvpbm6lh1siw8yvj57d98d5avv2xfcwl-python3.13-pyopenssl-26.0.0/lib/python3.13/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 /build/source/tests/test_crypto.py:3504: 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 /build/source/tests/test_crypto.py:3511: 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 /build/source/tests/test_crypto.py:3520: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. curves = get_elliptic_curves() tests/test_crypto.py: 12 warnings /build/source/tests/test_crypto.py:3537: 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 /build/source/tests/test_crypto.py:3544: 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 /build/source/tests/test_crypto.py:3662: 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 /build/source/tests/test_crypto.py:3671: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. all_curves = list(get_elliptic_curves()) tests/test_ssl.py::TestContext::test_set_cipher_list[hello world:AES128-SHA1] /nix/store/nvpbm6lh1siw8yvj57d98d5avv2xfcwl-python3.13-pyopenssl-26.0.0/lib/python3.13/site-packages/OpenSSL/SSL.py:867: DeprecationWarning: str for cipher_list is no longer accepted, use bytes return f(self, *args, **kwargs) tests/test_ssl.py: 115 warnings /nix/store/nvpbm6lh1siw8yvj57d98d5avv2xfcwl-python3.13-pyopenssl-26.0.0/lib/python3.13/site-packages/OpenSSL/SSL.py:867: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead. return f(self, *args, **kwargs) tests/test_ssl.py: 124 warnings /nix/store/nvpbm6lh1siw8yvj57d98d5avv2xfcwl-python3.13-pyopenssl-26.0.0/lib/python3.13/site-packages/OpenSSL/SSL.py:867: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. return f(self, *args, **kwargs) tests/test_ssl.py::TestContext::test_set_tmp_ecdh /build/source/tests/test_ssl.py:1868: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead. for curve in get_elliptic_curves(): tests/test_ssl.py::TestContextConnection::test_use_privatekey[connection] /build/source/tests/test_ssl.py:2439: 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] /build/source/tests/test_ssl.py:2456: 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] /build/source/tests/test_ssl.py:2460: 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_certificate[connection] /build/source/tests/test_ssl.py:2471: 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] /build/source/tests/test_ssl.py:2497: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead. ctx_or_conn.use_certificate(X509()) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =============== 465 passed, 9 deselected, 354 warnings in 21.74s =============== Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase