Accepting request 1093835 from devel:languages:python
- 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/request/show/1093835 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyOpenSSL?expand=0&rev=51
This commit is contained in:
commit
ad16b7bba8
@ -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
BIN
pyOpenSSL-23.2.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -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>
|
||||
|
||||
|
@ -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
|
||||
@ -42,7 +40,7 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module cryptography >= 38.0.0 with %python-cryptography < 41}
|
||||
BuildRequires: %{python_module cryptography >= 38.0.0 with %python-cryptography < 42}
|
||||
BuildRequires: %{python_module flaky}
|
||||
BuildRequires: %{python_module pretend}
|
||||
BuildRequires: %{python_module pyOpenSSL >= %version}
|
||||
@ -51,7 +49,7 @@ BuildRequires: ca-certificates-mozilla
|
||||
BuildRequires: openssl
|
||||
%endif
|
||||
Requires: python-cffi
|
||||
Requires: (python-cryptography >= 38.0.0 with python-cryptography < 41)
|
||||
Requires: (python-cryptography >= 38.0.0 with python-cryptography < 42)
|
||||
Provides: pyOpenSSL = %{version}
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user