Hello community,

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

Package is "python-PyNaCl"

Thu Jun  6 18:14:46 2019 rev:4 rq:707231 version:1.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyNaCl/python-PyNaCl.changes      
2018-12-14 20:49:02.769372506 +0100
+++ /work/SRC/openSUSE:Factory/.python-PyNaCl.new.4811/python-PyNaCl.changes    
2019-06-06 18:14:50.248729686 +0200
@@ -1,0 +2,8 @@
+Mon Jun  3 14:17:29 UTC 2019 - [email protected]
+
+- run the testsuite
+- added patches
+  
https://github.com/pyca/pynacl/commit/a8c08b18f3a2e8f2140c531afaf42715fcab68e7
+  + python-PyNaCl-hypothesis-remove-average_size.patch
+
+-------------------------------------------------------------------

New:
----
  python-PyNaCl-hypothesis-remove-average_size.patch

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

Other differences:
------------------
++++++ python-PyNaCl.spec ++++++
--- /var/tmp/diff_new_pack.aPqWdv/_old  2019-06-06 18:14:50.780729531 +0200
+++ /var/tmp/diff_new_pack.aPqWdv/_new  2019-06-06 18:14:50.780729531 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PyNaCl
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,11 +25,17 @@
 Group:          Development/Languages/Python
 Url:            https://github.com/pyca/pynacl/
 Source:         
https://pypi.org/packages/source/P/PyNaCl/PyNaCl-%{version}.tar.gz
+# 
https://github.com/pyca/pynacl/commit/a8c08b18f3a2e8f2140c531afaf42715fcab68e7
+Patch0:         python-PyNaCl-hypothesis-remove-average_size.patch
 BuildRequires:  %{python_module base}
 BuildRequires:  %{python_module cffi}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pycparser}
 BuildRequires:  %{python_module setuptools}
+# SECTION test requirements
+BuildRequires:  %{python_module hypothesis >= 3.27.0}
+BuildRequires:  %{python_module pytest >= 3.2.1}
+# /SECTION
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
@@ -44,6 +50,7 @@
 
 %prep
 %setup -q -n PyNaCl-%{version}
+%patch0 -p1
 rm -Rf src/libsodium
 
 %build
@@ -54,6 +61,9 @@
 %python_install
 %python_expand %fdupes %{buildroot}/%{$python_sitearch}
 
+%check
+%pytest_arch -v
+
 %files %{python_files}
 %license LICENSE
 %doc README.rst

++++++ python-PyNaCl-hypothesis-remove-average_size.patch ++++++
iff --git a/tests/test_bindings.py b/tests/test_bindings.py
index 22930cc7..d7951a21 100644
--- a/tests/test_bindings.py
+++ b/tests/test_bindings.py
@@ -306,7 +306,6 @@ def test_unpad_not_padded():
 
 
 @given(binary(min_size=0,
-              average_size=128,
               max_size=2049),
        integers(min_value=16,
                 max_value=256)
@@ -320,7 +319,6 @@ def test_pad_sizes(msg, bl_sz):
 
 
 @given(binary(min_size=0,
-              average_size=128,
               max_size=2049),
        integers(min_value=16,
                 max_value=256)


Reply via email to