Hello community,

here is the log from the commit of package python-cryptography for 
openSUSE:Factory checked in at 2019-06-18 14:45:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cryptography (Old)
 and      /work/SRC/openSUSE:Factory/.python-cryptography.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cryptography"

Tue Jun 18 14:45:55 2019 rev:47 rq:707591 version:2.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cryptography/python-cryptography.changes  
2019-03-04 09:10:12.604709582 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cryptography.new.4811/python-cryptography.changes
        2019-06-18 14:45:57.385728954 +0200
@@ -1,0 +2,20 @@
+Mon Jun  3 13:45:56 UTC 2019 - Ondřej Súkup <[email protected]>
+
+- update to 2.7
+ * BACKWARDS INCOMPATIBLE: Removed the 
cryptography.hazmat.primitives.mac.MACContext interface.
+   The CMAC and HMAC APIs have not changed, but they are no longer registered
+   as MACContext instances.
+ * Removed support for running our tests with setup.py test.
+ * Add support for :class:`~cryptography.hazmat.primitives.poly1305.Poly1305`
+   when using OpenSSL 1.1.1 or newer.
+ * Support serialization with Encoding.OpenSSH and PublicFormat.OpenSSH
+   in :meth:`Ed25519PublicKey.public_bytes 
<cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey.public_bytes>`
 .
+ * Correctly allow passing a SubjectKeyIdentifier to 
:meth:`~cryptography.x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier`
+   and deprecate passing an Extension object.
+
+-------------------------------------------------------------------
+Wed May 29 14:41:39 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Simplify the test execution to be more understandable
+
+-------------------------------------------------------------------

Old:
----
  cryptography-2.6.1.tar.gz
  cryptography-2.6.1.tar.gz.asc
  cryptography_vectors-2.6.1.tar.gz

New:
----
  cryptography-2.7.tar.gz
  cryptography-2.7.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cryptography.spec ++++++
--- /var/tmp/diff_new_pack.I24HTU/_old  2019-06-18 14:45:58.665728753 +0200
+++ /var/tmp/diff_new_pack.I24HTU/_new  2019-06-18 14:45:58.669728753 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:           python-cryptography
-Version:        2.6.1
+Version:        2.7
 Release:        0
 Summary:        Python library which exposes cryptographic recipes and 
primitives
 License:        Apache-2.0 OR BSD-3-Clause
@@ -28,13 +28,12 @@
 Source0:        
https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-%{version}.tar.gz
 Source1:        
https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-%{version}.tar.gz.asc
 Source2:        %{name}.keyring
-# found on pypi but not on pythonhosted :/
-Source3:        
https://files.pythonhosted.org/packages/source/c/cryptography_vectors/cryptography_vectors-%{version}.tar.gz
 # PATCH-FIX-SLE disable-uneven-sizes-tests.patch bnc#944204
 Patch1:         disable-uneven-sizes-tests.patch
 Patch2:         skip_openssl_memleak_test.patch
 BuildRequires:  %{python_module asn1crypto >= 0.21.0}
 BuildRequires:  %{python_module cffi >= 1.7}
+BuildRequires:  %{python_module cryptography-vectors = %{version}}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module idna >= 2.1}
 BuildRequires:  %{python_module pyasn1-modules}
@@ -89,7 +88,7 @@
 functions.
 
 %prep
-%setup -q -n cryptography-%{version} -a3
+%setup -q -n cryptography-%{version}
 %patch1 -p1
 %patch2 -p1
 
@@ -98,24 +97,15 @@
 %python_build
 
 %install
+# Actually other *.c and *.h are appropriate
+# see https://github.com/pyca/cryptography/issues/1463
+find . -name .keep -print -delete
+
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-%{python_expand # this is going to be fun
-# create virtualenv
-$python %{_bindir}/virtualenv --system-site-packages 
TESTROOT-%{$python_bin_suffix}
-. TESTROOT-%{$python_bin_suffix}/bin/activate
-# install package in virtualenv
-$python setup.py install
-# install cryptography vectors
-(cd cryptography_vectors-%{version} && $python setup.py install)
-# run tests with virtualenv'd python
-# (specify "tests" directory, otherwise py.test discovers tests in 
virtualenv'd setuptools)
-$python -m pytest tests
-# finish
-deactivate
-}
+%pytest_arch
 
 %files %{python_files}
 %license LICENSE LICENSE.APACHE LICENSE.BSD

++++++ cryptography-2.6.1.tar.gz -> cryptography-2.7.tar.gz ++++++
++++ 2045 lines of diff (skipped)


Reply via email to