Hello community,

here is the log from the commit of package python-datrie for openSUSE:Factory 
checked in at 2019-03-29 20:37:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-datrie (Old)
 and      /work/SRC/openSUSE:Factory/.python-datrie.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-datrie"

Fri Mar 29 20:37:33 2019 rev:6 rq:688135 version:0.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-datrie/python-datrie.changes      
2019-03-08 11:59:25.235975022 +0100
+++ /work/SRC/openSUSE:Factory/.python-datrie.new.25356/python-datrie.changes   
2019-03-29 20:37:34.766643817 +0100
@@ -1,0 +2,11 @@
+Mon Mar 25 07:24:43 UTC 2019 - John Vandenberg <jay...@gmail.com>
+
+- Add merged_pr_60.patch to build with recent hypothesis
+
+-------------------------------------------------------------------
+Fri Mar 22 14:18:03 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Regenerate all the cython files
+- Run fdupes
+
+-------------------------------------------------------------------

New:
----
  merged_pr_60.patch

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

Other differences:
------------------
++++++ python-datrie.spec ++++++
--- /var/tmp/diff_new_pack.IPWY0e/_old  2019-03-29 20:37:35.302644116 +0100
+++ /var/tmp/diff_new_pack.IPWY0e/_new  2019-03-29 20:37:35.306644118 +0100
@@ -23,19 +23,19 @@
 Summary:        Trie data structure for Python
 License:        LGPL-2.1-or-later
 Group:          Development/Languages/Python
-Url:            https://github.com/kmike/datrie
+URL:            https://github.com/kmike/datrie
 Source:         
https://files.pythonhosted.org/packages/source/d/datrie/datrie-%{version}.tar.gz
 Patch0:         datrie-bigendian.patch
 Patch1:         reproducible.patch
+Patch2:         merged_pr_60.patch
 BuildRequires:  %{python_module Cython >= 0.26.1}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
 %python_subpackages
 
 %description
@@ -45,8 +45,10 @@
 %setup -q -n datrie-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 pushd src
 cython datrie.pyx
+cython *.pxd
 popd
 
 %build
@@ -54,6 +56,7 @@
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
 %python_exec setup.py test

++++++ merged_pr_60.patch ++++++
>From 9b24b4c02783cdb703ac3f6c6d7d881db93166e0 Mon Sep 17 00:00:00 2001
From: Jon Dufresne <jon.dufre...@gmail.com>
Date: Mon, 7 Jan 2019 06:50:37 -0800
Subject: [PATCH] Remove deprecated 'average_size' argument from hypothesis
 tests (#60)

The argument is deprecated and has no effect. Fixes warning:

    tests/test_random.py::test_contains
      .../hypothesis/internal/validation.py:157: HypothesisDeprecationWarning: 
You should remove the average_size argument, because it is deprecated and no 
longer has any effect.  Please open an issue if the default distribution of 
examples does not work for you.
        since="2018-03-10",
---
 tests/test_random.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_random.py b/tests/test_random.py
index 76ab13e..3d0a7b3 100644
--- a/tests/test_random.py
+++ b/tests/test_random.py
@@ -13,7 +13,7 @@
     import hypothesis.strategies as st
     from hypothesis import given
 
-    printable_strings = st.lists(st.text(string.printable), average_size=5.)
+    printable_strings = st.lists(st.text(string.printable))
 
     @given(printable_strings)
     def test_contains(words):

Reply via email to