forked from pool/python-pyOpenSSL
- 24.2.1:
* Deprecated OpenSSL.crypto.X509Req, OpenSSL.crypto.load_certificate_request, OpenSSL.crypto.dump_certificate_request. Instead, cryptography.x509.CertificateSigningRequest,s cryptography.x509.CertificateSigningRequestBuilder,s cryptography.x509.load_der_x509_csr,s or cryptography.x509.load_pem_x509_csr should be used. * Added type hints for the SSL module. #1308. * Changed OpenSSL.crypto.PKey.from_cryptography_key to accept public and private EC, ED25519, ED448 keys OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=114
This commit is contained in:
35
skip-networked-test.patch
Normal file
35
skip-networked-test.patch
Normal file
@@ -0,0 +1,35 @@
|
||||
Index: pyOpenSSL-24.1.0/tests/test_ssl.py
|
||||
===================================================================
|
||||
--- pyOpenSSL-24.1.0.orig/tests/test_ssl.py
|
||||
+++ pyOpenSSL-24.1.0/tests/test_ssl.py
|
||||
@@ -1249,6 +1249,7 @@ class TestContext:
|
||||
reason="set_default_verify_paths appears not to work on Windows. "
|
||||
"See LP#404343 and LP#404344.",
|
||||
)
|
||||
+ @pytest.mark.network
|
||||
def test_set_default_verify_paths(self):
|
||||
"""
|
||||
`Context.set_default_verify_paths` causes the platform-specific CA
|
||||
Index: pyOpenSSL-24.1.0/setup.cfg
|
||||
===================================================================
|
||||
--- pyOpenSSL-24.1.0.orig/setup.cfg
|
||||
+++ pyOpenSSL-24.1.0/setup.cfg
|
||||
@@ -11,4 +11,3 @@ doc_files = doc/_build/html
|
||||
[egg_info]
|
||||
tag_build =
|
||||
tag_date = 0
|
||||
-
|
||||
Index: pyOpenSSL-24.1.0/pyproject.toml
|
||||
===================================================================
|
||||
--- pyOpenSSL-24.1.0.orig/pyproject.toml
|
||||
+++ pyOpenSSL-24.1.0/pyproject.toml
|
||||
@@ -42,6 +42,9 @@ ignore_missing_imports = true
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "-r s --strict-markers"
|
||||
testpaths = ["tests"]
|
||||
+markers = [
|
||||
+ "network: test case requires network connection",
|
||||
+]
|
||||
|
||||
[tool.ruff]
|
||||
lint.select = ['E', 'F', 'I', 'W', 'UP', 'RUF']
|
Reference in New Issue
Block a user