python3.14-pyopenssl-26.4.0
checks.x86_64-linux.formatting
· build #834
· raw
1tribuchet: building on jamie2structuredAttrs is enabled3Sourcing python-remove-tests-dir-hook4Sourcing python-catch-conflicts-hook.sh5Sourcing python-remove-bin-bytecode-hook.sh6Sourcing pypa-build-hook7Using pypaBuildPhase8Sourcing python-runtime-deps-check-hook9Using pythonRuntimeDepsCheckHook10Sourcing pypa-install-hook11Using pypaInstallPhase12Sourcing python-imports-check-hook.sh13Using pythonImportsCheckPhase14Sourcing python-metadata-check-hook.sh15Using pythonMetadataCheckPhase16Sourcing python-namespaces-hook17Sourcing python-catch-conflicts-hook.sh18Sourcing sphinx-hook19Sourcing pytest-check-hook20Using pytestCheckPhase
unpackPhase
21unpacking source archive /nix/store/cp5cjc02blpvyv628dcckr93mhj719kr-source22source root is source23setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tests/util.py"configurePhase
24no configure script, doing nothingbuildPhase
25Executing pypaBuildPhase26Creating a wheel...27pypa build flags: --no-isolation --outdir dist/ --wheel28* Getting build dependencies for wheel...29/nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.30!!3132 ********************************************************************************33 Please consider removing the following classifiers in favor of a SPDX license expression:3435 License :: OSI Approved :: Apache Software License3637 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.38 ********************************************************************************3940!!41 self._finalize_license_expression()42running egg_info43creating src/pyOpenSSL.egg-info44writing src/pyOpenSSL.egg-info/PKG-INFO45writing dependency_links to src/pyOpenSSL.egg-info/dependency_links.txt46writing requirements to src/pyOpenSSL.egg-info/requires.txt47writing top-level names to src/pyOpenSSL.egg-info/top_level.txt48writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'49reading manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'50reading manifest template 'MANIFEST.in'51warning: no files found matching '.coveragerc'52warning: no previously-included files found matching '.readthedocs.yml'53warning: no previously-included files found matching 'mypy.ini'54no previously-included directories found matching 'doc/_build'55adding license file 'LICENSE'56writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'57* Building wheel...58/nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.59!!6061 ********************************************************************************62 Please consider removing the following classifiers in favor of a SPDX license expression:6364 License :: OSI Approved :: Apache Software License6566 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.67 ********************************************************************************6869!!70 self._finalize_license_expression()71running bdist_wheel72running build73running build_py74creating build/lib/OpenSSL75copying src/OpenSSL/rand.py -> build/lib/OpenSSL76copying src/OpenSSL/version.py -> build/lib/OpenSSL77copying src/OpenSSL/SSL.py -> build/lib/OpenSSL78copying src/OpenSSL/_util.py -> build/lib/OpenSSL79copying src/OpenSSL/__init__.py -> build/lib/OpenSSL80copying src/OpenSSL/debug.py -> build/lib/OpenSSL81copying src/OpenSSL/crypto.py -> build/lib/OpenSSL82copying src/OpenSSL/py.typed -> build/lib/OpenSSL83installing to build/bdist.linux-x86_64/wheel84running install85running install_lib86creating build/bdist.linux-x86_64/wheel87creating build/bdist.linux-x86_64/wheel/OpenSSL88copying build/lib/OpenSSL/version.py -> build/bdist.linux-x86_64/wheel/./OpenSSL89copying build/lib/OpenSSL/crypto.py -> build/bdist.linux-x86_64/wheel/./OpenSSL90copying build/lib/OpenSSL/debug.py -> build/bdist.linux-x86_64/wheel/./OpenSSL91copying build/lib/OpenSSL/rand.py -> build/bdist.linux-x86_64/wheel/./OpenSSL92copying build/lib/OpenSSL/__init__.py -> build/bdist.linux-x86_64/wheel/./OpenSSL93copying build/lib/OpenSSL/SSL.py -> build/bdist.linux-x86_64/wheel/./OpenSSL94copying build/lib/OpenSSL/_util.py -> build/bdist.linux-x86_64/wheel/./OpenSSL95copying build/lib/OpenSSL/py.typed -> build/bdist.linux-x86_64/wheel/./OpenSSL96running install_egg_info97running egg_info98writing src/pyOpenSSL.egg-info/PKG-INFO99writing dependency_links to src/pyOpenSSL.egg-info/dependency_links.txt100writing requirements to src/pyOpenSSL.egg-info/requires.txt101writing top-level names to src/pyOpenSSL.egg-info/top_level.txt102reading manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'103reading manifest template 'MANIFEST.in'104warning: no files found matching '.coveragerc'105warning: no previously-included files found matching '.readthedocs.yml'106warning: no previously-included files found matching 'mypy.ini'107no previously-included directories found matching 'doc/_build'108adding license file 'LICENSE'109writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'110Copying src/pyOpenSSL.egg-info to build/bdist.linux-x86_64/wheel/./pyOpenSSL-26.4.0-py3.14.egg-info111running install_scripts112creating build/bdist.linux-x86_64/wheel/pyopenssl-26.4.0.dist-info/WHEEL113creating '/build/source/dist/.tmp-_lzck9gf/pyopenssl-26.4.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it114adding 'OpenSSL/SSL.py'115adding 'OpenSSL/__init__.py'116adding 'OpenSSL/_util.py'117adding 'OpenSSL/crypto.py'118adding 'OpenSSL/debug.py'119adding 'OpenSSL/py.typed'120adding 'OpenSSL/rand.py'121adding 'OpenSSL/version.py'122adding 'pyopenssl-26.4.0.dist-info/licenses/LICENSE'123adding 'pyopenssl-26.4.0.dist-info/METADATA'124adding 'pyopenssl-26.4.0.dist-info/WHEEL'125adding 'pyopenssl-26.4.0.dist-info/top_level.txt'126adding 'pyopenssl-26.4.0.dist-info/RECORD'127removing build/bdist.linux-x86_64/wheel128Successfully built pyopenssl-26.4.0-py3-none-any.whl129Finished creating a wheel...130/build/source/dist /build/source131Unpacking to: unpacked/pyopenssl-26.4.0...OK132Repacking wheel as ./pyopenssl-26.4.0-py3-none-any.whl...OK133/build/source134Finished executing pypaBuildPhasepythonRuntimeDepsCheckHook
135Executing pythonRuntimeDepsCheck136Checking runtime dependencies for pyopenssl-26.4.0-py3-none-any.whl137Finished executing pythonRuntimeDepsCheckinstallPhase
138Executing pypaInstallPhase139Successfully installed pyopenssl-26.4.0-py3-none-any.whl140Finished executing pypaInstallPhasepythonOutputDistPhase
141Executing pythonOutputDistPhase142Finished executing pythonOutputDistPhasebuildSphinxPhase
143Executing buildSphinxPhase144Sphinx documentation found in doc145Executing sphinx-build with html builder146Running Sphinx v9.1.0147loading translations [en]... locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist148locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist149done150making output directory... done151Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.152locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist153loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ...154loading intersphinx inventory 'cryptography' from https://cryptography.io/en/latest/objects.inv ...155WARNING: failed to reach any of the inventories with the following issues:156intersphinx 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)"))157WARNING: failed to reach any of the inventories with the following issues:158intersphinx 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)"))159locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist160building [mo]: targets for 0 po files that are out of date161writing output... 162building [html]: targets for 9 source files that are out of date163updating environment: locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist164[new config] 9 added, 0 changed, 0 removed165reading sources... [ 11%] api166reading sources... [ 22%] api/crypto167reading sources... [ 33%] api/ssl168reading sources... [ 44%] backward-compatibility169reading sources... [ 56%] changelog170reading sources... [ 67%] index171reading sources... [ 78%] install172reading sources... [ 89%] internals173reading sources... [100%] introduction174175looking for now-outdated files... none found176pickling environment... done177checking consistency... done178preparing documents... done179copying assets... 180copying static files... 181Writing evaluated template result to /build/source/.sphinx/html/html/_static/language_data.js182Writing evaluated template result to /build/source/.sphinx/html/html/_static/basic.css183Writing evaluated template result to /build/source/.sphinx/html/html/_static/documentation_options.js184Writing evaluated template result to /build/source/.sphinx/html/html/_static/js/versions.js185copying static files: done186copying extra files... 187copying extra files: done188copying assets: done189writing output... [ 11%] api190writing output... [ 22%] api/crypto191writing output... [ 33%] api/ssl192writing output... [ 44%] backward-compatibility193writing output... [ 56%] changelog194writing output... [ 67%] index195writing output... [ 78%] install196writing output... [ 89%] internals197writing output... [100%] introduction198199generating indices... genindex py-modindex done200writing additional pages... search done201dumping search index in English (code: en)... done202dumping object inventory... done203build succeeded, 2 warnings.204205The HTML pages are in .sphinx/html/html.installSphinxPhase
206Executing installSphinxPhasefixupPhase
207shrinking RPATHs of ELF executables and libraries in /nix/store/1a7vlmyi1300ydnn80m4bfrbij3lvqlm-python3.14-pyopenssl-26.4.0-doc208checking for references to /build/ in /nix/store/1a7vlmyi1300ydnn80m4bfrbij3lvqlm-python3.14-pyopenssl-26.4.0-doc...209patching script interpreter paths in /nix/store/1a7vlmyi1300ydnn80m4bfrbij3lvqlm-python3.14-pyopenssl-26.4.0-doc210shrinking RPATHs of ELF executables and libraries in /nix/store/l1qa6w07lzwx6xkrqa8zakajxc2rdh98-python3.14-pyopenssl-26.4.0-dist211checking for references to /build/ in /nix/store/l1qa6w07lzwx6xkrqa8zakajxc2rdh98-python3.14-pyopenssl-26.4.0-dist...212patching script interpreter paths in /nix/store/l1qa6w07lzwx6xkrqa8zakajxc2rdh98-python3.14-pyopenssl-26.4.0-dist213shrinking RPATHs of ELF executables and libraries in /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0214checking for references to /build/ in /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0...215patching script interpreter paths in /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0216stripping (with command strip and flags -S -p) in /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0/lib217Executing pythonRemoveTestsDir218Finished executing pythonRemoveTestsDirinstallCheckPhase
219no Makefile or custom installCheckPhase, doing nothingpythonImportsCheckPhase
220Executing pythonImportsCheckPhasepythonMetadataCheckPhase
221Executing pythonMetadataCheckPhasepytestCheckPhase
222Executing pytestCheckPhase223pytest 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\)224============================= test session starts ==============================225platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0226OpenSSL: b'OpenSSL 3.5.9 29 Sep 2026'227cryptography: 50.0.2228rootdir: /build/source229configfile: pyproject.toml230testpaths: tests231plugins: rerunfailures-16.6232collected 432 items / 8 deselected / 424 selected233234tests/test_crypto.py ................................................... [ 12%]235........................................................................ [ 29%]236............................................. [ 39%]237tests/test_debug.py . [ 39%]238tests/test_rand.py .... [ 40%]239tests/test_ssl.py ...................................................... [ 53%]240........................................................................ [ 70%]241........................................................................ [ 87%]242.................................................... [ 99%]243tests/test_util.py . [100%]244245=============================== warnings summary ===============================246tests/test_crypto.py:30247 /build/source/tests/test_crypto.py:30: DeprecationWarning: dump_privatekey is deprecated. You should use the APIs in cryptography.248 from OpenSSL.crypto import (249250../../nix/store/1p2fja7y7dy76d7jbkrc51wrlssdz6zf-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/assertion/rewrite.py:188251 /nix/store/1p2fja7y7dy76d7jbkrc51wrlssdz6zf-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/assertion/rewrite.py:188: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead252 exec(co, module.__dict__)253254tests/test_ssl.py:55255 /build/source/tests/test_ssl.py:55: DeprecationWarning: dump_privatekey is deprecated. You should use the APIs in cryptography.256 from OpenSSL.crypto import (257258tests/test_crypto.py::TestPKey::test_pregeneration259 /build/source/tests/test_crypto.py:993: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead.260 key.check()261262tests/test_crypto.py::TestPKey::test_failed_generation263 /build/source/tests/test_crypto.py:1005: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.264 key.generate_key("foo", "bar") # type: ignore[arg-type]265266tests/test_crypto.py::TestPKey::test_failed_generation267 /build/source/tests/test_crypto.py:1007: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.268 key.generate_key(-1, 0)269270tests/test_crypto.py::TestPKey::test_failed_generation271 /build/source/tests/test_crypto.py:1010: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.272 key.generate_key(TYPE_RSA, -1)273274tests/test_crypto.py::TestPKey::test_failed_generation275 /build/source/tests/test_crypto.py:1012: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.276 key.generate_key(TYPE_RSA, 0)277278tests/test_crypto.py::TestPKey::test_failed_generation279 /build/source/tests/test_crypto.py:1015: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.280 key.generate_key(TYPE_RSA, object()) # type: ignore[arg-type]281282tests/test_crypto.py::TestPKey::test_rsa_generation283 /build/source/tests/test_crypto.py:1024: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.284 key.generate_key(TYPE_RSA, bits)285286tests/test_crypto.py::TestPKey::test_rsa_generation287 /build/source/tests/test_crypto.py:1027: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead.288 assert key.check()289290tests/test_crypto.py::TestPKey::test_dsa_generation291 /build/source/tests/test_crypto.py:1039: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.292 key.generate_key(TYPE_DSA, bits)293294tests/test_crypto.py::TestPKey::test_dsa_generation295 /build/source/tests/test_crypto.py:1043: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead.296 key.check()297298tests/test_crypto.py::TestPKey::test_regeneration299tests/test_crypto.py::TestPKey::test_regeneration300 /build/source/tests/test_crypto.py:1052: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.301 key.generate_key(type, bits)302303tests/test_crypto.py::TestPKey::test_inconsistent_key304 /build/source/tests/test_crypto.py:1063: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead.305 key.check()306307tests/test_crypto.py::TestPKey::test_check_public_key308 /build/source/tests/test_crypto.py:1072: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.309 key.generate_key(TYPE_RSA, 2048)310311tests/test_crypto.py::TestPKey::test_check_public_key312 /build/source/tests/test_crypto.py:1074: DeprecationWarning: X509.set_pubkey is deprecated. You should use cryptography's CertificateBuilder instead.313 cert.set_pubkey(key)314315tests/test_crypto.py::TestPKey::test_check_public_key316 /build/source/tests/test_crypto.py:1077: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead.317 pub.check()318319tests/test_crypto.py::TestPKey::test_check_pr_897320 /build/source/tests/test_crypto.py:1086: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead.321 pkey.check()322323tests/test_crypto.py: 31 warnings324 /build/source/tests/test_crypto.py:1094: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.325 name = X509().get_subject()326327tests/test_crypto.py::TestX509Name::test_copy328 /build/source/tests/test_crypto.py:1182: DeprecationWarning: X509Name support in pyOpenSSL is deprecated. You should use the APIs in cryptography.329 copy = X509Name(name)330331tests/test_crypto.py::TestX509Name::test_load_nul_byte_attribute332 /build/source/tests/test_crypto.py:1350: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.333 subject = cert.get_subject()334335tests/test_crypto.py::TestX509Name::test_load_nul_byte_components336 /build/source/tests/test_crypto.py:1359: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.337 subject = cert.get_subject()338339tests/test_crypto.py::TestX509::test_sign_with_ungenerated340 /build/source/tests/test_crypto.py:1389: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead.341 cert.sign(key, GOOD_DIGEST)342343tests/test_crypto.py::TestX509::test_sign_with_public_key344 /build/source/tests/test_crypto.py:1398: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.345 key.generate_key(TYPE_RSA, 2048)346347tests/test_crypto.py::TestX509::test_sign_with_public_key348 /build/source/tests/test_crypto.py:1399: DeprecationWarning: X509.set_pubkey is deprecated. You should use cryptography's CertificateBuilder instead.349 cert.set_pubkey(key)350351tests/test_crypto.py::TestX509::test_sign_with_public_key352 /build/source/tests/test_crypto.py:1402: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead.353 cert.sign(pub, GOOD_DIGEST)354355tests/test_crypto.py::TestX509::test_sign_with_unknown_digest356 /build/source/tests/test_crypto.py:1411: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.357 key.generate_key(TYPE_RSA, 2048)358359tests/test_crypto.py::TestX509::test_sign_with_unknown_digest360 /build/source/tests/test_crypto.py:1413: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead.361 cert.sign(key, BAD_DIGEST)362363tests/test_crypto.py::TestX509::test_sign364 /build/source/tests/test_crypto.py:1422: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.365 key.generate_key(TYPE_RSA, 2048)366367tests/test_crypto.py::TestX509::test_sign368 /build/source/tests/test_crypto.py:1423: DeprecationWarning: X509.set_pubkey is deprecated. You should use cryptography's CertificateBuilder instead.369 cert.set_pubkey(key)370371tests/test_crypto.py::TestX509::test_sign372 /build/source/tests/test_crypto.py:1424: DeprecationWarning: X509.gmtime_adj_notBefore is deprecated. You should use cryptography's CertificateBuilder instead.373 cert.gmtime_adj_notBefore(0)374375tests/test_crypto.py::TestX509::test_sign376 /build/source/tests/test_crypto.py:1425: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead.377 cert.gmtime_adj_notAfter(24 * 60 * 60)378379tests/test_crypto.py::TestX509::test_sign380 /build/source/tests/test_crypto.py:1426: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead.381 cert.sign(key, GOOD_DIGEST)382383tests/test_crypto.py::TestX509::test_set_version_wrong_args384 /build/source/tests/test_crypto.py:1444: DeprecationWarning: X509.set_version is deprecated. You should use cryptography's CertificateBuilder instead.385 cert.set_version(None) # type: ignore[arg-type]386387tests/test_crypto.py::TestX509::test_version388 /build/source/tests/test_crypto.py:1452: DeprecationWarning: X509.set_version is deprecated. You should use cryptography's CertificateBuilder instead.389 cert.set_version(2)390391tests/test_crypto.py::TestX509::test_serial_number392 /build/source/tests/test_crypto.py:1463: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead.393 certificate.set_serial_number("1") # type: ignore[arg-type]394395tests/test_crypto.py::TestX509::test_serial_number396 /build/source/tests/test_crypto.py:1465: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead.397 certificate.set_serial_number(1)398399tests/test_crypto.py::TestX509::test_serial_number400 /build/source/tests/test_crypto.py:1467: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead.401 certificate.set_serial_number(2**32 + 1)402403tests/test_crypto.py::TestX509::test_serial_number404 /build/source/tests/test_crypto.py:1469: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead.405 certificate.set_serial_number(2**64 + 1)406407tests/test_crypto.py::TestX509::test_serial_number408 /build/source/tests/test_crypto.py:1471: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead.409 certificate.set_serial_number(2**128 + 1)410411tests/test_crypto.py::TestX509::test_set_notBefore412tests/test_crypto.py::TestX509::test_set_notBefore413tests/test_crypto.py::TestX509::test_set_notBefore414tests/test_crypto.py::TestX509::test_set_notBefore415 /build/source/tests/test_crypto.py:1521: DeprecationWarning: X509.set_notBefore is deprecated. You should use cryptography's CertificateBuilder instead.416 lambda c: c.get_notBefore(), lambda c, v: c.set_notBefore(v)417418tests/test_crypto.py::TestX509::test_set_notAfter419tests/test_crypto.py::TestX509::test_set_notAfter420tests/test_crypto.py::TestX509::test_set_notAfter421tests/test_crypto.py::TestX509::test_set_notAfter422 /build/source/tests/test_crypto.py:1531: DeprecationWarning: X509.set_notAfter is deprecated. You should use cryptography's CertificateBuilder instead.423 lambda c: c.get_notAfter(), lambda c, v: c.set_notAfter(v)424425tests/test_crypto.py::TestX509::test_gmtime_adj_notBefore_wrong_args426 /build/source/tests/test_crypto.py:1559: DeprecationWarning: X509.gmtime_adj_notBefore is deprecated. You should use cryptography's CertificateBuilder instead.427 cert.gmtime_adj_notBefore(None) # type: ignore[arg-type]428429tests/test_crypto.py::TestX509::test_gmtime_adj_notBefore430 /build/source/tests/test_crypto.py:1571: DeprecationWarning: X509.gmtime_adj_notBefore is deprecated. You should use cryptography's CertificateBuilder instead.431 cert.gmtime_adj_notBefore(100)432433tests/test_crypto.py::TestX509::test_gmtime_adj_notAfter_wrong_args434 /build/source/tests/test_crypto.py:1588: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead.435 cert.gmtime_adj_notAfter(None) # type: ignore[arg-type]436437tests/test_crypto.py::TestX509::test_gmtime_adj_notAfter438 /build/source/tests/test_crypto.py:1600: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead.439 cert.gmtime_adj_notAfter(100)440441tests/test_crypto.py::TestX509::test_has_expired442 /build/source/tests/test_crypto.py:1614: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead.443 cert.gmtime_adj_notAfter(-1)444445tests/test_crypto.py::TestX509::test_has_not_expired446 /build/source/tests/test_crypto.py:1623: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead.447 cert.gmtime_adj_notAfter(2)448449tests/test_crypto.py::TestX509::test_get_subject450 /build/source/tests/test_crypto.py:1728: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.451 subj = cert.get_subject()452453tests/test_crypto.py::TestX509::test_set_subject_wrong_args454 /build/source/tests/test_crypto.py:1745: DeprecationWarning: X509.set_subject is deprecated. You should use cryptography's CertificateBuilder instead.455 cert.set_subject(None) # type: ignore[arg-type]456457tests/test_crypto.py::TestX509::test_set_subject458 /build/source/tests/test_crypto.py:1753: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.459 name = cert.get_subject()460461tests/test_crypto.py::TestX509::test_set_subject462 /build/source/tests/test_crypto.py:1756: DeprecationWarning: X509.set_subject is deprecated. You should use cryptography's CertificateBuilder instead.463 cert.set_subject(name)464465tests/test_crypto.py::TestX509::test_set_subject466 /build/source/tests/test_crypto.py:1757: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.467 assert cert.get_subject().get_components() == [468469tests/test_crypto.py::TestX509::test_get_issuer470 /build/source/tests/test_crypto.py:1767: DeprecationWarning: X509.get_issuer is deprecated. You should use cryptography's X.509 APIs instead.471 subj = cert.get_issuer()472473tests/test_crypto.py::TestX509::test_set_issuer_wrong_args474 /build/source/tests/test_crypto.py:1785: DeprecationWarning: X509.set_issuer is deprecated. You should use cryptography's CertificateBuilder instead.475 cert.set_issuer(None) # type: ignore[arg-type]476477tests/test_crypto.py::TestX509::test_set_issuer478 /build/source/tests/test_crypto.py:1793: DeprecationWarning: X509.get_issuer is deprecated. You should use cryptography's X.509 APIs instead.479 name = cert.get_issuer()480481tests/test_crypto.py::TestX509::test_set_issuer482 /build/source/tests/test_crypto.py:1796: DeprecationWarning: X509.set_issuer is deprecated. You should use cryptography's CertificateBuilder instead.483 cert.set_issuer(name)484485tests/test_crypto.py::TestX509::test_set_issuer486 /build/source/tests/test_crypto.py:1797: DeprecationWarning: X509.get_issuer is deprecated. You should use cryptography's X.509 APIs instead.487 assert cert.get_issuer().get_components() == [488489tests/test_crypto.py::TestX509::test_set_pubkey_wrong_type490 /build/source/tests/test_crypto.py:1818: DeprecationWarning: X509.set_pubkey is deprecated. You should use cryptography's CertificateBuilder instead.491 cert.set_pubkey(object()) # type: ignore[arg-type]492493tests/test_crypto.py::TestX509::test_sign_bad_pubkey_type494 /build/source/tests/test_crypto.py:1875: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead.495 cert.sign(object(), b"sha256") # type: ignore[arg-type]496497tests/test_crypto.py::TestFunction::test_dump_privatekey_wrong_args498 /build/source/tests/test_crypto.py:2171: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.499 key.generate_key(TYPE_RSA, 2048)500501tests/test_crypto.py::TestFunction::test_dump_privatekey_not_rsa_key502 /build/source/tests/test_crypto.py:2181: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.503 key.generate_key(TYPE_DSA, 512)504505tests/test_crypto.py::TestFunction::test_dump_privatekey_unknown_cipher506 /build/source/tests/test_crypto.py:2195: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.507 key.generate_key(TYPE_RSA, 2048)508509tests/test_crypto.py::TestFunction::test_dump_privatekey_invalid_passphrase_type510 /build/source/tests/test_crypto.py:2205: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.511 key.generate_key(TYPE_RSA, 2048)512513tests/test_crypto.py::TestFunction::test_dump_privatekey_invalid_filetype514 /build/source/tests/test_crypto.py:2215: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.515 key.generate_key(TYPE_RSA, 2048)516517tests/test_crypto.py::TestFunction::test_dump_privatekey_pem518 /build/source/tests/test_crypto.py:2285: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead.519 assert key.check()520521tests/test_crypto.py::TestCRL::test_verify_with_missing_crl522 /build/source/tests/test_crypto.py:2548: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.523 assert err.value.certificate.get_subject().CN == "intermediate-service"524525tests/test_crypto.py::TestX509StoreContext::test_untrusted_self_signed526 /build/source/tests/test_crypto.py:2757: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.527 assert exc.value.certificate.get_subject().CN == "Testing Root CA"528529tests/test_crypto.py::TestX509StoreContext::test_invalid_chain_no_root530 /build/source/tests/test_crypto.py:2772: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.531 assert exc.value.certificate.get_subject().CN == "intermediate"532533tests/test_crypto.py::TestX509StoreContext::test_invalid_chain_no_intermediate534 /build/source/tests/test_crypto.py:2787: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.535 assert exc.value.certificate.get_subject().CN == "intermediate-service"536537tests/test_crypto.py::TestX509StoreContext::test_modification_pre_verify538 /build/source/tests/test_crypto.py:2805: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.539 assert exc.value.certificate.get_subject().CN == "intermediate"540541tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain542 /build/source/tests/test_crypto.py:2842: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.543 intermediate_subject = self.intermediate_server_cert.get_subject()544545tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain546 /build/source/tests/test_crypto.py:2843: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.547 assert chain[0].get_subject() == intermediate_subject548549tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain550tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain551 /build/source/tests/test_crypto.py:2844: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.552 assert chain[1].get_subject() == self.intermediate_cert.get_subject()553554tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain555tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain556 /build/source/tests/test_crypto.py:2845: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.557 assert chain[2].get_subject() == self.root_cert.get_subject()558559tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain560 /build/source/tests/test_crypto.py:2849: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.561 assert chain[0].get_subject() == intermediate_subject562563tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain564tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain565 /build/source/tests/test_crypto.py:2850: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.566 assert chain[1].get_subject() == self.intermediate_cert.get_subject()567568tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain569tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain570 /build/source/tests/test_crypto.py:2851: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.571 assert chain[2].get_subject() == self.root_cert.get_subject()572573tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain_invalid_chain_no_root574 /build/source/tests/test_crypto.py:2865: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.575 assert exc.value.certificate.get_subject().CN == "intermediate"576577tests/test_crypto.py::TestEllipticCurve::test_set578 /build/source/tests/test_crypto.py:2966: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.579 assert isinstance(get_elliptic_curves(), set)580581tests/test_crypto.py::TestEllipticCurve::test_a_curve582 /build/source/tests/test_crypto.py:2973: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.583 curves = get_elliptic_curves()584585tests/test_crypto.py::TestEllipticCurve::test_a_curve586 /build/source/tests/test_crypto.py:2975: DeprecationWarning: get_elliptic_curve is deprecated. You should use the APIs in cryptography instead.587 assert curve.name == get_elliptic_curve(curve.name).name588589tests/test_crypto.py::TestEllipticCurve::test_a_curve590tests/test_crypto.py::TestEllipticCurve::test_not_a_curve591 /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0/lib/python3.14/site-packages/OpenSSL/crypto.py:576: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.592 for curve in get_elliptic_curves():593594tests/test_crypto.py::TestEllipticCurve::test_not_a_curve595 /build/source/tests/test_crypto.py:2983: DeprecationWarning: get_elliptic_curve is deprecated. You should use the APIs in cryptography instead.596 get_elliptic_curve("this curve was just invented")597598tests/test_crypto.py::TestEllipticCurve::test_repr599 /build/source/tests/test_crypto.py:2990: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.600 curves = get_elliptic_curves()601602tests/test_crypto.py::TestEllipticCurve::test_to_EC_KEY603 /build/source/tests/test_crypto.py:2999: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.604 curves = get_elliptic_curves()605606tests/test_crypto.py: 12 warnings607 /build/source/tests/test_crypto.py:3016: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.608 return next(iter(get_elliptic_curves()))609610tests/test_crypto.py::TestEllipticCurveEquality::test_differentEq611tests/test_crypto.py::TestEllipticCurveEquality::test_differentNe612 /build/source/tests/test_crypto.py:3023: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.613 return list(get_elliptic_curves())[1]614615tests/test_crypto.py::TestEllipticCurveHash::test_contains616 /build/source/tests/test_crypto.py:3141: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.617 curve = next(iter(get_elliptic_curves()))618619tests/test_crypto.py::TestEllipticCurveHash::test_does_not_contain620 /build/source/tests/test_crypto.py:3150: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.621 all_curves = list(get_elliptic_curves())622623tests/test_ssl.py::TestContext::test_set_cipher_list[hello world:AES128-SHA1]624 /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0/lib/python3.14/site-packages/OpenSSL/SSL.py:873: DeprecationWarning: str for cipher_list is no longer accepted, use bytes625 return f(self, *args, **kwargs)626627tests/test_ssl.py::TestContext::test_use_privatekey_file_bytes628tests/test_ssl.py::TestContext::test_use_privatekey_file_unicode629 /build/source/tests/test_ssl.py:757: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.630 key.generate_key(TYPE_RSA, 1024)631632tests/test_ssl.py: 117 warnings633 /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0/lib/python3.14/site-packages/OpenSSL/SSL.py:873: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead.634 return f(self, *args, **kwargs)635636tests/test_ssl.py: 126 warnings637 /nix/store/zii9cjfd2kbkisyx8yiqsvymgk886vig-python3.14-pyopenssl-26.4.0/lib/python3.14/site-packages/OpenSSL/SSL.py:873: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead.638 return f(self, *args, **kwargs)639640tests/test_ssl.py::TestContext::test_set_passwd_cb_wrong_args641 /build/source/tests/test_ssl.py:997: DeprecationWarning: Context.set_passwd_cb is deprecated. You should decrypt and load your private key yourself, with cryptography's key loading APIs, and then use Context.use_privatekey instead.642 context.set_passwd_cb(None) # type: ignore[arg-type]643644tests/test_ssl.py::TestContext::test_set_passwd_cb645tests/test_ssl.py::TestContext::test_passwd_callback_exception646tests/test_ssl.py::TestContext::test_passwd_callback_false647tests/test_ssl.py::TestContext::test_passwd_callback_non_string648tests/test_ssl.py::TestContext::test_passwd_callback_too_long649 /build/source/tests/test_ssl.py:984: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.650 key.generate_key(TYPE_RSA, 1024)651652tests/test_ssl.py::TestContext::test_set_passwd_cb653 /build/source/tests/test_ssl.py:1015: DeprecationWarning: Context.set_passwd_cb is deprecated. You should decrypt and load your private key yourself, with cryptography's key loading APIs, and then use Context.use_privatekey instead.654 context.set_passwd_cb(passphraseCallback)655656tests/test_ssl.py::TestContext::test_passwd_callback_exception657 /build/source/tests/test_ssl.py:1035: DeprecationWarning: Context.set_passwd_cb is deprecated. You should decrypt and load your private key yourself, with cryptography's key loading APIs, and then use Context.use_privatekey instead.658 context.set_passwd_cb(passphraseCallback)659660tests/test_ssl.py::TestContext::test_passwd_callback_false661 /build/source/tests/test_ssl.py:1052: DeprecationWarning: Context.set_passwd_cb is deprecated. You should decrypt and load your private key yourself, with cryptography's key loading APIs, and then use Context.use_privatekey instead.662 context.set_passwd_cb(passphraseCallback)663664tests/test_ssl.py::TestContext::test_passwd_callback_non_string665 /build/source/tests/test_ssl.py:1067: DeprecationWarning: Context.set_passwd_cb is deprecated. You should decrypt and load your private key yourself, with cryptography's key loading APIs, and then use Context.use_privatekey instead.666 context.set_passwd_cb(passphraseCallback) # type: ignore[arg-type]667668tests/test_ssl.py::TestContext::test_passwd_callback_too_long669 /build/source/tests/test_ssl.py:1088: DeprecationWarning: Context.set_passwd_cb is deprecated. You should decrypt and load your private key yourself, with cryptography's key loading APIs, and then use Context.use_privatekey instead.670 context.set_passwd_cb(passphraseCallback)671672tests/test_ssl.py::TestContext::test_load_verify_bytes_cafile673tests/test_ssl.py::TestContext::test_load_verify_unicode_cafile674tests/test_ssl.py::TestContext::test_load_verify_directory_capath[bytes_arg-ascii_path]675tests/test_ssl.py::TestContext::test_load_verify_directory_capath[bytes_arg-unicode_path]676tests/test_ssl.py::TestContext::test_load_verify_directory_capath[unicode_arg-ascii_path]677tests/test_ssl.py::TestContext::test_load_verify_directory_capath[unicode_arg-unicode_path]678 /build/source/tests/test_ssl.py:1227: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.679 assert cert.get_subject().CN == "Testing Root CA"680681tests/test_ssl.py::TestContext::test_x509_in_verify_works682tests/test_ssl.py::TestContext::test_x509_in_verify_works683 /build/source/tests/test_ssl.py:1545: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.684 assert cert.get_subject()685686tests/test_ssl.py::TestContext::test_set_tmp_ecdh687 /build/source/tests/test_ssl.py:1868: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.688 for curve in get_elliptic_curves():689690tests/test_ssl.py::TestContextConnection::test_use_privatekey[context]691tests/test_ssl.py::TestContextConnection::test_use_privatekey[connection]692 /build/source/tests/test_ssl.py:2437: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.693 key.generate_key(TYPE_RSA, 1024)694695tests/test_ssl.py::TestContextConnection::test_use_privatekey[connection]696 /build/source/tests/test_ssl.py:2439: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead.697 ctx_or_conn.use_privatekey(key)698699tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[context]700tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection]701 /build/source/tests/test_ssl.py:2455: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.702 key.generate_key(TYPE_RSA, 1024)703704tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection]705 /build/source/tests/test_ssl.py:2456: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead.706 ctx_or_conn.use_certificate(707708tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection]709 /build/source/tests/test_ssl.py:2460: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead.710 ctx_or_conn.use_privatekey(key)711712tests/test_ssl.py::TestContextConnection::test_use_certificate[connection]713 /build/source/tests/test_ssl.py:2471: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead.714 ctx_or_conn.use_certificate(715716tests/test_ssl.py::TestContextConnection::test_use_certificate_uninitialized[connection]717 /build/source/tests/test_ssl.py:2497: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead.718 ctx_or_conn.use_certificate(X509())719720tests/test_ssl.py::TestConnection::test_get_certificate721 /build/source/tests/test_ssl.py:2844: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.722 assert "Server Certificate" == cert.get_subject().CN723724tests/test_ssl.py::TestConnection::test_get_peer_cert_chain725 /build/source/tests/test_ssl.py:2890: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.726 assert "Server Certificate" == chain[0].get_subject().CN727728tests/test_ssl.py::TestConnection::test_get_peer_cert_chain729 /build/source/tests/test_ssl.py:2891: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.730 assert "Intermediate Certificate" == chain[1].get_subject().CN731732tests/test_ssl.py::TestConnection::test_get_peer_cert_chain733 /build/source/tests/test_ssl.py:2892: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.734 assert "Authority Certificate" == chain[2].get_subject().CN735736tests/test_ssl.py::TestConnection::test_get_verified_chain737 /build/source/tests/test_ssl.py:2956: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.738 assert "Server Certificate" == chain[0].get_subject().CN739740tests/test_ssl.py::TestConnection::test_get_verified_chain741 /build/source/tests/test_ssl.py:2957: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.742 assert "Intermediate Certificate" == chain[1].get_subject().CN743744tests/test_ssl.py::TestConnection::test_get_verified_chain745 /build/source/tests/test_ssl.py:2958: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.746 assert "Authority Certificate" == chain[2].get_subject().CN747748tests/test_ssl.py::TestMemoryBIO::test_set_client_ca_list_errors749 /build/source/tests/test_ssl.py:4442: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.750 ctx.set_client_ca_list("spam") # type: ignore[arg-type]751752tests/test_ssl.py::TestMemoryBIO::test_set_client_ca_list_errors753 /build/source/tests/test_ssl.py:4444: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.754 ctx.set_client_ca_list(["spam"]) # type: ignore[list-item]755756tests/test_ssl.py::TestMemoryBIO::test_set_empty_ca_list757 /build/source/tests/test_ssl.py:4455: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.758 ctx.set_client_ca_list([])759760tests/test_ssl.py::TestMemoryBIO::test_set_one_ca_list761 /build/source/tests/test_ssl.py:4469: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.762 cadesc = cacert.get_subject()763764tests/test_ssl.py::TestMemoryBIO::test_set_one_ca_list765 /build/source/tests/test_ssl.py:4472: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.766 ctx.set_client_ca_list([cadesc])767768tests/test_ssl.py::TestMemoryBIO::test_get_client_ca_list_as_cryptography769 /build/source/tests/test_ssl.py:4486: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.770 server_ctx.set_client_ca_list([cacert.get_subject()])771772tests/test_ssl.py::TestMemoryBIO::test_get_client_ca_list_as_cryptography773 /build/source/tests/test_ssl.py:4486: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.774 server_ctx.set_client_ca_list([cacert.get_subject()])775776tests/test_ssl.py::TestMemoryBIO::test_set_multiple_ca_list777 /build/source/tests/test_ssl.py:4508: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.778 sedesc = secert.get_subject()779780tests/test_ssl.py::TestMemoryBIO::test_set_multiple_ca_list781 /build/source/tests/test_ssl.py:4509: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.782 cldesc = clcert.get_subject()783784tests/test_ssl.py::TestMemoryBIO::test_set_multiple_ca_list785 /build/source/tests/test_ssl.py:4513: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.786 ctx.set_client_ca_list(L)787788tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list789 /build/source/tests/test_ssl.py:4528: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.790 cadesc = cacert.get_subject()791792tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list793 /build/source/tests/test_ssl.py:4529: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.794 sedesc = secert.get_subject()795796tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list797 /build/source/tests/test_ssl.py:4530: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.798 cldesc = clcert.get_subject()799800tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list801 /build/source/tests/test_ssl.py:4533: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.802 ctx.set_client_ca_list([sedesc, cldesc])803804tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list805 /build/source/tests/test_ssl.py:4534: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.806 ctx.set_client_ca_list([cadesc])807808tests/test_ssl.py::TestMemoryBIO::test_mutated_ca_list809 /build/source/tests/test_ssl.py:4548: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.810 cadesc = cacert.get_subject()811812tests/test_ssl.py::TestMemoryBIO::test_mutated_ca_list813 /build/source/tests/test_ssl.py:4549: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.814 sedesc = secert.get_subject()815816tests/test_ssl.py::TestMemoryBIO::test_mutated_ca_list817 /build/source/tests/test_ssl.py:4553: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.818 ctx.set_client_ca_list([cadesc])819820tests/test_ssl.py::TestMemoryBIO::test_one_add_client_ca821 /build/source/tests/test_ssl.py:4574: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.822 cadesc = cacert.get_subject()823824tests/test_ssl.py::TestMemoryBIO::test_multiple_add_client_ca825 /build/source/tests/test_ssl.py:4590: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.826 cadesc = cacert.get_subject()827828tests/test_ssl.py::TestMemoryBIO::test_multiple_add_client_ca829 /build/source/tests/test_ssl.py:4591: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.830 sedesc = secert.get_subject()831832tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca833 /build/source/tests/test_ssl.py:4610: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.834 cadesc = cacert.get_subject()835836tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca837 /build/source/tests/test_ssl.py:4611: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.838 sedesc = secert.get_subject()839840tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca841 /build/source/tests/test_ssl.py:4612: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.842 cldesc = clcert.get_subject()843844tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca845 /build/source/tests/test_ssl.py:4615: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.846 ctx.set_client_ca_list([cadesc, sedesc])847848tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca849 /build/source/tests/test_ssl.py:4631: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.850 cadesc = cacert.get_subject()851852tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca853 /build/source/tests/test_ssl.py:4632: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.854 sedesc = secert.get_subject()855856tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca857 /build/source/tests/test_ssl.py:4636: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.858 ctx.set_client_ca_list([cadesc])859860-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html861=============== 424 passed, 8 deselected, 455 warnings in 5.74s ================862Finished executing pytestCheckPhase