python3.14-pyopenssl-26.4.0
herculesCI.onPush.default.outputs.packages.x86_64-linux.termux-native-p11-bundle
· build #28
· raw
1structuredAttrs is enabled2Sourcing python-remove-tests-dir-hook3Sourcing python-catch-conflicts-hook.sh4Sourcing python-remove-bin-bytecode-hook.sh5Sourcing pypa-build-hook6Using pypaBuildPhase7Sourcing python-runtime-deps-check-hook8Using pythonRuntimeDepsCheckHook9Sourcing pypa-install-hook10Using pypaInstallPhase11Sourcing python-imports-check-hook.sh12Using pythonImportsCheckPhase13Sourcing python-metadata-check-hook.sh14Using pythonMetadataCheckPhase15Sourcing python-namespaces-hook16Sourcing python-catch-conflicts-hook.sh17Sourcing sphinx-hook18Sourcing pytest-check-hook19Using pytestCheckPhase
unpackPhase
20unpacking source archive /nix/store/cp5cjc02blpvyv628dcckr93mhj719kr-source21source root is source22setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tests/util.py"configurePhase
23no configure script, doing nothingbuildPhase
24Executing pypaBuildPhase25Creating a wheel...26pypa build flags: --no-isolation --outdir dist/ --wheel27* Getting build dependencies for wheel...28/nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.29!!3031 ********************************************************************************32 Please consider removing the following classifiers in favor of a SPDX license expression:3334 License :: OSI Approved :: Apache Software License3536 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.37 ********************************************************************************3839!!40 self._finalize_license_expression()41running egg_info42creating src/pyOpenSSL.egg-info43writing src/pyOpenSSL.egg-info/PKG-INFO44writing dependency_links to src/pyOpenSSL.egg-info/dependency_links.txt45writing requirements to src/pyOpenSSL.egg-info/requires.txt46writing top-level names to src/pyOpenSSL.egg-info/top_level.txt47writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'48reading manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'49reading manifest template 'MANIFEST.in'50warning: no files found matching '.coveragerc'51warning: no previously-included files found matching '.readthedocs.yml'52warning: no previously-included files found matching 'mypy.ini'53no previously-included directories found matching 'doc/_build'54adding license file 'LICENSE'55writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'56* Building wheel...57/nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.58!!5960 ********************************************************************************61 Please consider removing the following classifiers in favor of a SPDX license expression:6263 License :: OSI Approved :: Apache Software License6465 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.66 ********************************************************************************6768!!69 self._finalize_license_expression()70running bdist_wheel71running build72running build_py73creating build/lib/OpenSSL74copying src/OpenSSL/SSL.py -> build/lib/OpenSSL75copying src/OpenSSL/__init__.py -> build/lib/OpenSSL76copying src/OpenSSL/_util.py -> build/lib/OpenSSL77copying src/OpenSSL/crypto.py -> build/lib/OpenSSL78copying src/OpenSSL/debug.py -> build/lib/OpenSSL79copying src/OpenSSL/rand.py -> build/lib/OpenSSL80copying src/OpenSSL/version.py -> build/lib/OpenSSL81copying src/OpenSSL/py.typed -> build/lib/OpenSSL82installing to build/bdist.linux-x86_64/wheel83running install84running install_lib85creating build/bdist.linux-x86_64/wheel86creating build/bdist.linux-x86_64/wheel/OpenSSL87copying build/lib/OpenSSL/SSL.py -> build/bdist.linux-x86_64/wheel/./OpenSSL88copying build/lib/OpenSSL/__init__.py -> build/bdist.linux-x86_64/wheel/./OpenSSL89copying build/lib/OpenSSL/_util.py -> build/bdist.linux-x86_64/wheel/./OpenSSL90copying build/lib/OpenSSL/crypto.py -> build/bdist.linux-x86_64/wheel/./OpenSSL91copying build/lib/OpenSSL/debug.py -> build/bdist.linux-x86_64/wheel/./OpenSSL92copying build/lib/OpenSSL/rand.py -> build/bdist.linux-x86_64/wheel/./OpenSSL93copying build/lib/OpenSSL/version.py -> build/bdist.linux-x86_64/wheel/./OpenSSL94copying build/lib/OpenSSL/py.typed -> build/bdist.linux-x86_64/wheel/./OpenSSL95running install_egg_info96running egg_info97writing src/pyOpenSSL.egg-info/PKG-INFO98writing dependency_links to src/pyOpenSSL.egg-info/dependency_links.txt99writing requirements to src/pyOpenSSL.egg-info/requires.txt100writing top-level names to src/pyOpenSSL.egg-info/top_level.txt101reading manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'102reading manifest template 'MANIFEST.in'103warning: no files found matching '.coveragerc'104warning: no previously-included files found matching '.readthedocs.yml'105warning: no previously-included files found matching 'mypy.ini'106no previously-included directories found matching 'doc/_build'107adding license file 'LICENSE'108writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'109Copying src/pyOpenSSL.egg-info to build/bdist.linux-x86_64/wheel/./pyOpenSSL-26.4.0-py3.14.egg-info110running install_scripts111creating build/bdist.linux-x86_64/wheel/pyopenssl-26.4.0.dist-info/WHEEL112creating '/build/source/dist/.tmp-_h6suisw/pyopenssl-26.4.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it113adding 'OpenSSL/SSL.py'114adding 'OpenSSL/__init__.py'115adding 'OpenSSL/_util.py'116adding 'OpenSSL/crypto.py'117adding 'OpenSSL/debug.py'118adding 'OpenSSL/py.typed'119adding 'OpenSSL/rand.py'120adding 'OpenSSL/version.py'121adding 'pyopenssl-26.4.0.dist-info/licenses/LICENSE'122adding 'pyopenssl-26.4.0.dist-info/METADATA'123adding 'pyopenssl-26.4.0.dist-info/WHEEL'124adding 'pyopenssl-26.4.0.dist-info/top_level.txt'125adding 'pyopenssl-26.4.0.dist-info/RECORD'126removing build/bdist.linux-x86_64/wheel127Successfully built pyopenssl-26.4.0-py3-none-any.whl128Finished creating a wheel...129/build/source/dist /build/source130Unpacking to: unpacked/pyopenssl-26.4.0...OK131Repacking wheel as ./pyopenssl-26.4.0-py3-none-any.whl...OK132/build/source133Finished executing pypaBuildPhasepythonRuntimeDepsCheckHook
134Executing pythonRuntimeDepsCheck135Checking runtime dependencies for pyopenssl-26.4.0-py3-none-any.whl136Finished executing pythonRuntimeDepsCheckinstallPhase
137Executing pypaInstallPhase138Successfully installed pyopenssl-26.4.0-py3-none-any.whl139Finished executing pypaInstallPhasepythonOutputDistPhase
140Executing pythonOutputDistPhase141Finished executing pythonOutputDistPhasebuildSphinxPhase
142Executing buildSphinxPhase143Sphinx documentation found in doc144Executing sphinx-build with html builder145Running Sphinx v9.1.0146loading translations [en]... locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist147locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist148done149making output directory... done150Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.151locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist152loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ...153loading intersphinx inventory 'cryptography' from https://cryptography.io/en/latest/objects.inv ...154WARNING: failed to reach any of the inventories with the following issues:155intersphinx 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)"))156WARNING: failed to reach any of the inventories with the following issues:157intersphinx 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)"))158locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist159building [mo]: targets for 0 po files that are out of date160writing output... 161building [html]: targets for 9 source files that are out of date162updating environment: locale_dir /build/source/doc/locales/en/LC_MESSAGES does not exist163[new config] 9 added, 0 changed, 0 removed164reading sources... [ 11%] api165reading sources... [ 22%] api/crypto166reading sources... [ 33%] api/ssl167reading sources... [ 44%] backward-compatibility168reading sources... [ 56%] changelog169reading sources... [ 67%] index170reading sources... [ 78%] install171reading sources... [ 89%] internals172reading sources... [100%] introduction173174looking for now-outdated files... none found175pickling environment... done176checking consistency... done177preparing documents... done178copying assets... 179copying static files... 180Writing evaluated template result to /build/source/.sphinx/html/html/_static/basic.css181Writing evaluated template result to /build/source/.sphinx/html/html/_static/documentation_options.js182Writing evaluated template result to /build/source/.sphinx/html/html/_static/language_data.js183Writing evaluated template result to /build/source/.sphinx/html/html/_static/js/versions.js184copying static files: done185copying extra files... 186copying extra files: done187copying assets: done188writing output... [ 11%] api189writing output... [ 22%] api/crypto190writing output... [ 33%] api/ssl191writing output... [ 44%] backward-compatibility192writing output... [ 56%] changelog193writing output... [ 67%] index194writing output... [ 78%] install195writing output... [ 89%] internals196writing output... [100%] introduction197198generating indices... genindex py-modindex done199writing additional pages... search done200dumping search index in English (code: en)... done201dumping object inventory... done202build succeeded, 2 warnings.203204The HTML pages are in .sphinx/html/html.installSphinxPhase
205Executing installSphinxPhasefixupPhase
206shrinking RPATHs of ELF executables and libraries in /nix/store/5f5zmc8i5py3vcri8aq6scahysv86axg-python3.14-pyopenssl-26.4.0-doc207checking for references to /build/ in /nix/store/5f5zmc8i5py3vcri8aq6scahysv86axg-python3.14-pyopenssl-26.4.0-doc...208patching script interpreter paths in /nix/store/5f5zmc8i5py3vcri8aq6scahysv86axg-python3.14-pyopenssl-26.4.0-doc209shrinking RPATHs of ELF executables and libraries in /nix/store/c09ip8g1v93hz5r547ihz59hs7nvwkp6-python3.14-pyopenssl-26.4.0-dist210checking for references to /build/ in /nix/store/c09ip8g1v93hz5r547ihz59hs7nvwkp6-python3.14-pyopenssl-26.4.0-dist...211patching script interpreter paths in /nix/store/c09ip8g1v93hz5r547ihz59hs7nvwkp6-python3.14-pyopenssl-26.4.0-dist212shrinking RPATHs of ELF executables and libraries in /nix/store/xqhp3lg268gr1dmf35063khpz4zsjf55-python3.14-pyopenssl-26.4.0213checking for references to /build/ in /nix/store/xqhp3lg268gr1dmf35063khpz4zsjf55-python3.14-pyopenssl-26.4.0...214patching script interpreter paths in /nix/store/xqhp3lg268gr1dmf35063khpz4zsjf55-python3.14-pyopenssl-26.4.0215stripping (with command strip and flags -S -p) in /nix/store/xqhp3lg268gr1dmf35063khpz4zsjf55-python3.14-pyopenssl-26.4.0/lib216Executing pythonRemoveTestsDir217Finished executing pythonRemoveTestsDirinstallCheckPhase
218no Makefile or custom installCheckPhase, doing nothingpythonImportsCheckPhase
219Executing pythonImportsCheckPhasepythonMetadataCheckPhase
220Executing pythonMetadataCheckPhasepytestCheckPhase
221Executing pytestCheckPhase222pytest 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\)223============================= test session starts ==============================224platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0225OpenSSL: b'OpenSSL 3.5.9 29 Sep 2026'226cryptography: 50.0.2227rootdir: /build/source228configfile: pyproject.toml229testpaths: tests230plugins: rerunfailures-16.6231collected 432 items / 8 deselected / 424 selected 232233tests/test_crypto.py ................................................... [ 12%]234........................................................................ [ 29%]235............................................. [ 39%]236tests/test_debug.py . [ 39%]237tests/test_rand.py .... [ 40%]238tests/test_ssl.py ...................................................... [ 53%]239........................................................................ [ 70%]240........................................................................ [ 87%]241.................................................... [ 99%]242tests/test_util.py . [100%]243244=============================== warnings summary ===============================245tests/test_crypto.py:30246 /build/source/tests/test_crypto.py:30: DeprecationWarning: dump_privatekey is deprecated. You should use the APIs in cryptography.247 from OpenSSL.crypto import (248249../../nix/store/1p2fja7y7dy76d7jbkrc51wrlssdz6zf-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/assertion/rewrite.py:188250 /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 instead251 exec(co, module.__dict__)252253tests/test_ssl.py:55254 /build/source/tests/test_ssl.py:55: DeprecationWarning: dump_privatekey is deprecated. You should use the APIs in cryptography.255 from OpenSSL.crypto import (256257tests/test_crypto.py::TestPKey::test_pregeneration258 /build/source/tests/test_crypto.py:993: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead.259 key.check()260261tests/test_crypto.py::TestPKey::test_failed_generation262 /build/source/tests/test_crypto.py:1005: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.263 key.generate_key("foo", "bar") # type: ignore[arg-type]264265tests/test_crypto.py::TestPKey::test_failed_generation266 /build/source/tests/test_crypto.py:1007: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.267 key.generate_key(-1, 0)268269tests/test_crypto.py::TestPKey::test_failed_generation270 /build/source/tests/test_crypto.py:1010: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.271 key.generate_key(TYPE_RSA, -1)272273tests/test_crypto.py::TestPKey::test_failed_generation274 /build/source/tests/test_crypto.py:1012: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.275 key.generate_key(TYPE_RSA, 0)276277tests/test_crypto.py::TestPKey::test_failed_generation278 /build/source/tests/test_crypto.py:1015: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.279 key.generate_key(TYPE_RSA, object()) # type: ignore[arg-type]280281tests/test_crypto.py::TestPKey::test_rsa_generation282 /build/source/tests/test_crypto.py:1024: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.283 key.generate_key(TYPE_RSA, bits)284285tests/test_crypto.py::TestPKey::test_rsa_generation286 /build/source/tests/test_crypto.py:1027: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead.287 assert key.check()288289tests/test_crypto.py::TestPKey::test_dsa_generation290 /build/source/tests/test_crypto.py:1039: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.291 key.generate_key(TYPE_DSA, bits)292293tests/test_crypto.py::TestPKey::test_dsa_generation294 /build/source/tests/test_crypto.py:1043: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead.295 key.check()296297tests/test_crypto.py::TestPKey::test_regeneration298tests/test_crypto.py::TestPKey::test_regeneration299 /build/source/tests/test_crypto.py:1052: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.300 key.generate_key(type, bits)301302tests/test_crypto.py::TestPKey::test_inconsistent_key303 /build/source/tests/test_crypto.py:1063: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead.304 key.check()305306tests/test_crypto.py::TestPKey::test_check_public_key307 /build/source/tests/test_crypto.py:1072: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.308 key.generate_key(TYPE_RSA, 2048)309310tests/test_crypto.py::TestPKey::test_check_public_key311 /build/source/tests/test_crypto.py:1074: DeprecationWarning: X509.set_pubkey is deprecated. You should use cryptography's CertificateBuilder instead.312 cert.set_pubkey(key)313314tests/test_crypto.py::TestPKey::test_check_public_key315 /build/source/tests/test_crypto.py:1077: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead.316 pub.check()317318tests/test_crypto.py::TestPKey::test_check_pr_897319 /build/source/tests/test_crypto.py:1086: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead.320 pkey.check()321322tests/test_crypto.py: 31 warnings323 /build/source/tests/test_crypto.py:1094: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.324 name = X509().get_subject()325326tests/test_crypto.py::TestX509Name::test_copy327 /build/source/tests/test_crypto.py:1182: DeprecationWarning: X509Name support in pyOpenSSL is deprecated. You should use the APIs in cryptography.328 copy = X509Name(name)329330tests/test_crypto.py::TestX509Name::test_load_nul_byte_attribute331 /build/source/tests/test_crypto.py:1350: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.332 subject = cert.get_subject()333334tests/test_crypto.py::TestX509Name::test_load_nul_byte_components335 /build/source/tests/test_crypto.py:1359: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.336 subject = cert.get_subject()337338tests/test_crypto.py::TestX509::test_sign_with_ungenerated339 /build/source/tests/test_crypto.py:1389: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead.340 cert.sign(key, GOOD_DIGEST)341342tests/test_crypto.py::TestX509::test_sign_with_public_key343 /build/source/tests/test_crypto.py:1398: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.344 key.generate_key(TYPE_RSA, 2048)345346tests/test_crypto.py::TestX509::test_sign_with_public_key347 /build/source/tests/test_crypto.py:1399: DeprecationWarning: X509.set_pubkey is deprecated. You should use cryptography's CertificateBuilder instead.348 cert.set_pubkey(key)349350tests/test_crypto.py::TestX509::test_sign_with_public_key351 /build/source/tests/test_crypto.py:1402: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead.352 cert.sign(pub, GOOD_DIGEST)353354tests/test_crypto.py::TestX509::test_sign_with_unknown_digest355 /build/source/tests/test_crypto.py:1411: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.356 key.generate_key(TYPE_RSA, 2048)357358tests/test_crypto.py::TestX509::test_sign_with_unknown_digest359 /build/source/tests/test_crypto.py:1413: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead.360 cert.sign(key, BAD_DIGEST)361362tests/test_crypto.py::TestX509::test_sign363 /build/source/tests/test_crypto.py:1422: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.364 key.generate_key(TYPE_RSA, 2048)365366tests/test_crypto.py::TestX509::test_sign367 /build/source/tests/test_crypto.py:1423: DeprecationWarning: X509.set_pubkey is deprecated. You should use cryptography's CertificateBuilder instead.368 cert.set_pubkey(key)369370tests/test_crypto.py::TestX509::test_sign371 /build/source/tests/test_crypto.py:1424: DeprecationWarning: X509.gmtime_adj_notBefore is deprecated. You should use cryptography's CertificateBuilder instead.372 cert.gmtime_adj_notBefore(0)373374tests/test_crypto.py::TestX509::test_sign375 /build/source/tests/test_crypto.py:1425: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead.376 cert.gmtime_adj_notAfter(24 * 60 * 60)377378tests/test_crypto.py::TestX509::test_sign379 /build/source/tests/test_crypto.py:1426: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead.380 cert.sign(key, GOOD_DIGEST)381382tests/test_crypto.py::TestX509::test_set_version_wrong_args383 /build/source/tests/test_crypto.py:1444: DeprecationWarning: X509.set_version is deprecated. You should use cryptography's CertificateBuilder instead.384 cert.set_version(None) # type: ignore[arg-type]385386tests/test_crypto.py::TestX509::test_version387 /build/source/tests/test_crypto.py:1452: DeprecationWarning: X509.set_version is deprecated. You should use cryptography's CertificateBuilder instead.388 cert.set_version(2)389390tests/test_crypto.py::TestX509::test_serial_number391 /build/source/tests/test_crypto.py:1463: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead.392 certificate.set_serial_number("1") # type: ignore[arg-type]393394tests/test_crypto.py::TestX509::test_serial_number395 /build/source/tests/test_crypto.py:1465: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead.396 certificate.set_serial_number(1)397398tests/test_crypto.py::TestX509::test_serial_number399 /build/source/tests/test_crypto.py:1467: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead.400 certificate.set_serial_number(2**32 + 1)401402tests/test_crypto.py::TestX509::test_serial_number403 /build/source/tests/test_crypto.py:1469: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead.404 certificate.set_serial_number(2**64 + 1)405406tests/test_crypto.py::TestX509::test_serial_number407 /build/source/tests/test_crypto.py:1471: DeprecationWarning: X509.set_serial_number is deprecated. You should use cryptography's CertificateBuilder instead.408 certificate.set_serial_number(2**128 + 1)409410tests/test_crypto.py::TestX509::test_set_notBefore411tests/test_crypto.py::TestX509::test_set_notBefore412tests/test_crypto.py::TestX509::test_set_notBefore413tests/test_crypto.py::TestX509::test_set_notBefore414 /build/source/tests/test_crypto.py:1521: DeprecationWarning: X509.set_notBefore is deprecated. You should use cryptography's CertificateBuilder instead.415 lambda c: c.get_notBefore(), lambda c, v: c.set_notBefore(v)416417tests/test_crypto.py::TestX509::test_set_notAfter418tests/test_crypto.py::TestX509::test_set_notAfter419tests/test_crypto.py::TestX509::test_set_notAfter420tests/test_crypto.py::TestX509::test_set_notAfter421 /build/source/tests/test_crypto.py:1531: DeprecationWarning: X509.set_notAfter is deprecated. You should use cryptography's CertificateBuilder instead.422 lambda c: c.get_notAfter(), lambda c, v: c.set_notAfter(v)423424tests/test_crypto.py::TestX509::test_gmtime_adj_notBefore_wrong_args425 /build/source/tests/test_crypto.py:1559: DeprecationWarning: X509.gmtime_adj_notBefore is deprecated. You should use cryptography's CertificateBuilder instead.426 cert.gmtime_adj_notBefore(None) # type: ignore[arg-type]427428tests/test_crypto.py::TestX509::test_gmtime_adj_notBefore429 /build/source/tests/test_crypto.py:1571: DeprecationWarning: X509.gmtime_adj_notBefore is deprecated. You should use cryptography's CertificateBuilder instead.430 cert.gmtime_adj_notBefore(100)431432tests/test_crypto.py::TestX509::test_gmtime_adj_notAfter_wrong_args433 /build/source/tests/test_crypto.py:1588: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead.434 cert.gmtime_adj_notAfter(None) # type: ignore[arg-type]435436tests/test_crypto.py::TestX509::test_gmtime_adj_notAfter437 /build/source/tests/test_crypto.py:1600: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead.438 cert.gmtime_adj_notAfter(100)439440tests/test_crypto.py::TestX509::test_has_expired441 /build/source/tests/test_crypto.py:1614: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead.442 cert.gmtime_adj_notAfter(-1)443444tests/test_crypto.py::TestX509::test_has_not_expired445 /build/source/tests/test_crypto.py:1623: DeprecationWarning: X509.gmtime_adj_notAfter is deprecated. You should use cryptography's CertificateBuilder instead.446 cert.gmtime_adj_notAfter(2)447448tests/test_crypto.py::TestX509::test_get_subject449 /build/source/tests/test_crypto.py:1728: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.450 subj = cert.get_subject()451452tests/test_crypto.py::TestX509::test_set_subject_wrong_args453 /build/source/tests/test_crypto.py:1745: DeprecationWarning: X509.set_subject is deprecated. You should use cryptography's CertificateBuilder instead.454 cert.set_subject(None) # type: ignore[arg-type]455456tests/test_crypto.py::TestX509::test_set_subject457 /build/source/tests/test_crypto.py:1753: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.458 name = cert.get_subject()459460tests/test_crypto.py::TestX509::test_set_subject461 /build/source/tests/test_crypto.py:1756: DeprecationWarning: X509.set_subject is deprecated. You should use cryptography's CertificateBuilder instead.462 cert.set_subject(name)463464tests/test_crypto.py::TestX509::test_set_subject465 /build/source/tests/test_crypto.py:1757: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.466 assert cert.get_subject().get_components() == [467468tests/test_crypto.py::TestX509::test_get_issuer469 /build/source/tests/test_crypto.py:1767: DeprecationWarning: X509.get_issuer is deprecated. You should use cryptography's X.509 APIs instead.470 subj = cert.get_issuer()471472tests/test_crypto.py::TestX509::test_set_issuer_wrong_args473 /build/source/tests/test_crypto.py:1785: DeprecationWarning: X509.set_issuer is deprecated. You should use cryptography's CertificateBuilder instead.474 cert.set_issuer(None) # type: ignore[arg-type]475476tests/test_crypto.py::TestX509::test_set_issuer477 /build/source/tests/test_crypto.py:1793: DeprecationWarning: X509.get_issuer is deprecated. You should use cryptography's X.509 APIs instead.478 name = cert.get_issuer()479480tests/test_crypto.py::TestX509::test_set_issuer481 /build/source/tests/test_crypto.py:1796: DeprecationWarning: X509.set_issuer is deprecated. You should use cryptography's CertificateBuilder instead.482 cert.set_issuer(name)483484tests/test_crypto.py::TestX509::test_set_issuer485 /build/source/tests/test_crypto.py:1797: DeprecationWarning: X509.get_issuer is deprecated. You should use cryptography's X.509 APIs instead.486 assert cert.get_issuer().get_components() == [487488tests/test_crypto.py::TestX509::test_set_pubkey_wrong_type489 /build/source/tests/test_crypto.py:1818: DeprecationWarning: X509.set_pubkey is deprecated. You should use cryptography's CertificateBuilder instead.490 cert.set_pubkey(object()) # type: ignore[arg-type]491492tests/test_crypto.py::TestX509::test_sign_bad_pubkey_type493 /build/source/tests/test_crypto.py:1875: DeprecationWarning: X509.sign is deprecated. You should use cryptography's CertificateBuilder instead.494 cert.sign(object(), b"sha256") # type: ignore[arg-type]495496tests/test_crypto.py::TestFunction::test_dump_privatekey_wrong_args497 /build/source/tests/test_crypto.py:2171: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.498 key.generate_key(TYPE_RSA, 2048)499500tests/test_crypto.py::TestFunction::test_dump_privatekey_not_rsa_key501 /build/source/tests/test_crypto.py:2181: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.502 key.generate_key(TYPE_DSA, 512)503504tests/test_crypto.py::TestFunction::test_dump_privatekey_unknown_cipher505 /build/source/tests/test_crypto.py:2195: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.506 key.generate_key(TYPE_RSA, 2048)507508tests/test_crypto.py::TestFunction::test_dump_privatekey_invalid_passphrase_type509 /build/source/tests/test_crypto.py:2205: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.510 key.generate_key(TYPE_RSA, 2048)511512tests/test_crypto.py::TestFunction::test_dump_privatekey_invalid_filetype513 /build/source/tests/test_crypto.py:2215: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.514 key.generate_key(TYPE_RSA, 2048)515516tests/test_crypto.py::TestFunction::test_dump_privatekey_pem517 /build/source/tests/test_crypto.py:2285: DeprecationWarning: PKey.check is deprecated. You should use the APIs in cryptography instead.518 assert key.check()519520tests/test_crypto.py::TestCRL::test_verify_with_missing_crl521 /build/source/tests/test_crypto.py:2548: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.522 assert err.value.certificate.get_subject().CN == "intermediate-service"523524tests/test_crypto.py::TestX509StoreContext::test_untrusted_self_signed525 /build/source/tests/test_crypto.py:2757: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.526 assert exc.value.certificate.get_subject().CN == "Testing Root CA"527528tests/test_crypto.py::TestX509StoreContext::test_invalid_chain_no_root529 /build/source/tests/test_crypto.py:2772: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.530 assert exc.value.certificate.get_subject().CN == "intermediate"531532tests/test_crypto.py::TestX509StoreContext::test_invalid_chain_no_intermediate533 /build/source/tests/test_crypto.py:2787: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.534 assert exc.value.certificate.get_subject().CN == "intermediate-service"535536tests/test_crypto.py::TestX509StoreContext::test_modification_pre_verify537 /build/source/tests/test_crypto.py:2805: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.538 assert exc.value.certificate.get_subject().CN == "intermediate"539540tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain541 /build/source/tests/test_crypto.py:2842: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.542 intermediate_subject = self.intermediate_server_cert.get_subject()543544tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain545 /build/source/tests/test_crypto.py:2843: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.546 assert chain[0].get_subject() == intermediate_subject547548tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain549tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain550 /build/source/tests/test_crypto.py:2844: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.551 assert chain[1].get_subject() == self.intermediate_cert.get_subject()552553tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain554tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain555 /build/source/tests/test_crypto.py:2845: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.556 assert chain[2].get_subject() == self.root_cert.get_subject()557558tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain559 /build/source/tests/test_crypto.py:2849: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.560 assert chain[0].get_subject() == intermediate_subject561562tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain563tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain564 /build/source/tests/test_crypto.py:2850: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.565 assert chain[1].get_subject() == self.intermediate_cert.get_subject()566567tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain568tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain569 /build/source/tests/test_crypto.py:2851: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.570 assert chain[2].get_subject() == self.root_cert.get_subject()571572tests/test_crypto.py::TestX509StoreContext::test_get_verified_chain_invalid_chain_no_root573 /build/source/tests/test_crypto.py:2865: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.574 assert exc.value.certificate.get_subject().CN == "intermediate"575576tests/test_crypto.py::TestEllipticCurve::test_set577 /build/source/tests/test_crypto.py:2966: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.578 assert isinstance(get_elliptic_curves(), set)579580tests/test_crypto.py::TestEllipticCurve::test_a_curve581 /build/source/tests/test_crypto.py:2973: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.582 curves = get_elliptic_curves()583584tests/test_crypto.py::TestEllipticCurve::test_a_curve585 /build/source/tests/test_crypto.py:2975: DeprecationWarning: get_elliptic_curve is deprecated. You should use the APIs in cryptography instead.586 assert curve.name == get_elliptic_curve(curve.name).name587588tests/test_crypto.py::TestEllipticCurve::test_a_curve589tests/test_crypto.py::TestEllipticCurve::test_not_a_curve590 /nix/store/xqhp3lg268gr1dmf35063khpz4zsjf55-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.591 for curve in get_elliptic_curves():592593tests/test_crypto.py::TestEllipticCurve::test_not_a_curve594 /build/source/tests/test_crypto.py:2983: DeprecationWarning: get_elliptic_curve is deprecated. You should use the APIs in cryptography instead.595 get_elliptic_curve("this curve was just invented")596597tests/test_crypto.py::TestEllipticCurve::test_repr598 /build/source/tests/test_crypto.py:2990: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.599 curves = get_elliptic_curves()600601tests/test_crypto.py::TestEllipticCurve::test_to_EC_KEY602 /build/source/tests/test_crypto.py:2999: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.603 curves = get_elliptic_curves()604605tests/test_crypto.py: 12 warnings606 /build/source/tests/test_crypto.py:3016: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.607 return next(iter(get_elliptic_curves()))608609tests/test_crypto.py::TestEllipticCurveEquality::test_differentEq610tests/test_crypto.py::TestEllipticCurveEquality::test_differentNe611 /build/source/tests/test_crypto.py:3023: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.612 return list(get_elliptic_curves())[1]613614tests/test_crypto.py::TestEllipticCurveHash::test_contains615 /build/source/tests/test_crypto.py:3141: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.616 curve = next(iter(get_elliptic_curves()))617618tests/test_crypto.py::TestEllipticCurveHash::test_does_not_contain619 /build/source/tests/test_crypto.py:3150: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.620 all_curves = list(get_elliptic_curves())621622tests/test_ssl.py::TestContext::test_set_cipher_list[hello world:AES128-SHA1]623 /nix/store/xqhp3lg268gr1dmf35063khpz4zsjf55-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 bytes624 return f(self, *args, **kwargs)625626tests/test_ssl.py::TestContext::test_use_privatekey_file_bytes627tests/test_ssl.py::TestContext::test_use_privatekey_file_unicode628 /build/source/tests/test_ssl.py:757: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.629 key.generate_key(TYPE_RSA, 1024)630631tests/test_ssl.py: 117 warnings632 /nix/store/xqhp3lg268gr1dmf35063khpz4zsjf55-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.633 return f(self, *args, **kwargs)634635tests/test_ssl.py: 126 warnings636 /nix/store/xqhp3lg268gr1dmf35063khpz4zsjf55-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.637 return f(self, *args, **kwargs)638639tests/test_ssl.py::TestContext::test_set_passwd_cb_wrong_args640 /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.641 context.set_passwd_cb(None) # type: ignore[arg-type]642643tests/test_ssl.py::TestContext::test_set_passwd_cb644tests/test_ssl.py::TestContext::test_passwd_callback_exception645tests/test_ssl.py::TestContext::test_passwd_callback_false646tests/test_ssl.py::TestContext::test_passwd_callback_non_string647tests/test_ssl.py::TestContext::test_passwd_callback_too_long648 /build/source/tests/test_ssl.py:984: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.649 key.generate_key(TYPE_RSA, 1024)650651tests/test_ssl.py::TestContext::test_set_passwd_cb652 /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.653 context.set_passwd_cb(passphraseCallback)654655tests/test_ssl.py::TestContext::test_passwd_callback_exception656 /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.657 context.set_passwd_cb(passphraseCallback)658659tests/test_ssl.py::TestContext::test_passwd_callback_false660 /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.661 context.set_passwd_cb(passphraseCallback)662663tests/test_ssl.py::TestContext::test_passwd_callback_non_string664 /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.665 context.set_passwd_cb(passphraseCallback) # type: ignore[arg-type]666667tests/test_ssl.py::TestContext::test_passwd_callback_too_long668 /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.669 context.set_passwd_cb(passphraseCallback)670671tests/test_ssl.py::TestContext::test_load_verify_bytes_cafile672tests/test_ssl.py::TestContext::test_load_verify_unicode_cafile673tests/test_ssl.py::TestContext::test_load_verify_directory_capath[bytes_arg-ascii_path]674tests/test_ssl.py::TestContext::test_load_verify_directory_capath[bytes_arg-unicode_path]675tests/test_ssl.py::TestContext::test_load_verify_directory_capath[unicode_arg-ascii_path]676tests/test_ssl.py::TestContext::test_load_verify_directory_capath[unicode_arg-unicode_path]677 /build/source/tests/test_ssl.py:1227: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.678 assert cert.get_subject().CN == "Testing Root CA"679680tests/test_ssl.py::TestContext::test_x509_in_verify_works681tests/test_ssl.py::TestContext::test_x509_in_verify_works682 /build/source/tests/test_ssl.py:1545: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.683 assert cert.get_subject()684685tests/test_ssl.py::TestContext::test_set_tmp_ecdh686 /build/source/tests/test_ssl.py:1868: DeprecationWarning: get_elliptic_curves is deprecated. You should use the APIs in cryptography instead.687 for curve in get_elliptic_curves():688689tests/test_ssl.py::TestContextConnection::test_use_privatekey[context]690tests/test_ssl.py::TestContextConnection::test_use_privatekey[connection]691 /build/source/tests/test_ssl.py:2437: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.692 key.generate_key(TYPE_RSA, 1024)693694tests/test_ssl.py::TestContextConnection::test_use_privatekey[connection]695 /build/source/tests/test_ssl.py:2439: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead.696 ctx_or_conn.use_privatekey(key)697698tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[context]699tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection]700 /build/source/tests/test_ssl.py:2455: DeprecationWarning: PKey.generate_key is deprecated. You should use the key generation APIs in cryptography instead.701 key.generate_key(TYPE_RSA, 1024)702703tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection]704 /build/source/tests/test_ssl.py:2456: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead.705 ctx_or_conn.use_certificate(706707tests/test_ssl.py::TestContextConnection::test_use_privatekey_wrong_key[connection]708 /build/source/tests/test_ssl.py:2460: DeprecationWarning: Passing pyOpenSSL PKey objects is deprecated. You should use a cryptography private key instead.709 ctx_or_conn.use_privatekey(key)710711tests/test_ssl.py::TestContextConnection::test_use_certificate[connection]712 /build/source/tests/test_ssl.py:2471: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead.713 ctx_or_conn.use_certificate(714715tests/test_ssl.py::TestContextConnection::test_use_certificate_uninitialized[connection]716 /build/source/tests/test_ssl.py:2497: DeprecationWarning: Passing pyOpenSSL X509 objects is deprecated. You should use a cryptography.x509.Certificate instead.717 ctx_or_conn.use_certificate(X509())718719tests/test_ssl.py::TestConnection::test_get_certificate720 /build/source/tests/test_ssl.py:2844: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.721 assert "Server Certificate" == cert.get_subject().CN722723tests/test_ssl.py::TestConnection::test_get_peer_cert_chain724 /build/source/tests/test_ssl.py:2890: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.725 assert "Server Certificate" == chain[0].get_subject().CN726727tests/test_ssl.py::TestConnection::test_get_peer_cert_chain728 /build/source/tests/test_ssl.py:2891: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.729 assert "Intermediate Certificate" == chain[1].get_subject().CN730731tests/test_ssl.py::TestConnection::test_get_peer_cert_chain732 /build/source/tests/test_ssl.py:2892: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.733 assert "Authority Certificate" == chain[2].get_subject().CN734735tests/test_ssl.py::TestConnection::test_get_verified_chain736 /build/source/tests/test_ssl.py:2956: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.737 assert "Server Certificate" == chain[0].get_subject().CN738739tests/test_ssl.py::TestConnection::test_get_verified_chain740 /build/source/tests/test_ssl.py:2957: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.741 assert "Intermediate Certificate" == chain[1].get_subject().CN742743tests/test_ssl.py::TestConnection::test_get_verified_chain744 /build/source/tests/test_ssl.py:2958: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.745 assert "Authority Certificate" == chain[2].get_subject().CN746747tests/test_ssl.py::TestMemoryBIO::test_set_client_ca_list_errors748 /build/source/tests/test_ssl.py:4442: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.749 ctx.set_client_ca_list("spam") # type: ignore[arg-type]750751tests/test_ssl.py::TestMemoryBIO::test_set_client_ca_list_errors752 /build/source/tests/test_ssl.py:4444: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.753 ctx.set_client_ca_list(["spam"]) # type: ignore[list-item]754755tests/test_ssl.py::TestMemoryBIO::test_set_empty_ca_list756 /build/source/tests/test_ssl.py:4455: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.757 ctx.set_client_ca_list([])758759tests/test_ssl.py::TestMemoryBIO::test_set_one_ca_list760 /build/source/tests/test_ssl.py:4469: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.761 cadesc = cacert.get_subject()762763tests/test_ssl.py::TestMemoryBIO::test_set_one_ca_list764 /build/source/tests/test_ssl.py:4472: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.765 ctx.set_client_ca_list([cadesc])766767tests/test_ssl.py::TestMemoryBIO::test_get_client_ca_list_as_cryptography768 /build/source/tests/test_ssl.py:4486: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.769 server_ctx.set_client_ca_list([cacert.get_subject()])770771tests/test_ssl.py::TestMemoryBIO::test_get_client_ca_list_as_cryptography772 /build/source/tests/test_ssl.py:4486: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.773 server_ctx.set_client_ca_list([cacert.get_subject()])774775tests/test_ssl.py::TestMemoryBIO::test_set_multiple_ca_list776 /build/source/tests/test_ssl.py:4508: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.777 sedesc = secert.get_subject()778779tests/test_ssl.py::TestMemoryBIO::test_set_multiple_ca_list780 /build/source/tests/test_ssl.py:4509: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.781 cldesc = clcert.get_subject()782783tests/test_ssl.py::TestMemoryBIO::test_set_multiple_ca_list784 /build/source/tests/test_ssl.py:4513: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.785 ctx.set_client_ca_list(L)786787tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list788 /build/source/tests/test_ssl.py:4528: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.789 cadesc = cacert.get_subject()790791tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list792 /build/source/tests/test_ssl.py:4529: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.793 sedesc = secert.get_subject()794795tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list796 /build/source/tests/test_ssl.py:4530: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.797 cldesc = clcert.get_subject()798799tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list800 /build/source/tests/test_ssl.py:4533: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.801 ctx.set_client_ca_list([sedesc, cldesc])802803tests/test_ssl.py::TestMemoryBIO::test_reset_ca_list804 /build/source/tests/test_ssl.py:4534: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.805 ctx.set_client_ca_list([cadesc])806807tests/test_ssl.py::TestMemoryBIO::test_mutated_ca_list808 /build/source/tests/test_ssl.py:4548: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.809 cadesc = cacert.get_subject()810811tests/test_ssl.py::TestMemoryBIO::test_mutated_ca_list812 /build/source/tests/test_ssl.py:4549: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.813 sedesc = secert.get_subject()814815tests/test_ssl.py::TestMemoryBIO::test_mutated_ca_list816 /build/source/tests/test_ssl.py:4553: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.817 ctx.set_client_ca_list([cadesc])818819tests/test_ssl.py::TestMemoryBIO::test_one_add_client_ca820 /build/source/tests/test_ssl.py:4574: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.821 cadesc = cacert.get_subject()822823tests/test_ssl.py::TestMemoryBIO::test_multiple_add_client_ca824 /build/source/tests/test_ssl.py:4590: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.825 cadesc = cacert.get_subject()826827tests/test_ssl.py::TestMemoryBIO::test_multiple_add_client_ca828 /build/source/tests/test_ssl.py:4591: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.829 sedesc = secert.get_subject()830831tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca832 /build/source/tests/test_ssl.py:4610: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.833 cadesc = cacert.get_subject()834835tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca836 /build/source/tests/test_ssl.py:4611: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.837 sedesc = secert.get_subject()838839tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca840 /build/source/tests/test_ssl.py:4612: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.841 cldesc = clcert.get_subject()842843tests/test_ssl.py::TestMemoryBIO::test_set_and_add_client_ca844 /build/source/tests/test_ssl.py:4615: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.845 ctx.set_client_ca_list([cadesc, sedesc])846847tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca848 /build/source/tests/test_ssl.py:4631: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.849 cadesc = cacert.get_subject()850851tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca852 /build/source/tests/test_ssl.py:4632: DeprecationWarning: X509.get_subject is deprecated. You should use cryptography's X.509 APIs instead.853 sedesc = secert.get_subject()854855tests/test_ssl.py::TestMemoryBIO::test_set_after_add_client_ca856 /build/source/tests/test_ssl.py:4636: DeprecationWarning: Context.set_client_ca_list is deprecated. X509Name support in pyOpenSSL is deprecated.857 ctx.set_client_ca_list([cadesc])858859-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html860=============== 424 passed, 8 deselected, 455 warnings in 15.80s ===============861Finished executing pytestCheckPhase