Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-textdistance for 
openSUSE:Factory checked in at 2022-06-18 22:06:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-textdistance (Old)
 and      /work/SRC/openSUSE:Factory/.python-textdistance.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-textdistance"

Sat Jun 18 22:06:35 2022 rev:5 rq:983627 version:4.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-textdistance/python-textdistance.changes  
2022-03-01 17:04:53.820354587 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-textdistance.new.1548/python-textdistance.changes
        2022-06-18 22:06:38.899695191 +0200
@@ -1,0 +2,7 @@
+Sat Jun 18 14:19:44 UTC 2022 - Ben Greiner <[email protected]>
+
+- More than one test can timeout
+  * Drop extend-timeout.patch
+  * Add hypothesis-profile-conftest.patch
+
+-------------------------------------------------------------------

Old:
----
  extend-timeout.patch
  v.4.2.1.tar.gz

New:
----
  hypothesis-profile-conftest.patch
  python-textdistance-4.2.1.tar.gz

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

Other differences:
------------------
++++++ python-textdistance.spec ++++++
--- /var/tmp/diff_new_pack.82r8w9/_old  2022-06-18 22:06:39.439695958 +0200
+++ /var/tmp/diff_new_pack.82r8w9/_new  2022-06-18 22:06:39.455695980 +0200
@@ -16,19 +16,16 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
-%define skip_python36 1
 Name:           python-textdistance
 Version:        4.2.1
 Release:        0
 Summary:        Compute distance between the two texts
 License:        MIT
 URL:            https://github.com/life4/textdistance
-Source:         
https://github.com/life4/textdistance/archive/refs/tags/v.%{version}.tar.gz
-# PATCH-FIX-OPENSUSE extend-timeout.patch bsc#[0-9]+ [email protected]
-# extend timetout for failing test
-Patch0:         extend-timeout.patch
+Source:         
https://github.com/life4/textdistance/archive/refs/tags/v.%{version}.tar.gz#/python-textdistance-%{version}.tar.gz
+# PATCH-FEATURE-OPENSUSE hypothesis-profile-conftest.patch -- add hypothesis 
profile for slow OBS executions, [email protected]
+Patch1:         hypothesis-profile-conftest.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -53,7 +50,6 @@
 
 %prep
 %autosetup -p1 -n textdistance-v.%{version}
-
 chmod a-x README.md
 
 %build
@@ -65,7 +61,7 @@
 
 %check
 # we don't have all external libraries to test with
-%pytest -m "not external"
+%pytest -m "not external" --hypothesis-profile obs
 
 %files %{python_files}
 %doc README.md

++++++ hypothesis-profile-conftest.patch ++++++
Index: textdistance-v.4.2.1/tests/conftest.py
===================================================================
--- /dev/null
+++ textdistance-v.4.2.1/tests/conftest.py
@@ -0,0 +1,8 @@
+# increase test deadline for slow obs executions
+import hypothesis
+
+hypothesis.settings.register_profile(
+    'obs',
+    deadline=5000,
+    suppress_health_check=[hypothesis.HealthCheck.too_slow]
+)

Reply via email to