Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cryptography for openSUSE:Factory checked in at 2022-12-09 13:16:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cryptography (Old) and /work/SRC/openSUSE:Factory/.python-cryptography.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cryptography" Fri Dec 9 13:16:37 2022 rev:69 rq:1041379 version:38.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cryptography/python-cryptography.changes 2022-11-05 14:46:38.490549196 +0100 +++ /work/SRC/openSUSE:Factory/.python-cryptography.new.1835/python-cryptography.changes 2022-12-09 13:16:40.430648801 +0100 @@ -1,0 +2,7 @@ +Wed Dec 7 16:43:26 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com> + +- Update to version 38.0.4 + * Fixed compilation when using LibreSSL 3.6.0. + * Fixed error when using py2app to build an application with a cryptography dependency. + +------------------------------------------------------------------- Old: ---- cryptography-38.0.3.tar.gz New: ---- cryptography-38.0.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cryptography.spec ++++++ --- /var/tmp/diff_new_pack.FkiM9j/_old 2022-12-09 13:16:41.122652477 +0100 +++ /var/tmp/diff_new_pack.FkiM9j/_new 2022-12-09 13:16:41.122652477 +0100 @@ -28,7 +28,7 @@ %bcond_with test %endif Name: python-cryptography%{psuffix} -Version: 38.0.3 +Version: 38.0.4 Release: 0 Summary: Python library which exposes cryptographic recipes and primitives License: Apache-2.0 OR BSD-3-Clause @@ -46,6 +46,7 @@ %endif BuildRequires: %{python_module cffi >= 1.12} BuildRequires: %{python_module devel} +BuildRequires: %{python_module exceptiongroup} BuildRequires: %{python_module setuptools-rust} BuildRequires: %{python_module setuptools} BuildRequires: cargo >= 1.41.0 ++++++ cryptography-38.0.3.tar.gz -> cryptography-38.0.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-38.0.3/CHANGELOG.rst new/cryptography-38.0.4/CHANGELOG.rst --- old/cryptography-38.0.3/CHANGELOG.rst 2022-11-01 22:10:25.000000000 +0100 +++ new/cryptography-38.0.4/CHANGELOG.rst 2022-11-27 19:52:01.000000000 +0100 @@ -1,6 +1,15 @@ Changelog ========= +.. _v38-0-4: + +38.0.4 - 2022-11-27 +~~~~~~~~~~~~~~~~~~~ + +* Fixed compilation when using LibreSSL 3.6.0. +* Fixed error when using ``py2app`` to build an application with a + ``cryptography`` dependency. + .. _v38-0-3: 38.0.3 - 2022-11-01 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-38.0.3/PKG-INFO new/cryptography-38.0.4/PKG-INFO --- old/cryptography-38.0.3/PKG-INFO 2022-11-01 22:23:58.197863800 +0100 +++ new/cryptography-38.0.4/PKG-INFO 2022-11-27 19:54:44.518634800 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: cryptography -Version: 38.0.3 +Version: 38.0.4 Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers. Home-page: https://github.com/pyca/cryptography Author: The Python Cryptographic Authority and individual contributors diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-38.0.3/src/_cffi_src/openssl/crypto.py new/cryptography-38.0.4/src/_cffi_src/openssl/crypto.py --- old/cryptography-38.0.3/src/_cffi_src/openssl/crypto.py 2022-11-01 22:10:25.000000000 +0100 +++ new/cryptography-38.0.4/src/_cffi_src/openssl/crypto.py 2022-11-27 19:52:01.000000000 +0100 @@ -75,7 +75,7 @@ # define OPENSSL_DIR SSLEAY_DIR #endif -#if CRYPTOGRAPHY_IS_LIBRESSL +#if CRYPTOGRAPHY_LIBRESSL_LESS_THAN_360 static const long Cryptography_HAS_OPENSSL_CLEANUP = 0; void (*OPENSSL_cleanup)(void) = NULL; #else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-38.0.3/src/_cffi_src/openssl/cryptography.py new/cryptography-38.0.4/src/_cffi_src/openssl/cryptography.py --- old/cryptography-38.0.3/src/_cffi_src/openssl/cryptography.py 2022-11-01 22:10:25.000000000 +0100 +++ new/cryptography-38.0.4/src/_cffi_src/openssl/cryptography.py 2022-11-27 19:52:01.000000000 +0100 @@ -47,12 +47,15 @@ (LIBRESSL_VERSION_NUMBER < 0x3040000f) #define CRYPTOGRAPHY_LIBRESSL_LESS_THAN_350 \ (LIBRESSL_VERSION_NUMBER < 0x3050000f) +#define CRYPTOGRAPHY_LIBRESSL_LESS_THAN_360 \ + (LIBRESSL_VERSION_NUMBER < 0x3060000f) #else #define CRYPTOGRAPHY_LIBRESSL_LESS_THAN_322 (0) #define CRYPTOGRAPHY_LIBRESSL_LESS_THAN_332 (0) #define CRYPTOGRAPHY_LIBRESSL_LESS_THAN_340 (0) #define CRYPTOGRAPHY_LIBRESSL_LESS_THAN_350 (0) +#define CRYPTOGRAPHY_LIBRESSL_LESS_THAN_360 (0) #endif #if OPENSSL_VERSION_NUMBER < 0x10100000 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-38.0.3/src/cryptography/__about__.py new/cryptography-38.0.4/src/cryptography/__about__.py --- old/cryptography-38.0.3/src/cryptography/__about__.py 2022-11-01 22:10:25.000000000 +0100 +++ new/cryptography-38.0.4/src/cryptography/__about__.py 2022-11-27 19:52:01.000000000 +0100 @@ -9,7 +9,7 @@ "__copyright__", ] -__version__ = "38.0.3" +__version__ = "38.0.4" __author__ = "The Python Cryptographic Authority and individual contributors" __copyright__ = "Copyright 2013-2022 {}".format(__author__) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-38.0.3/src/cryptography/hazmat/primitives/serialization/ssh.py new/cryptography-38.0.4/src/cryptography/hazmat/primitives/serialization/ssh.py --- old/cryptography-38.0.3/src/cryptography/hazmat/primitives/serialization/ssh.py 2022-11-01 22:03:41.000000000 +0100 +++ new/cryptography-38.0.4/src/cryptography/hazmat/primitives/serialization/ssh.py 2022-11-27 19:51:52.000000000 +0100 @@ -174,7 +174,9 @@ flist: typing.List[bytes] - def __init__(self, init: typing.List[bytes] = None) -> None: + def __init__( + self, init: typing.Optional[typing.List[bytes]] = None + ) -> None: self.flist = [] if init: self.flist.extend(init) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-38.0.3/src/cryptography.egg-info/PKG-INFO new/cryptography-38.0.4/src/cryptography.egg-info/PKG-INFO --- old/cryptography-38.0.3/src/cryptography.egg-info/PKG-INFO 2022-11-01 22:23:58.000000000 +0100 +++ new/cryptography-38.0.4/src/cryptography.egg-info/PKG-INFO 2022-11-27 19:54:44.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: cryptography -Version: 38.0.3 +Version: 38.0.4 Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers. Home-page: https://github.com/pyca/cryptography Author: The Python Cryptographic Authority and individual contributors diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-38.0.3/tests/hazmat/primitives/test_ec.py new/cryptography-38.0.4/tests/hazmat/primitives/test_ec.py --- old/cryptography-38.0.3/tests/hazmat/primitives/test_ec.py 2022-11-01 22:10:25.000000000 +0100 +++ new/cryptography-38.0.4/tests/hazmat/primitives/test_ec.py 2022-11-27 19:52:01.000000000 +0100 @@ -479,7 +479,9 @@ # BoringSSL rejects infinity points before it ever gets to us, so it # uses a more generic error message. match = ( - "infinity" if not backend._lib.CRYPTOGRAPHY_IS_BORINGSSL else None + r"infinity|invalid form" + if not backend._lib.CRYPTOGRAPHY_IS_BORINGSSL + else None ) with pytest.raises(ValueError, match=match): serialization.load_pem_public_key( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-38.0.3/tests/test_interfaces.py new/cryptography-38.0.4/tests/test_interfaces.py --- old/cryptography-38.0.3/tests/test_interfaces.py 2022-11-01 22:10:25.000000000 +0100 +++ new/cryptography-38.0.4/tests/test_interfaces.py 2022-11-27 19:52:01.000000000 +0100 @@ -58,7 +58,7 @@ def test_signature_mismatch(self): class SimpleInterface(metaclass=abc.ABCMeta): @abc.abstractmethod - def method(self, other: object) -> int: + def method(self, other: object): """Method with signature""" class ClassWithoutSignature: @@ -66,7 +66,7 @@ """Method without signature""" class ClassWithSignature: - def method(self, other: object) -> int: + def method(self, other: object): """Method with signature""" verify_interface(SimpleInterface, ClassWithoutSignature)