Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-hypothesis for 
openSUSE:Factory checked in at 2022-01-20 00:12:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hypothesis (Old)
 and      /work/SRC/openSUSE:Factory/.python-hypothesis.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hypothesis"

Thu Jan 20 00:12:08 2022 rev:55 rq:947060 version:6.35.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hypothesis/python-hypothesis.changes      
2021-12-16 21:20:27.506547407 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-hypothesis.new.1892/python-hypothesis.changes
    2022-01-20 00:12:52.954605711 +0100
@@ -1,0 +2,33 @@
+Mon Jan 10 16:47:37 UTC 2022 - Matej Cepl <mc...@suse.com>
+
+- Upgrade to 6.35.0:
+  - This release disallows using "typing.ClassVar" with
+    "from_type()" and "register_type_strategy()". Why? Because
+    "ClassVar" can only be used during "class" definition. We
+    don't generate class attributes. It also does not make sense
+    as a runtime type on its own.
+  - Updates our vendored list of top-level domains, which is used
+    by the provisional "domains()" strategy.
+  - Fixes issue #3169, an extremely rare bug which would trigger
+    if an internal least-recently-reused cache dropped a newly
+    added entry immediately after it was added.
+  - Fixes issue #3133 and issue #3144, where attempting to
+    generate Pandas series of lists or sets would fail with
+    confusing errors if you did not specify "dtype=object".
+  - Disallows using "typing.TypeAlias" with "from_type()" and
+    "register_type_strategy()". Why? Because "TypeAlias" is not
+    really a type, it is a tag for type checkers that some
+    expression is a type alias, not something else. It does not
+    make sense for Hypothesis to resolve it as a strategy.
+  - Updates our autoformatting tools, improving our code style
+    without any API changes.
+  - Drops support for Python 3.6, which reached end of life
+    upstream on 2021-12-23.
+  - Adds a temporary hook for a downstream tool, which is not
+    part of the public API.
+  - Updates our copyright headers to use a general authorship
+    statement and omit the year.
+- Skip also test_recursion_error_is_not_flaky
+  (gh#HypothesisWorks/hypothesis#3035)
+
+-------------------------------------------------------------------

Old:
----
  hypothesis-python-6.31.4.obscpio
  hypothesis-python.obsinfo

New:
----
  hypothesis-python-6.35.0.tar.gz

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

Other differences:
------------------
++++++ python-hypothesis.spec ++++++
--- /var/tmp/diff_new_pack.OomXxq/_old  2022-01-20 00:12:53.702606315 +0100
+++ /var/tmp/diff_new_pack.OomXxq/_new  2022-01-20 00:12:53.702606315 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,6 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
+%define skip_python36 1
 %bcond_with ringdisabled
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
@@ -33,7 +34,7 @@
 %bcond_with test
 %endif
 Name:           python-hypothesis%{psuffix}
-Version:        6.31.4
+Version:        6.35.0
 Release:        0
 Summary:        A library for property based testing
 License:        MPL-2.0
@@ -41,7 +42,7 @@
 # Source is the `hypothesis-python` subdir of the Github repository.
 # Edit the `_service` file and run `osc service runall` for updates.
 # See also https://hypothesis.readthedocs.io/en/latest/packaging.html
-Source:         hypothesis-python-%{version}
+Source:         hypothesis-python-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE dont import numpy and pandas and skip tests if these 
optional packages are not available.
 Patch0:         importorskip-numpy-pandas.patch
 %if 0%{?suse_version} >= 1500
@@ -110,10 +111,11 @@
 work on Jython or on Python 3.0 through 3.2.
 
 %prep
-%setup -q -n %{_sourcedir}/hypothesis-python-%{version} -T -D
+%setup -q -n hypothesis-python-%{version}
+%autopatch -p1
+
 # gh#HypothesisWorks/hypothesis#2447: make sure arr==0.0 is an array on 32-bit
 sed -i 's/assert (arr == 0.0)/assert np.asarray(arr == 0.0)/' 
tests/numpy/test_gen_data.py
-%patch0 -p2
 
 %build
 %if !%{with test}
@@ -145,6 +147,8 @@
 # typing_extension problem on python36 and Leap 15's python3
 python36_donttest+=" or test_mutually_recursive_types_with_typevar"
 python3_donttest+=" or test_mutually_recursive_types_with_typevar"
+# gh#HypothesisWorks/hypothesis#3035
+python3_donttest+=" or test_recursion_error_is_not_flaky"
 # requires backports.zoneinfo for python < 3.9
 python36_ignoretests=" --ignore tests/datetime/test_zoneinfo_timezones.py"
 python38_ignoretests=" --ignore tests/datetime/test_zoneinfo_timezones.py"

++++++ _service ++++++
--- /var/tmp/diff_new_pack.OomXxq/_old  2022-01-20 00:12:53.762606364 +0100
+++ /var/tmp/diff_new_pack.OomXxq/_new  2022-01-20 00:12:53.766606367 +0100
@@ -1,14 +1,17 @@
 <services>
-  <!-- python portion of github sources --> 
-  <service name="obs_scm" mode="disabled">
+  <service name="tar_scm" mode="disabled">
     <param name="url">https://github.com/HypothesisWorks/hypothesis.git</param>
     <param name="scm">git</param>
-    <param name="revision">hypothesis-python-6.31.4</param>
+    <param name="revision">hypothesis-python-6.35.0</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">hypothesis-python-(.*)</param>
     <param name="subdir">hypothesis-python</param>    
     <param name="filename">hypothesis-python</param>    
   </service>
+  <service name="recompress" mode="disabled">
+    <param name="file">*.tar</param>
+    <param name="compression">gz</param>
+  </service>
   <service name="set_version" mode="disabled" />
 </services>
 

++++++ importorskip-numpy-pandas.patch ++++++
--- /var/tmp/diff_new_pack.OomXxq/_old  2022-01-20 00:12:53.774606374 +0100
+++ /var/tmp/diff_new_pack.OomXxq/_new  2022-01-20 00:12:53.778606377 +0100
@@ -1,8 +1,11 @@
-diff --git a/hypothesis-python/tests/conjecture/test_utils.py 
b/hypothesis-python/tests/conjecture/test_utils.py
-index fbb837d69..e31868140 100644
---- a/hypothesis-python/tests/conjecture/test_utils.py
-+++ b/hypothesis-python/tests/conjecture/test_utils.py
-@@ -16,7 +16,6 @@
+---
+ tests/conjecture/test_utils.py            |    3 ++-
+ tests/ghostwriter/test_expected_output.py |    2 +-
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+--- a/tests/conjecture/test_utils.py
++++ b/tests/conjecture/test_utils.py
+@@ -11,7 +11,6 @@
  from collections import Counter
  from fractions import Fraction
  
@@ -10,7 +13,7 @@
  import pytest
  
  from hypothesis import (
-@@ -218,11 +217,13 @@ def test_combine_labels_is_distinct():
+@@ -213,11 +212,13 @@ def test_combine_labels_is_distinct():
  
  
  def test_invalid_numpy_sample():
@@ -24,11 +27,9 @@
      cu.check_sample(np.array([1, 2, 3]), "array")
  
  
-diff --git a/hypothesis-python/tests/ghostwriter/test_expected_output.py 
b/hypothesis-python/tests/ghostwriter/test_expected_output.py
-index 6cc9294e3..1e77c539a 100644
---- a/hypothesis-python/tests/ghostwriter/test_expected_output.py
-+++ b/hypothesis-python/tests/ghostwriter/test_expected_output.py
-@@ -27,13 +27,13 @@ import re
+--- a/tests/ghostwriter/test_expected_output.py
++++ b/tests/ghostwriter/test_expected_output.py
+@@ -23,13 +23,13 @@ import re
  import sys
  from typing import Sequence
  

Reply via email to