diff --git a/_service b/_service
index 7ecb87b..6264f96 100644
--- a/_service
+++ b/_service
@@ -1,13 +1,16 @@
-
-
+
https://github.com/HypothesisWorks/hypothesis.git
git
- hypothesis-python-6.31.4
+ hypothesis-python-6.35.0
@PARENT_TAG@
hypothesis-python-(.*)
hypothesis-python
hypothesis-python
+
+ *.tar
+ gz
+
diff --git a/hypothesis-python-6.31.4.obscpio b/hypothesis-python-6.31.4.obscpio
deleted file mode 100644
index 1ee02f4..0000000
--- a/hypothesis-python-6.31.4.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:75430a5e0c89874c551cd1117df9265b414b32eb6ac4c5526bc0681ac199a32d
-size 2925068
diff --git a/hypothesis-python-6.35.0.tar.gz b/hypothesis-python-6.35.0.tar.gz
new file mode 100644
index 0000000..3cf5b71
--- /dev/null
+++ b/hypothesis-python-6.35.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ad77f4cba4ed3470d757cecbaf858a4a13ad6042d2a8a93416629110d489f5b5
+size 735198
diff --git a/hypothesis-python.obsinfo b/hypothesis-python.obsinfo
deleted file mode 100644
index dcdc186..0000000
--- a/hypothesis-python.obsinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-name: hypothesis-python
-version: 6.31.4
-mtime: 1639263364
-commit: c630d927ecbed86443827c0978ec3839205abdb5
-
diff --git a/importorskip-numpy-pandas.patch b/importorskip-numpy-pandas.patch
index 1638f31..063db60 100644
--- a/importorskip-numpy-pandas.patch
+++ b/importorskip-numpy-pandas.patch
@@ -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 @@ index fbb837d69..e31868140 100644
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 @@ index fbb837d69..e31868140 100644
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
diff --git a/python-hypothesis.changes b/python-hypothesis.changes
index bed0610..d5bb28e 100644
--- a/python-hypothesis.changes
+++ b/python-hypothesis.changes
@@ -1,3 +1,36 @@
+-------------------------------------------------------------------
+Mon Jan 10 16:47:37 UTC 2022 - Matej Cepl
+
+- 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)
+
-------------------------------------------------------------------
Sun Dec 12 11:40:54 UTC 2021 - Ben Greiner
diff --git a/python-hypothesis.spec b/python-hypothesis.spec
index da61ccb..cc18182 100644
--- a/python-hypothesis.spec
+++ b/python-hypothesis.spec
@@ -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 @@ ExclusiveArch: do_not_build
%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 @@ URL: https://github.com/HypothesisWorks/hypothesis
# 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 @@ PyPy3 until they support a 3.3 compatible version of the language). It does *not
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 @@ python36_donttest+=" or (test_cli_python_equivalence and json)"
# 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"