From 46c9b6d0bd6c9854ce10432338757ff36d21fef6a0d55b99f3325c7d3caed8d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 14 Oct 2018 19:59:53 +0000 Subject: [PATCH] Accepting request 641934 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/641934 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=85 --- hypothesis-python-3.71.0.tar.gz | 3 - hypothesis-python-3.76.0.tar.gz | 3 + python-hypothesis.changes | 150 ++++++++++++++++++++++++++++++++ python-hypothesis.spec | 15 ++-- 4 files changed, 160 insertions(+), 11 deletions(-) delete mode 100644 hypothesis-python-3.71.0.tar.gz create mode 100644 hypothesis-python-3.76.0.tar.gz diff --git a/hypothesis-python-3.71.0.tar.gz b/hypothesis-python-3.71.0.tar.gz deleted file mode 100644 index 8c3355c..0000000 --- a/hypothesis-python-3.71.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a208ee16c426811282c8d3093672a4995ea799c741ffa94992c0a0c76d869b8b -size 543336 diff --git a/hypothesis-python-3.76.0.tar.gz b/hypothesis-python-3.76.0.tar.gz new file mode 100644 index 0000000..5c9916d --- /dev/null +++ b/hypothesis-python-3.76.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98325aac025ec78f10b3ff81385d441522f9bd16c1d45ee2505757e7779cd8e9 +size 555266 diff --git a/python-hypothesis.changes b/python-hypothesis.changes index d9d181a..424d466 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,153 @@ +------------------------------------------------------------------- +Sun Oct 14 15:26:36 UTC 2018 - Arun Persaud + +- update to version 3.76.0: + * This release deprecates using floats for min_size and max_size. + * The type hint for average_size arguments has been changed from + Optional[int] to None, because non-None values are always ignored + and deprecated. + +- changes from version 3.75.4: + * This patch adds more internal comments to the core engine’s + sequence-length shrinker. There should be no user-visible change. + +- changes from version 3.75.3: + * This patch adds additional comments to some of the core engine’s + internal data structures. There is no user-visible change. + +- changes from version 3.75.2: + * This patch avoids caching a trivial case, fixing issue #493. + +- changes from version 3.75.1: + * This patch fixes a broken link in a docstring. Thanks to Benjamin + Lee for this contribution! + +- changes from version 3.75.0: + * This release deprecates the use of min_size=None, setting the + default min_size to 0 (:issue: 1618). + +- changes from version 3.74.3: + * This patch makes some small internal changes to comply with a new + lint setting in the build. There should be no user-visible change. + +- changes from version 3.74.2: + * This patch fixes issue #1153, where time spent reifying a strategy + was also counted in the time spent generating the first + example. Strategies are now fully constructed and validated before + the timer is started. + +- changes from version 3.74.1: + * This patch fixes some broken formatting and links in the + documentation. + +- changes from version 3.74.0: + * This release checks that the value of the print_blob setting is a + PrintSettings instance. + * Being able to specify a boolean value was not intended, and is now + deprecated. In addition, specifying True will now cause the blob + to always be printed, instead of causing it to be suppressed. + * Specifying any value that is not a PrintSettings or a boolean is + now an error. + +- changes from version 3.73.5: + * Changes the documentation for hypothesis.strategies.datetimes, + hypothesis.strategies.dates, hypothesis.strategies.times to use + the new parameter names min_value and max_value instead of the + deprecated names + +- changes from version 3.73.4: + * This patch ensures that Hypothesis deprecation warnings display + the code that emitted them when you’re not running in -Werror mode + (issue #652). + +- changes from version 3.73.3: + * Tracebacks involving @composite are now slightly shorter due to + some internal refactoring. + +- changes from version 3.73.2: + * This patch fixes errors in the internal comments for one of the + shrinker passes. There is no user-visible change. + +- changes from version 3.73.1: + * This patch substantially improves the distribution of data + generated with recursive(), and fixes a rare internal error (issue + #1502). + +- changes from version 3.73.0 : + * This release adds the fulfill() function, which is designed for + testing code that uses dpcontracts 0.4 or later for input + validation. This provides some syntactic sugar around use of + assume(), to automatically filter out and retry calls that cause a + precondition check to fail (issue #1474). + +- changes from version 3.72.0 : + * This release makes setting attributes of the hypothesis.settings + class an explicit error. This has never had any effect, but could + mislead users who confused it with the current settings instance + hypothesis.settings.default (which is also immutable). You can + change the global settings with settings profiles. + +- changes from version 3.71.11: + * This patch factors out some common code in the shrinker for + iterating over pairs of data blocks. There should be no + user-visible change. + +- changes from version 3.71.10 : + * This patch allows from_type() to handle the empty tuple type, + typing.Tuple[()]. + +- changes from version 3.71.9 : + * This patch updates some internal comments for mypy. There is no + user-visible effect, even for Mypy users. + +- changes from version 3.71.8: + * This patch fixes a rare bug that would cause a particular shrinker + pass to raise an IndexError, if a shrink improvement changed the + underlying data in an unexpected way. + +- changes from version 3.71.7: + * This release fixes the broken cross-references in our docs, and + adds a CI check so we don’t add new ones. + +------------------------------------------------------------------- +Sun Sep 16 15:37:43 UTC 2018 - Arun Persaud + +- update to version 3.71.6: + * This patch fixes two bugs (issue #944 and issue #1521), where + messages about @seed diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 2305f69..d6b13ee 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -22,8 +22,6 @@ # manner. %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python -%bcond_without python2 - %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define test 1 @@ -31,12 +29,8 @@ %else %bcond_with test %endif -%if %{with test} -Name: python-hypothesis-%{flavor} -%else -Name: python-hypothesis -%endif -Version: 3.71.0 +%bcond_without python2 +Version: 3.76.0 Release: 0 Summary: A library for property based testing License: MPL-2.0 @@ -56,6 +50,11 @@ Recommends: python-pytest >= 3.0.0 Recommends: python-pytz >= 2014.1 BuildArch: noarch %if %{with test} +Name: python-hypothesis-%{flavor} +%else +Name: python-hypothesis +%endif +%if %{with test} # SECTION test requirements BuildRequires: %{python_module attrs >= 16.0.0} BuildRequires: %{python_module coverage}