- update to 23.2.0:

* Removed ``X509StoreFlags.NOTIFY_POLICY``.
  * ``cryptography`` maximum version has been increased to
    41.0.x.
  * Invalid versions are now rejected in
    ``OpenSSL.crypto.X509Req.set_version``.
  * Added ``X509VerificationCodes`` to ``OpenSSL.SSL``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=105
This commit is contained in:
Dirk Mueller 2023-06-19 20:26:28 +00:00 committed by Git OBS Bridge
parent e4120dc3df
commit e6e57d5255
5 changed files with 26 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:841498b9bec61623b1b6c47ebbc02367c07d60e0e195f19790817f10cc8db0b7
size 183402

BIN
pyOpenSSL-23.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 19 20:25:32 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 23.2.0:
* Removed ``X509StoreFlags.NOTIFY_POLICY``.
* ``cryptography`` maximum version has been increased to
41.0.x.
* Invalid versions are now rejected in
``OpenSSL.crypto.X509Req.set_version``.
* Added ``X509VerificationCodes`` to ``OpenSSL.SSL``.
-------------------------------------------------------------------
Fri Apr 21 12:30:17 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@ -25,10 +24,9 @@
%define psuffix %{nil}
%bcond_with test
%endif
%global skip_python2 1
%{?sle15_python_module_pythons}
Name: python-pyOpenSSL%{psuffix}
Version: 23.1.1
Version: 23.2.0
Release: 0
Summary: Python wrapper module around the OpenSSL library
License: Apache-2.0

View File

@ -1,8 +1,8 @@
Index: pyOpenSSL-22.1.0/tests/test_ssl.py
Index: pyOpenSSL-23.2.0/tests/test_ssl.py
===================================================================
--- pyOpenSSL-22.1.0.orig/tests/test_ssl.py
+++ pyOpenSSL-22.1.0/tests/test_ssl.py
@@ -1244,6 +1244,7 @@ class TestContext:
--- pyOpenSSL-23.2.0.orig/tests/test_ssl.py
+++ pyOpenSSL-23.2.0/tests/test_ssl.py
@@ -1252,6 +1252,7 @@ class TestContext:
reason="set_default_verify_paths appears not to work on Windows. "
"See LP#404343 and LP#404344.",
)
@ -10,20 +10,20 @@ Index: pyOpenSSL-22.1.0/tests/test_ssl.py
def test_set_default_verify_paths(self):
"""
`Context.set_default_verify_paths` causes the platform-specific CA
Index: pyOpenSSL-22.1.0/setup.cfg
Index: pyOpenSSL-23.2.0/setup.cfg
===================================================================
--- pyOpenSSL-22.1.0.orig/setup.cfg
+++ pyOpenSSL-22.1.0/setup.cfg
@@ -2,6 +2,8 @@
minversion = 3.0.1
strict = true
--- pyOpenSSL-23.2.0.orig/setup.cfg
+++ pyOpenSSL-23.2.0/setup.cfg
@@ -1,6 +1,8 @@
[tool:pytest]
addopts = "-r s --strict-markers"
testpaths = tests
+markers =
+ network: test case requires network connection
[metadata]
license_file = LICENSE
@@ -16,4 +18,3 @@ doc_files = doc/_build/html
@@ -15,4 +17,3 @@ doc_files = doc/_build/html
[egg_info]
tag_build =
tag_date = 0