Hello community, here is the log from the commit of package python-cryptography for openSUSE:Factory checked in at 2015-12-23 08:48:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cryptography (Old) and /work/SRC/openSUSE:Factory/.python-cryptography.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cryptography" Changes: -------- --- /work/SRC/openSUSE:Factory/python-cryptography/python-cryptography.changes 2015-12-13 09:35:13.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-cryptography.new/python-cryptography.changes 2015-12-23 08:48:28.000000000 +0100 @@ -1,0 +2,16 @@ +Wed Dec 9 10:35:20 UTC 2015 - dmuel...@suse.com + +- update to 1.1.1: + * Fixed several small bugs related to compiling the OpenSSL bindings with + unusual OpenSSL configurations. + * Resolved an issue where, depending on the method of installation and + which Python interpreter they were using, users on El Capitan (OS X 10.11) + may have seen an ``InternalError`` on import. + +------------------------------------------------------------------- +Wed Dec 9 10:19:45 UTC 2015 - dmuel...@suse.com + +- fix build for sle11 (disable testsuite as it depends on python-hypothesis + which is not available for sle11 anymore) + +------------------------------------------------------------------- Old: ---- cryptography-1.1.tar.gz cryptography-1.1.tar.gz.asc cryptography_vectors-1.1.tar.gz cryptography_vectors-1.1.tar.gz.asc New: ---- cryptography-1.1.1.tar.gz cryptography-1.1.1.tar.gz.asc cryptography_vectors-1.1.1.tar.gz cryptography_vectors-1.1.1.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cryptography.spec ++++++ --- /var/tmp/diff_new_pack.cBgseo/_old 2015-12-23 08:48:29.000000000 +0100 +++ /var/tmp/diff_new_pack.cBgseo/_new 2015-12-23 08:48:29.000000000 +0100 @@ -17,7 +17,7 @@ Name: python-cryptography -Version: 1.1 +Version: 1.1.1 Release: 0 Summary: Python library which exposes cryptographic recipes and primitives License: Apache-2.0 @@ -34,13 +34,17 @@ BuildRequires: python-cffi >= 1.1.0 BuildRequires: python-devel BuildRequires: python-enum34 -BuildRequires: python-hypothesis BuildRequires: python-idna >= 2.0 BuildRequires: python-ipaddress BuildRequires: python-pyasn1-modules BuildRequires: python-setuptools BuildRequires: python-six >= 1.4.1 +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +BuildRequires: libffi43-devel +%else +BuildRequires: python-hypothesis BuildRequires: pkgconfig(libffi) +%endif # Test requirements BuildRequires: python-iso8601 BuildRequires: python-pretend @@ -81,6 +85,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check +%if 0%{?suse_version} >= 1210 # this is going to be fun # create virtualenv virtualenv --system-site-packages TESTROOT @@ -94,6 +99,7 @@ python /usr/bin/py.test tests # finish deactivate +%endif %files %defattr(-,root,root,-) ++++++ cryptography-1.1.tar.gz -> cryptography-1.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-1.1/CHANGELOG.rst new/cryptography-1.1.1/CHANGELOG.rst --- old/cryptography-1.1/CHANGELOG.rst 2015-10-28 23:26:16.000000000 +0100 +++ new/cryptography-1.1.1/CHANGELOG.rst 2015-11-19 05:01:40.000000000 +0100 @@ -1,6 +1,15 @@ Changelog ========= +1.1.1 - 2015-11-19 +~~~~~~~~~~~~~~~~~~ + +* Fixed several small bugs related to compiling the OpenSSL bindings with + unusual OpenSSL configurations. +* Resolved an issue where, depending on the method of installation and + which Python interpreter they were using, users on El Capitan (OS X 10.11) + may have seen an ``InternalError`` on import. + 1.1 - 2015-10-28 ~~~~~~~~~~~~~~~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-1.1/PKG-INFO new/cryptography-1.1.1/PKG-INFO --- old/cryptography-1.1/PKG-INFO 2015-10-28 23:26:39.000000000 +0100 +++ new/cryptography-1.1.1/PKG-INFO 2015-11-19 05:02:01.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: cryptography -Version: 1.1 +Version: 1.1.1 Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers. Home-page: https://github.com/pyca/cryptography Author: The cryptography developers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-1.1/src/_cffi_src/openssl/cms.py new/cryptography-1.1.1/src/_cffi_src/openssl/cms.py --- old/cryptography-1.1/src/_cffi_src/openssl/cms.py 2015-10-28 23:26:16.000000000 +0100 +++ new/cryptography-1.1.1/src/_cffi_src/openssl/cms.py 2015-11-19 05:01:35.000000000 +0100 @@ -17,6 +17,7 @@ TYPES = """ static const long Cryptography_HAS_CMS; +static const long Cryptography_HAS_CMS_BIO_FUNCTIONS; typedef ... CMS_ContentInfo; typedef ... CMS_SignerInfo; @@ -71,8 +72,18 @@ CUSTOMIZATIONS = """ #if !defined(OPENSSL_NO_CMS) && OPENSSL_VERSION_NUMBER >= 0x0090808fL static const long Cryptography_HAS_CMS = 1; +#if OPENSSL_VERSION_NUMBER < 0x10000000L +static const long Cryptography_HAS_CMS_BIO_FUNCTIONS = 0; +/* These functions were added in 1.0.0 */ +BIO *(*BIO_new_CMS)(BIO *, CMS_ContentInfo *) = NULL; +int (*i2d_CMS_bio_stream)(BIO *, CMS_ContentInfo *, BIO *, int) = NULL; +int (*PEM_write_bio_CMS_stream)(BIO *, CMS_ContentInfo *, BIO *, int) = NULL; +#else +static const long Cryptography_HAS_CMS_BIO_FUNCTIONS = 1; +#endif #else static const long Cryptography_HAS_CMS = 0; +static const long Cryptography_HAS_CMS_BIO_FUNCTIONS = 0; typedef void CMS_ContentInfo; typedef void CMS_SignerInfo; typedef void CMS_CertificateChoices; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-1.1/src/_cffi_src/openssl/crypto.py new/cryptography-1.1.1/src/_cffi_src/openssl/crypto.py --- old/cryptography-1.1/src/_cffi_src/openssl/crypto.py 2015-10-28 23:26:16.000000000 +0100 +++ new/cryptography-1.1.1/src/_cffi_src/openssl/crypto.py 2015-11-19 05:01:35.000000000 +0100 @@ -49,7 +49,6 @@ MACROS = """ void CRYPTO_add(int *, int, int); void CRYPTO_malloc_init(void); -void CRYPTO_malloc_debug_init(void); """ CUSTOMIZATIONS = """ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-1.1/src/_cffi_src/openssl/x509_vfy.py new/cryptography-1.1.1/src/_cffi_src/openssl/x509_vfy.py --- old/cryptography-1.1/src/_cffi_src/openssl/x509_vfy.py 2015-10-28 23:26:16.000000000 +0100 +++ new/cryptography-1.1.1/src/_cffi_src/openssl/x509_vfy.py 2015-11-19 05:01:35.000000000 +0100 @@ -209,7 +209,7 @@ CUSTOMIZATIONS = """ /* OpenSSL 1.0.2+ verification error codes */ -#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(LIBRESSL_VERSION_NUMBER) +#if OPENSSL_VERSION_NUMBER >= 0x10002002L && !defined(LIBRESSL_VERSION_NUMBER) static const long Cryptography_HAS_102_VERIFICATION_ERROR_CODES = 1; #else static const long Cryptography_HAS_102_VERIFICATION_ERROR_CODES = 0; @@ -225,7 +225,7 @@ #endif /* OpenSSL 1.0.2+ verification parameters */ -#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(LIBRESSL_VERSION_NUMBER) +#if OPENSSL_VERSION_NUMBER >= 0x10002002L && !defined(LIBRESSL_VERSION_NUMBER) static const long Cryptography_HAS_102_VERIFICATION_PARAMS = 1; #else static const long Cryptography_HAS_102_VERIFICATION_PARAMS = 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-1.1/src/cryptography/__about__.py new/cryptography-1.1.1/src/cryptography/__about__.py --- old/cryptography-1.1/src/cryptography/__about__.py 2015-10-28 23:26:16.000000000 +0100 +++ new/cryptography-1.1.1/src/cryptography/__about__.py 2015-11-19 05:01:40.000000000 +0100 @@ -14,7 +14,7 @@ " and primitives to Python developers.") __uri__ = "https://github.com/pyca/cryptography" -__version__ = "1.1" +__version__ = "1.1.1" __author__ = "The cryptography developers" __email__ = "cryptography-...@python.org" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-1.1/src/cryptography/hazmat/bindings/openssl/_conditional.py new/cryptography-1.1.1/src/cryptography/hazmat/bindings/openssl/_conditional.py --- old/cryptography-1.1/src/cryptography/hazmat/bindings/openssl/_conditional.py 2015-10-28 23:26:16.000000000 +0100 +++ new/cryptography-1.1.1/src/cryptography/hazmat/bindings/openssl/_conditional.py 2015-11-19 05:01:35.000000000 +0100 @@ -52,6 +52,11 @@ "CMS_USE_KEYID", "CMS_DEBUG_DECRYPT", ], + "Cryptography_HAS_CMS_BIO_FUNCTIONS": [ + "BIO_new_CMS", + "i2d_CMS_bio_stream", + "PEM_write_bio_CMS_stream", + ], "Cryptography_HAS_EC": [ "OPENSSL_EC_NAMED_CURVE", "EC_GROUP_new", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-1.1/src/cryptography/hazmat/bindings/openssl/binding.py new/cryptography-1.1.1/src/cryptography/hazmat/bindings/openssl/binding.py --- old/cryptography-1.1/src/cryptography/hazmat/bindings/openssl/binding.py 2015-10-28 23:26:16.000000000 +0100 +++ new/cryptography-1.1.1/src/cryptography/hazmat/bindings/openssl/binding.py 2015-11-19 05:01:35.000000000 +0100 @@ -39,7 +39,7 @@ raise InternalError( "Unknown OpenSSL error. Please file an issue at https://github.com" "/pyca/cryptography/issues with information on how to reproduce " - "this.", + "this. ({0!r})".format(errors), errors ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cryptography-1.1/src/cryptography.egg-info/PKG-INFO new/cryptography-1.1.1/src/cryptography.egg-info/PKG-INFO --- old/cryptography-1.1/src/cryptography.egg-info/PKG-INFO 2015-10-28 23:26:39.000000000 +0100 +++ new/cryptography-1.1.1/src/cryptography.egg-info/PKG-INFO 2015-11-19 05:02:00.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: cryptography -Version: 1.1 +Version: 1.1.1 Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers. Home-page: https://github.com/pyca/cryptography Author: The cryptography developers ++++++ cryptography_vectors-1.1.tar.gz -> cryptography_vectors-1.1.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-cryptography/cryptography_vectors-1.1.tar.gz /work/SRC/openSUSE:Factory/.python-cryptography.new/cryptography_vectors-1.1.1.tar.gz differ: char 5, line 1