From 65044c82ac5ea8765cf7f80af2fe61d02204a5991436fc455dc24f5f26ae6f1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 25 Jun 2018 11:02:02 +0000 Subject: [PATCH] Accepting request 618822 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/618822 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=63 --- hypothesis-python-3.57.0.tar.gz | 3 -- hypothesis-python-3.61.0.tar.gz | 3 ++ python-hypothesis.changes | 50 +++++++++++++++++++++++++++++++++ python-hypothesis.spec | 12 ++++---- 4 files changed, 58 insertions(+), 10 deletions(-) delete mode 100644 hypothesis-python-3.57.0.tar.gz create mode 100644 hypothesis-python-3.61.0.tar.gz diff --git a/hypothesis-python-3.57.0.tar.gz b/hypothesis-python-3.57.0.tar.gz deleted file mode 100644 index fc4e3a0..0000000 --- a/hypothesis-python-3.57.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e2da5348d3661cc51d076172dfff221a285294ea3349a5fcfd0955dddaab6fc -size 498153 diff --git a/hypothesis-python-3.61.0.tar.gz b/hypothesis-python-3.61.0.tar.gz new file mode 100644 index 0000000..8cbf2a4 --- /dev/null +++ b/hypothesis-python-3.61.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a26a1f5075fcaeb04b1c412cc7f5c00ed15bee9a15058cd6006eacebacd98a2 +size 506900 diff --git a/python-hypothesis.changes b/python-hypothesis.changes index 45807ec..0368357 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,53 @@ +------------------------------------------------------------------- +Sun Jun 24 15:40:53 UTC 2018 - arun@gmx.de + +- specfile: + * use %{version} in source + +- update to version 3.61.0: + * This release deprecates the use of settings as a context manager, + the use of which is somewhat ambiguous.Users should define + settings with global state or with the @settings(...) decorator. + +- changes from version 3.60.1: + * Fixed a bug in generating an instance of a Django model from a + strategy where the primary key is generated as part of the + strategy. See details here. + +- changes from version 3.60.0: + * This release add initialize decorator for stateful testing + (originally discussed in issue #1216). initialize act as a special + rule that is only called once, and all initialize rules are + guaranteed to be called before any normal rule is called. + +- changes from version 3.59.3: + * This is a no-op release to take into account some changes to the + release process. It should have no user visible effect. + +- changes from version 3.59.2: + * This adds support for partially sorting examples which cannot be + fully sorted. For example, [5, 4, 3, 2, 1, 0] with a constraint + that the first element needs to be larger than the last becomes + [1, 2, 3, 4, 5, 0]. + +- changes from version 3.59.1: + * This patch uses random.getstate() and random.setstate() to restore + the PRNG state after @given runs deterministic tests. Without + restoring state, you might have noticed problems such as issue + #1266. The fix also applies to stateful testing (issue #702). + +- changes from version 3.59.0: + * This release adds the emails() strategy, which generates unicode + strings representing an email address. + +- changes from version 3.58.1: + * This improves the shrinker. It can now reorder examples: 3 1 2 + becomes 1 2 3. + +- changes from version 3.58.0: + * This adds a new extra timezones() strategy that generates dateutil + timezones. Depends on python-dateutil. + ------------------------------------------------------------------- Mon Jun 4 19:27:19 UTC 2018 - toddrme2178@gmail.com diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 1a0c833..62bff02 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -20,7 +20,6 @@ # variables (such as checking for travis), and very specific versions of all # dependencies. It does not appear feasible to get it to work in a consistent # manner. - %{?!python_module:%define python_module() python-%{**} python3-%{**}} %if 0%{?suse_version} > 1320 %define oldpython python2 @@ -29,16 +28,19 @@ %endif %bcond_without python2 Name: python-hypothesis -Version: 3.57.0 +Version: 3.61.0 Release: 0 Summary: A library for property based testing License: MPL-2.0 Group: Development/Languages/Python URL: https://github.com/HypothesisWorks/hypothesis-python -Source: https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-3.57.0.tar.gz +Source: https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-%{version}.tar.gz BuildRequires: %{python_module setuptools >= 36} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-attrs >= 16.0.0 +Requires: python-coverage +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module attrs >= 16.0.0} BuildRequires: %{python_module coverage} @@ -48,8 +50,6 @@ BuildRequires: %{python_module pytest >= 2.8.0} BuildRequires: %{python_module pytest-xdist >= 1.22.2} BuildRequires: %{pythons} # /SECTION -Requires: python-attrs >= 16.0.0 -Requires: python-coverage %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 Recommends: python-Django >= 1.11 Recommends: python-Faker >= 0.7.0 @@ -66,8 +66,6 @@ BuildRequires: python-mock %ifpython2 Requires: %{oldpython}-enum34 %endif -BuildArch: noarch - %python_subpackages %description