python3.13-pyopenssl-25.1.0
checks.x86_64-linux.pre-commit
· build #764
· raw
1Sourcing python-remove-tests-dir-hook2Sourcing python-catch-conflicts-hook.sh3Sourcing python-remove-bin-bytecode-hook.sh4Sourcing pypa-build-hook5Using pypaBuildPhase6Sourcing python-runtime-deps-check-hook7Using pythonRuntimeDepsCheckHook8Sourcing pypa-install-hook9Using pypaInstallPhase10Sourcing python-imports-check-hook.sh11Using pythonImportsCheckPhase12Sourcing python-namespaces-hook13Sourcing python-catch-conflicts-hook.sh14Sourcing sphinx-hook15Sourcing pytest-check-hook16Using pytestCheckPhase
unpackPhase
17unpacking source archive /nix/store/sr2yqa1zy8w10n6pxmv40kc4lb5zkw1f-source18source root is source19setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tox.ini"configurePhase
20no configure script, doing nothingbuildPhase
21Executing pypaBuildPhase22Creating a wheel...23pypa build flags: --no-isolation --outdir dist/ --wheel24* Getting build dependencies for wheel...25/nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.26!!2728 ********************************************************************************29 Please consider removing the following classifiers in favor of a SPDX license expression:3031 License :: OSI Approved :: Apache Software License3233 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.34 ********************************************************************************3536!!37 self._finalize_license_expression()38running egg_info39creating src/pyOpenSSL.egg-info40writing src/pyOpenSSL.egg-info/PKG-INFO41writing dependency_links to src/pyOpenSSL.egg-info/dependency_links.txt42writing requirements to src/pyOpenSSL.egg-info/requires.txt43writing top-level names to src/pyOpenSSL.egg-info/top_level.txt44writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'45reading manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'46reading manifest template 'MANIFEST.in'47warning: no files found matching '.coveragerc'48warning: no previously-included files found matching '.readthedocs.yml'49warning: no previously-included files found matching 'mypy.ini'50no previously-included directories found matching 'doc/_build'51adding license file 'LICENSE'52writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'53* Building wheel...54/nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.55!!5657 ********************************************************************************58 Please consider removing the following classifiers in favor of a SPDX license expression:5960 License :: OSI Approved :: Apache Software License6162 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.63 ********************************************************************************6465!!66 self._finalize_license_expression()67running bdist_wheel68running build69running build_py70creating build/lib/OpenSSL71copying src/OpenSSL/__init__.py -> build/lib/OpenSSL72copying src/OpenSSL/rand.py -> build/lib/OpenSSL73copying src/OpenSSL/version.py -> build/lib/OpenSSL74copying src/OpenSSL/_util.py -> build/lib/OpenSSL75copying src/OpenSSL/debug.py -> build/lib/OpenSSL76copying src/OpenSSL/SSL.py -> build/lib/OpenSSL77copying src/OpenSSL/crypto.py -> build/lib/OpenSSL78copying src/OpenSSL/py.typed -> build/lib/OpenSSL79installing to build/bdist.linux-x86_64/wheel80running install81running install_lib82creating build/bdist.linux-x86_64/wheel83creating build/bdist.linux-x86_64/wheel/OpenSSL84copying build/lib/OpenSSL/__init__.py -> build/bdist.linux-x86_64/wheel/./OpenSSL85copying build/lib/OpenSSL/rand.py -> build/bdist.linux-x86_64/wheel/./OpenSSL86copying build/lib/OpenSSL/version.py -> build/bdist.linux-x86_64/wheel/./OpenSSL87copying build/lib/OpenSSL/py.typed -> build/bdist.linux-x86_64/wheel/./OpenSSL88copying build/lib/OpenSSL/_util.py -> build/bdist.linux-x86_64/wheel/./OpenSSL89copying build/lib/OpenSSL/debug.py -> build/bdist.linux-x86_64/wheel/./OpenSSL90copying build/lib/OpenSSL/SSL.py -> build/bdist.linux-x86_64/wheel/./OpenSSL91copying build/lib/OpenSSL/crypto.py -> build/bdist.linux-x86_64/wheel/./OpenSSL92running install_egg_info93running egg_info94writing src/pyOpenSSL.egg-info/PKG-INFO95writing dependency_links to src/pyOpenSSL.egg-info/dependency_links.txt96writing requirements to src/pyOpenSSL.egg-info/requires.txt97writing top-level names to src/pyOpenSSL.egg-info/top_level.txt98reading manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'99reading manifest template 'MANIFEST.in'100warning: no files found matching '.coveragerc'101warning: no previously-included files found matching '.readthedocs.yml'102warning: no previously-included files found matching 'mypy.ini'103no previously-included directories found matching 'doc/_build'104adding license file 'LICENSE'105writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'106Copying src/pyOpenSSL.egg-info to build/bdist.linux-x86_64/wheel/./pyOpenSSL-25.1.0-py3.13.egg-info107running install_scripts108creating build/bdist.linux-x86_64/wheel/pyopenssl-25.1.0.dist-info/WHEEL109creating '/build/source/dist/.tmp-omz0j7gf/pyopenssl-25.1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it110adding 'OpenSSL/SSL.py'111adding 'OpenSSL/__init__.py'112adding 'OpenSSL/_util.py'113adding 'OpenSSL/crypto.py'114adding 'OpenSSL/debug.py'115adding 'OpenSSL/py.typed'116adding 'OpenSSL/rand.py'117adding 'OpenSSL/version.py'118adding 'pyopenssl-25.1.0.dist-info/licenses/LICENSE'119adding 'pyopenssl-25.1.0.dist-info/METADATA'120adding 'pyopenssl-25.1.0.dist-info/WHEEL'121adding 'pyopenssl-25.1.0.dist-info/top_level.txt'122adding 'pyopenssl-25.1.0.dist-info/RECORD'123removing build/bdist.linux-x86_64/wheel124Successfully built pyopenssl-25.1.0-py3-none-any.whl125Finished creating a wheel...126/build/source/dist /build/source127Unpacking to: unpacked/pyopenssl-25.1.0...OK128Repacking wheel as ./pyopenssl-25.1.0-py3-none-any.whl...OK129/build/source130Finished executing pypaBuildPhasepythonRuntimeDepsCheckHook
131Executing pythonRuntimeDepsCheck132Checking runtime dependencies for pyopenssl-25.1.0-py3-none-any.whl133Finished executing pythonRuntimeDepsCheckinstallPhase
134Executing pypaInstallPhase135Successfully installed pyopenssl-25.1.0-py3-none-any.whl136Finished executing pypaInstallPhasepythonOutputDistPhase
137Executing pythonOutputDistPhase138Finished executing pythonOutputDistPhasebuildSphinxPhase
139Executing buildSphinxPhase140Sphinx documentation found in doc141Executing sphinx-build with html builder142Running Sphinx v8.2.3143loading translations [en]... locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist144locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist145done146making output directory... done147Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.148locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist149loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ...150WARNING: failed to reach any of the inventories with the following issues:151intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: 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)"))152loading intersphinx inventory 'cryptography' from https://cryptography.io/en/latest/objects.inv ...153WARNING: failed to reach any of the inventories with the following issues:154intersphinx inventory 'https://cryptography.io/en/latest/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: 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)"))155locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist156building [mo]: targets for 0 po files that are out of date157writing output... 158building [html]: targets for 9 source files that are out of date159updating environment: locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist160[new config] 9 added, 0 changed, 0 removed161reading sources... [ 11%] api162reading sources... [ 22%] api/crypto163reading sources... [ 33%] api/ssl164reading sources... [ 44%] backward-compatibility165reading sources... [ 56%] changelog166reading sources... [ 67%] index167reading sources... [ 78%] install168reading sources... [ 89%] internals169reading sources... [100%] introduction170171looking for now-outdated files... none found172pickling environment... done173checking consistency... done174preparing documents... done175copying assets... 176copying static files... 177Writing evaluated template result to /build/source/.sphinx/html/html/_static/documentation_options.js178Writing evaluated template result to /build/source/.sphinx/html/html/_static/basic.css179Writing evaluated template result to /build/source/.sphinx/html/html/_static/language_data.js180Writing evaluated template result to /build/source/.sphinx/html/html/_static/js/versions.js181copying static files: done182copying extra files... 183copying extra files: done184copying assets: done185writing output... [ 11%] api186writing output... [ 22%] api/crypto187writing output... [ 33%] api/ssl188writing output... [ 44%] backward-compatibility189writing output... [ 56%] changelog190writing output... [ 67%] index191writing output... [ 78%] install192writing output... [ 89%] internals193writing output... [100%] introduction194195generating indices... genindex py-modindex done196writing additional pages... search done197dumping search index in English (code: en)... done198dumping object inventory... done199build succeeded, 2 warnings.200201The HTML pages are in .sphinx/html/html.installSphinxPhase
202Executing installSphinxPhasefixupPhase
203shrinking RPATHs of ELF executables and libraries in /nix/store/kmpg9knz3khv97j8mh9kqaxk98ypvy52-python3.13-pyopenssl-25.1.0204checking for references to /build/ in /nix/store/kmpg9knz3khv97j8mh9kqaxk98ypvy52-python3.13-pyopenssl-25.1.0...205patching script interpreter paths in /nix/store/kmpg9knz3khv97j8mh9kqaxk98ypvy52-python3.13-pyopenssl-25.1.0206stripping (with command strip and flags -S -p) in /nix/store/kmpg9knz3khv97j8mh9kqaxk98ypvy52-python3.13-pyopenssl-25.1.0/lib207shrinking RPATHs of ELF executables and libraries in /nix/store/a7dyhvakzdqg566nfsgvi0n4ijp65qms-python3.13-pyopenssl-25.1.0-doc208checking for references to /build/ in /nix/store/a7dyhvakzdqg566nfsgvi0n4ijp65qms-python3.13-pyopenssl-25.1.0-doc...209patching script interpreter paths in /nix/store/a7dyhvakzdqg566nfsgvi0n4ijp65qms-python3.13-pyopenssl-25.1.0-doc210shrinking RPATHs of ELF executables and libraries in /nix/store/kg7ay2abpg78nbl3076ffv71wswl70p2-python3.13-pyopenssl-25.1.0-dist211checking for references to /build/ in /nix/store/kg7ay2abpg78nbl3076ffv71wswl70p2-python3.13-pyopenssl-25.1.0-dist...212patching script interpreter paths in /nix/store/kg7ay2abpg78nbl3076ffv71wswl70p2-python3.13-pyopenssl-25.1.0-dist213Executing pythonRemoveTestsDir214Finished executing pythonRemoveTestsDirinstallCheckPhase
215no Makefile or custom installCheckPhase, doing nothingpythonImportsCheckPhase
216Executing pythonImportsCheckPhasepytestCheckPhase
217Executing pytestCheckPhase218pytest 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\)219============================= test session starts ==============================220platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0221OpenSSL: b'OpenSSL 3.6.0 1 Oct 2025'222cryptography: 46.0.3223rootdir: /build/source224configfile: pyproject.toml225testpaths: tests226plugins: rerunfailures-16.0.1227collected 465 items / 9 deselected / 456 selected 228229tests/test_crypto.py ................................................... [ 11%]230........................................................................ [ 26%]231........................................................................ [ 42%]232................. [ 46%]233tests/test_debug.py . [ 46%]234tests/test_rand.py .... [ 47%]235tests/test_ssl.py ...................................................... [ 59%]236........................................................................ [ 75%]237........................................................................ [ 91%]238........................................ [ 99%]239tests/test_util.py . [100%]240241=============================== warnings summary ===============================242tests/test_crypto.py:30243tests/test_crypto.py:30244 /build/source/tests/test_crypto.py:30: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.245 from OpenSSL.crypto import (246247../../nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/assertion/rewrite.py:186248 /nix/store/x4scnja62nk1i3lj5yggii85vs4h4gni-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/assertion/rewrite.py:186: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead249 exec(co, module.__dict__)250251tests/test_crypto.py::TestX509Ext::test_str252 /build/source/tests/test_crypto.py:891: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.253 str(X509Extension(b"basicConstraints", True, b"CA:false"))254255tests/test_crypto.py::TestX509Ext::test_construction256 /build/source/tests/test_crypto.py:900: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.257 basic = X509Extension(b"basicConstraints", True, b"CA:true")258259tests/test_crypto.py::TestX509Ext::test_construction260 /build/source/tests/test_crypto.py:903: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.261 comment = X509Extension(b"nsComment", False, b"pyOpenSSL unit test")262263tests/test_crypto.py::TestX509Ext::test_invalid_extension[thisIsMadeUp-False-hi]264tests/test_crypto.py::TestX509Ext::test_invalid_extension[basicConstraints-False-blah blah]265tests/test_crypto.py::TestX509Ext::test_invalid_extension[proxyCertInfo-True-language:id-ppl-anyLanguage,pathlen:1,policy:text:AB]266 /build/source/tests/test_crypto.py:931: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.267 X509Extension(type_name, critical, value)268269tests/test_crypto.py::TestX509Ext::test_get_critical[True]270tests/test_crypto.py::TestX509Ext::test_get_critical[False]271 /build/source/tests/test_crypto.py:939: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.272 ext = X509Extension(b"basicConstraints", critical_flag, b"CA:true")273274tests/test_crypto.py::TestX509Ext::test_get_short_name[basicConstraints-CA:true]275tests/test_crypto.py::TestX509Ext::test_get_short_name[nsComment-foo bar]276 /build/source/tests/test_crypto.py:951: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.277 ext = X509Extension(short_name, True, value)278279tests/test_crypto.py::TestX509Ext::test_get_data280 /build/source/tests/test_crypto.py:959: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.281 ext = X509Extension(b"basicConstraints", True, b"CA:true")282283tests/test_crypto.py::TestX509Ext::test_unused_subject284tests/test_crypto.py::TestX509Ext::test_subject285tests/test_crypto.py::TestX509Ext::test_unused_issuer286tests/test_crypto.py::TestX509Ext::test_issuer287 /build/source/tests/test_crypto.py:862: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.288 req = X509Req()289290tests/test_crypto.py::TestX509Ext::test_unused_subject291 /build/source/tests/test_crypto.py:969: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.292 ext1 = X509Extension(293294tests/test_crypto.py::TestX509Ext::test_unused_subject295 /build/source/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.296 x509.add_extensions([ext1])297298tests/test_crypto.py::TestX509Ext::test_subject299 /build/source/tests/test_crypto.py:985: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.300 ext3 = X509Extension(301302tests/test_crypto.py::TestX509Ext::test_subject303 /build/source/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.304 x509.add_extensions([ext3])305306tests/test_crypto.py::TestX509Ext::test_missing_subject307 /build/source/tests/test_crypto.py:999: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.308 X509Extension(b"subjectKeyIdentifier", False, b"hash")309310tests/test_crypto.py::TestX509Ext::test_invalid_subject[True]311tests/test_crypto.py::TestX509Ext::test_invalid_subject[bad_obj1]312tests/test_crypto.py::TestX509Ext::test_invalid_subject[hello]313tests/test_crypto.py::TestX509Ext::test_invalid_subject[bad_obj3]314 /build/source/tests/test_crypto.py:1008: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.315 X509Extension(316317tests/test_crypto.py::TestX509Ext::test_unused_issuer318 /build/source/tests/test_crypto.py:1021: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.319 ext1 = X509Extension(320321tests/test_crypto.py::TestX509Ext::test_unused_issuer322 /build/source/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.323 x509.add_extensions([ext1])324325tests/test_crypto.py::TestX509Ext::test_issuer326 /build/source/tests/test_crypto.py:1036: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.327 ext2 = X509Extension(328329tests/test_crypto.py::TestX509Ext::test_issuer330 /build/source/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.331 x509.add_extensions([ext2])332333tests/test_crypto.py::TestX509Ext::test_missing_issuer334 /build/source/tests/test_crypto.py:1051: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.335 X509Extension(336337tests/test_crypto.py::TestX509Ext::test_invalid_issuer[True]338tests/test_crypto.py::TestX509Ext::test_invalid_issuer[bad_obj1]339tests/test_crypto.py::TestX509Ext::test_invalid_issuer[hello]340tests/test_crypto.py::TestX509Ext::test_invalid_issuer[bad_obj3]341 /build/source/tests/test_crypto.py:1062: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.342 X509Extension(343344tests/test_crypto.py::TestX509Req::test_sign_with_ungenerated345 /build/source/tests/test_crypto.py:1613: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.346 request = X509Req()347348tests/test_crypto.py::TestX509Req::test_sign_with_public_key349 /build/source/tests/test_crypto.py:1623: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.350 request = X509Req()351352tests/test_crypto.py::TestX509Req::test_sign_with_unknown_digest353 /build/source/tests/test_crypto.py:1636: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.354 request = X509Req()355356tests/test_crypto.py::TestX509Req::test_sign357 /build/source/tests/test_crypto.py:1648: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.358 request = X509Req()359360tests/test_crypto.py::TestX509Req::test_construction361 /build/source/tests/test_crypto.py:1667: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.362 request = X509Req()363364tests/test_crypto.py::TestX509Req::test_version365 /build/source/tests/test_crypto.py:1676: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.366 request = X509Req()367368tests/test_crypto.py::TestX509Req::test_version_wrong_args369 /build/source/tests/test_crypto.py:1686: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.370 request = X509Req()371372tests/test_crypto.py::TestX509Req::test_get_subject373 /build/source/tests/test_crypto.py:1698: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.374 request = X509Req()375376tests/test_crypto.py::TestX509Req::test_add_extensions377 /build/source/tests/test_crypto.py:1712: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.378 request = X509Req()379380tests/test_crypto.py::TestX509Req::test_add_extensions381 /build/source/tests/test_crypto.py:1714: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.382 [X509Extension(b"basicConstraints", True, b"CA:false")]383384tests/test_crypto.py::TestX509Req::test_add_extensions385 /build/source/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.386 request.add_extensions(387388tests/test_crypto.py::TestX509Req::test_add_extensions389 /build/source/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.390 exts = request.get_extensions()391392tests/test_crypto.py::TestX509Req::test_add_extensions393tests/test_crypto.py::TestX509Req::test_get_extensions394tests/test_crypto.py::TestX509Req::test_get_extensions395tests/test_crypto.py::TestX509Req::test_get_extensions396tests/test_crypto.py::TestX509Req::test_get_extensions397 /nix/store/kmpg9knz3khv97j8mh9kqaxk98ypvy52-python3.13-pyopenssl-25.1.0/lib/python3.13/site-packages/OpenSSL/crypto.py:1145: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.398 ext = X509Extension.__new__(X509Extension)399400tests/test_crypto.py::TestX509Req::test_get_extensions401 /build/source/tests/test_crypto.py:1727: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.402 request = X509Req()403404tests/test_crypto.py::TestX509Req::test_get_extensions405 /build/source/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.406 exts = request.get_extensions()407408tests/test_crypto.py::TestX509Req::test_get_extensions409 /build/source/tests/test_crypto.py:1732: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.410 X509Extension(b"basicConstraints", True, b"CA:true"),411412tests/test_crypto.py::TestX509Req::test_get_extensions413 /build/source/tests/test_crypto.py:1733: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.414 X509Extension(b"keyUsage", False, b"digitalSignature"),415416tests/test_crypto.py::TestX509Req::test_get_extensions417 /build/source/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.418 request.add_extensions(419420tests/test_crypto.py::TestX509Req::test_get_extensions421 /build/source/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.422 exts = request.get_extensions()423424tests/test_crypto.py::TestX509Req::test_get_extensions425 /build/source/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.426 exts = request.get_extensions()427428tests/test_crypto.py::TestX509Req::test_undef_oid429 /build/source/tests/test_crypto.py:1750: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.430 X509Extension(431432tests/test_crypto.py::TestX509Req::test_add_extensions_wrong_args433 /build/source/tests/test_crypto.py:1762: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.434 request = X509Req()435436tests/test_crypto.py::TestX509Req::test_add_extensions_wrong_args437 /build/source/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.438 request.add_extensions(object()) # type: ignore[arg-type]439440tests/test_crypto.py::TestX509Req::test_add_extensions_wrong_args441 /build/source/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.442 request.add_extensions([object()]) # type: ignore[list-item]443444tests/test_crypto.py::TestX509Req::test_verify_wrong_args445 /build/source/tests/test_crypto.py:1773: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.446 request = X509Req()447448tests/test_crypto.py::TestX509Req::test_verify_uninitialized_key449 /build/source/tests/test_crypto.py:1782: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.450 request = X509Req()451452tests/test_crypto.py::TestX509Req::test_verify_wrong_key453 /build/source/tests/test_crypto.py:1793: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.454 request = X509Req()455456tests/test_crypto.py::TestX509Req::test_verify_success457 /build/source/tests/test_crypto.py:1806: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.458 request = X509Req()459460tests/test_crypto.py::TestX509Req::test_convert_from_cryptography461tests/test_crypto.py::TestX509Req::test_convert_to_cryptography_key462 /nix/store/kmpg9knz3khv97j8mh9kqaxk98ypvy52-python3.13-pyopenssl-25.1.0/lib/python3.13/site-packages/OpenSSL/crypto.py:2434: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.463 x509req = X509Req.__new__(X509Req)464465tests/test_crypto.py::TestX509::test_get_extension466 /build/source/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.467 ext = cert.get_extension(0)468469tests/test_crypto.py::TestX509::test_get_extension470tests/test_crypto.py::TestX509::test_get_extension471tests/test_crypto.py::TestX509::test_get_extension472tests/test_crypto.py::TestX509::test_get_extension473tests/test_crypto.py::TestX509::test_get_extension474tests/test_crypto.py::TestX509::test_get_extension475tests/test_crypto.py::TestX509::test_nullbyte_subjectAltName476 /nix/store/kmpg9knz3khv97j8mh9kqaxk98ypvy52-python3.13-pyopenssl-25.1.0/lib/python3.13/site-packages/OpenSSL/crypto.py:1679: DeprecationWarning: X509Extension support in pyOpenSSL is deprecated. You should use the APIs in cryptography.477 ext = X509Extension.__new__(X509Extension)478479tests/test_crypto.py::TestX509::test_get_extension480 /build/source/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.481 ext = cert.get_extension(1)482483tests/test_crypto.py::TestX509::test_get_extension484 /build/source/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.485 ext = cert.get_extension(2)486487tests/test_crypto.py::TestX509::test_get_extension488 /build/source/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.489 cert.get_extension(-1)490491tests/test_crypto.py::TestX509::test_get_extension492 /build/source/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.493 cert.get_extension(4)494495tests/test_crypto.py::TestX509::test_get_extension496 /build/source/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.497 cert.get_extension("hello") # type: ignore[arg-type]498499tests/test_crypto.py::TestX509::test_nullbyte_subjectAltName500 /build/source/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.501 ext = cert.get_extension(3)502503tests/test_crypto.py::TestEllipticCurve::test_set504 /build/source/tests/test_crypto.py:3509: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.505 assert isinstance(get_elliptic_curves(), set)506507tests/test_crypto.py::TestEllipticCurve::test_a_curve508 /build/source/tests/test_crypto.py:3516: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.509 curves = get_elliptic_curves()510511tests/test_crypto.py::TestEllipticCurve::test_a_curve512 /build/source/tests/test_crypto.py:3518: DeprecationWarning: get_elliptic_curve is deprecated. You should use the APIs in cryptography instead.513 assert curve.name == get_elliptic_curve(curve.name).name514515tests/test_crypto.py::TestEllipticCurve::test_a_curve516tests/test_crypto.py::TestEllipticCurve::test_not_a_curve517 /nix/store/kmpg9knz3khv97j8mh9kqaxk98ypvy52-python3.13-pyopenssl-25.1.0/lib/python3.13/site-packages/OpenSSL/crypto.py:578: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.518 for curve in get_elliptic_curves():519520tests/test_crypto.py::TestEllipticCurve::test_not_a_curve521 /build/source/tests/test_crypto.py:3526: DeprecationWarning: get_elliptic_curve is deprecated. You should use the APIs in cryptography instead.522 get_elliptic_curve("this curve was just invented")523524tests/test_crypto.py::TestEllipticCurve::test_repr525 /build/source/tests/test_crypto.py:3533: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.526 curves = get_elliptic_curves()527528tests/test_crypto.py::TestEllipticCurve::test_to_EC_KEY529 /build/source/tests/test_crypto.py:3542: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.530 curves = get_elliptic_curves()531532tests/test_crypto.py: 12 warnings533 /build/source/tests/test_crypto.py:3559: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.534 return next(iter(get_elliptic_curves()))535536tests/test_crypto.py::TestEllipticCurveEquality::test_differentEq537tests/test_crypto.py::TestEllipticCurveEquality::test_differentNe538 /build/source/tests/test_crypto.py:3566: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.539 return list(get_elliptic_curves())[1]540541tests/test_crypto.py::TestEllipticCurveHash::test_contains542 /build/source/tests/test_crypto.py:3684: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.543 curve = next(iter(get_elliptic_curves()))544545tests/test_crypto.py::TestEllipticCurveHash::test_does_not_contain546 /build/source/tests/test_crypto.py:3693: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.547 all_curves = list(get_elliptic_curves())548549tests/test_ssl.py::TestContext::test_set_cipher_list[hello world:AES128-SHA1]550 /nix/store/kmpg9knz3khv97j8mh9kqaxk98ypvy52-python3.13-pyopenssl-25.1.0/lib/python3.13/site-packages/OpenSSL/SSL.py:845: DeprecationWarning: str for cipher_list is no longer accepted, use bytes551 return f(self, *args, **kwargs)552553tests/test_ssl.py: 108 warnings554 /nix/store/kmpg9knz3khv97j8mh9kqaxk98ypvy52-python3.13-pyopenssl-25.1.0/lib/python3.13/site-packages/OpenSSL/SSL.py:845: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead.555 return f(self, *args, **kwargs)556557tests/test_ssl.py: 117 warnings558 /nix/store/kmpg9knz3khv97j8mh9kqaxk98ypvy52-python3.13-pyopenssl-25.1.0/lib/python3.13/site-packages/OpenSSL/SSL.py:845: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead.559 return f(self, *args, **kwargs)560561tests/test_ssl.py::TestContext::test_set_proto_version562 /build/source/tests/test_ssl.py:1066: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception563 client_context.set_max_proto_version(0)564565tests/test_ssl.py::TestContext::test_set_verify_callback_reference566tests/test_ssl.py::TestContext::test_set_verify_callback_reference567tests/test_ssl.py::TestContext::test_set_verify_callback_reference568tests/test_ssl.py::TestContext::test_set_verify_callback_reference569tests/test_ssl.py::TestContext::test_set_verify_callback_reference570 /build/source/tests/test_ssl.py:1494: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception571 clientContext.set_verify(VERIFY_PEER, verify_callback)572573tests/test_ssl.py::TestContext::test_set_tmp_ecdh574 /build/source/tests/test_ssl.py:1748: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.575 for curve in get_elliptic_curves():576577tests/test_ssl.py::TestContextConnection::test_use_privatekey[connection]578 /build/source/tests/test_ssl.py:2251: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead.579 ctx_or_conn.use_privatekey(key)580581tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection]582 /build/source/tests/test_ssl.py:2268: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead.583 ctx_or_conn.use_certificate(584585tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection]586 /build/source/tests/test_ssl.py:2272: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead.587 ctx_or_conn.use_privatekey(key)588589tests/test_ssl.py::TestContextConnection::test_use_certificate[connection]590 /build/source/tests/test_ssl.py:2283: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead.591 ctx_or_conn.use_certificate(592593tests/test_ssl.py::TestContextConnection::test_use_certificate_uninitialized[connection]594 /build/source/tests/test_ssl.py:2309: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead.595 ctx_or_conn.use_certificate(X509())596597tests/test_ssl.py::TestConnection::test_set_verify_callback_reference598 /build/source/tests/test_ssl.py:2824: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception599 context.set_verify(VERIFY_NONE)600601tests/test_ssl.py::TestMemoryBIO::test_set_empty_ca_list602 /build/source/tests/test_ssl.py:3960: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception603 ctx.set_client_ca_list([])604605tests/test_ssl.py::TestMemoryBIO::test_set_one_ca_list606 /build/source/tests/test_ssl.py:3977: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception607 ctx.set_client_ca_list([cadesc])608609tests/test_ssl.py::TestMemoryBIO::test_set_multiple_ca_list610 /build/source/tests/test_ssl.py:3998: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception611 ctx.set_client_ca_list(L)612613tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list614 /build/source/tests/test_ssl.py:4018: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception615 ctx.set_client_ca_list([sedesc, cldesc])616617tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list618 /build/source/tests/test_ssl.py:4019: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception619 ctx.set_client_ca_list([cadesc])620621tests/test_ssl.py::TestMemoryBIO::test_mutated_ca_list622 /build/source/tests/test_ssl.py:4038: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception623 ctx.set_client_ca_list([cadesc])624625tests/test_ssl.py::TestMemoryBIO::test_one_add_client_ca626 /build/source/tests/test_ssl.py:4062: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception627 ctx.add_client_ca(cacert)628629tests/test_ssl.py::TestMemoryBIO::test_multiple_add_client_ca630 /build/source/tests/test_ssl.py:4079: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception631 ctx.add_client_ca(cacert)632633tests/test_ssl.py::TestMemoryBIO::test_multiple_add_client_ca634 /build/source/tests/test_ssl.py:4080: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception635 ctx.add_client_ca(secert.to_cryptography())636637tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca638 /build/source/tests/test_ssl.py:4100: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception639 ctx.set_client_ca_list([cadesc, sedesc])640641tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca642 /build/source/tests/test_ssl.py:4101: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception643 ctx.add_client_ca(clcert)644645tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca646 /build/source/tests/test_ssl.py:4120: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception647 ctx.add_client_ca(clcert.to_cryptography())648649tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca650 /build/source/tests/test_ssl.py:4121: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception651 ctx.set_client_ca_list([cadesc])652653tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca654 /build/source/tests/test_ssl.py:4122: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception655 ctx.add_client_ca(secert)656657-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html658=============== 456 passed, 9 deselected, 361 warnings in 7.20s ================659Finished executing pytestCheckPhase