Hello community,
here is the log from the commit of package python-pyOpenSSL for
openSUSE:Factory checked in at 2020-12-16 10:58:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyOpenSSL (Old)
and /work/SRC/openSUSE:Factory/.python-pyOpenSSL.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyOpenSSL"
Wed Dec 16 10:58:59 2020 rev:38 rq:854963 version:20.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyOpenSSL/python-pyOpenSSL.changes
2020-02-22 19:03:19.901975521 +0100
+++
/work/SRC/openSUSE:Factory/.python-pyOpenSSL.new.2328/python-pyOpenSSL.changes
2020-12-16 10:59:02.979485148 +0100
@@ -1,0 +2,41 @@
+Fri Dec 11 13:21:19 UTC 2020 - Matej Cepl <[email protected]>
+
+- According to gh#pyca/pyopenssl#684 tests must run with TZ=UTC, also
+ skip test_verify_with_time on %ix86.
+
+-------------------------------------------------------------------
+Wed Dec 9 16:41:15 UTC 2020 - Marcus Rueckert <[email protected]>
+
+- Update to v20.0.0
+ - Backward-incompatible changes:
+ - The minimum cryptography version is now 3.2.
+ - Remove deprecated OpenSSL.tsafe module.
+ - Removed deprecated
+ OpenSSL.SSL.Context.set_npn_advertise_callback,
+ OpenSSL.SSL.Context.set_npn_select_callback, and
+ OpenSSL.SSL.Connection.get_next_proto_negotiated.
+ - Drop support for Python 3.4
+ - Drop support for OpenSSL 1.0.1 and 1.0.2
+ - Deprecations:
+ - Deprecated OpenSSL.crypto.loads_pkcs7 and
+ OpenSSL.crypto.loads_pkcs12.
+ - Changes:
+ - Added a new optional chain parameter to
+ OpenSSL.crypto.X509StoreContext() where additional untrusted
+ certificates can be specified to help chain building. #948
+ - Added OpenSSL.crypto.X509Store.load_locations to set trusted
+ certificate file bundles and/or directories for verification.
+ #943
+ - Added Context.set_keylog_callback to log key material. #910
+ - Added OpenSSL.SSL.Connection.get_verified_chain to retrieve
+ the verified certificate chain of the peer. #894.
+ - Make verification callback optional in Context.set_verify. If
+ omitted, OpenSSL’s default verification is used. #933
+ - Fixed a bug that could truncate or cause a zero-length key
+ error due to a null byte in private key passphrase in
+ OpenSSL.crypto.load_privatekey and
+ OpenSSL.crypto.dump_privatekey. #947
+- drop patch fix-compilation-2020.patch: no longer needed
+- refreshed patch skip-networked-test.patch
+
+-------------------------------------------------------------------
Old:
----
fix-compilation-2020.patch
pyOpenSSL-19.1.0.tar.gz
New:
----
pyOpenSSL-20.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyOpenSSL.spec ++++++
--- /var/tmp/diff_new_pack.O5OPdP/_old 2020-12-16 10:59:04.023486174 +0100
+++ /var/tmp/diff_new_pack.O5OPdP/_new 2020-12-16 10:59:04.027486178 +0100
@@ -19,14 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-pyOpenSSL
-Version: 19.1.0
+Version: 20.0.0
Release: 0
Summary: Python wrapper module around the OpenSSL library
License: Apache-2.0
URL: https://github.com/pyca/pyopenssl
Source:
https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
Patch1: skip-networked-test.patch
-Patch2: fix-compilation-2020.patch
BuildRequires: %{python_module cffi}
BuildRequires: %{python_module cryptography >= 2.8}
BuildRequires: %{python_module flaky}
@@ -70,8 +69,12 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
+SKIPPED_TESTS="network"
+%if %{__isa_bits} == 32
+SKIPPED_TESTS="$SKIPPED_TESTS or test_verify_with_time"
+%endif
export LC_ALL=en_US.UTF-8
-%pytest -m 'not network'
+%pytest -k "not ($SKIPPED_TESTS)"
%files %{python_files}
%license LICENSE
++++++ pyOpenSSL-19.1.0.tar.gz -> pyOpenSSL-20.0.0.tar.gz ++++++
++++ 9417 lines of diff (skipped)
++++++ skip-networked-test.patch ++++++
--- /var/tmp/diff_new_pack.O5OPdP/_old 2020-12-16 10:59:04.143486292 +0100
+++ /var/tmp/diff_new_pack.O5OPdP/_new 2020-12-16 10:59:04.147486295 +0100
@@ -1,12 +1,26 @@
-Index: pyOpenSSL-16.0.0/tests/test_ssl.py
-===================================================================
---- pyOpenSSL-16.0.0.orig/tests/test_ssl.py
-+++ pyOpenSSL-16.0.0/tests/test_ssl.py
-@@ -1113,6 +1113,7 @@
+--- a/tests/test_ssl.py
++++ b/tests/test_ssl.py
+@@ -1240,6 +1240,7 @@ class TestContext(object):
reason="set_default_verify_paths appears not to work on Windows. "
- "See LP#404343 and LP#404344."
+ "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
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -2,6 +2,8 @@
+ minversion = 3.0.1
+ strict = true
+ testpaths = tests
++markers =
++ network: test case requires network connection
+
+ [bdist_wheel]
+ universal = 1
+@@ -19,4 +21,3 @@ doc-files = doc/_build/html
+ [egg_info]
+ tag_build =
+ tag_date = 0
+-
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives:
https://lists.opensuse.org/archives/list/[email protected]