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
This commit is contained in:
Tomáš Chvátal 2018-10-14 19:59:53 +00:00 committed by Git OBS Bridge
parent 746fb60f0c
commit 46c9b6d0bd
4 changed files with 160 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a208ee16c426811282c8d3093672a4995ea799c741ffa94992c0a0c76d869b8b
size 543336

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98325aac025ec78f10b3ff81385d441522f9bd16c1d45ee2505757e7779cd8e9
size 555266

View File

@ -1,3 +1,153 @@
-------------------------------------------------------------------
Sun Oct 14 15:26:36 UTC 2018 - Arun Persaud <arun@gmx.de>
- 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 engines
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 engines
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 youre 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 dont add new ones.
-------------------------------------------------------------------
Sun Sep 16 15:37:43 UTC 2018 - Arun Persaud <arun@gmx.de>
- update to version 3.71.6:
* This patch fixes two bugs (issue #944 and issue #1521), where
messages about @seed <hypothesis.seed() did not check the current
verbosity setting, and the wrong settings were active while
executing explicit examples.
- changes from version 3.71.5:
* This patch fixes a DeprecationWarning added in Python 3.8 (issue
#1576).
* Thanks to tirkarthi for this contribution!
- changes from version 3.71.4:
* This is a no-op release, which implements automatic DOI minting
and code archival of Hypothesis via Zenodo. Thanks to CERN and the
EU Horizon 2020 programme for providing this service!
* Check our CITATION file for details, or head right on over to
doi.org/10.5281/zenodo.1412597
- changes from version 3.71.3:
* This release adds the test name to some deprecation warnings, for
easier debugging.
* Thanks to Sanyam Khurana for the patch!
- changes from version 3.71.2:
* This release makes Hypothesiss memory usage substantially smaller
for tests with many examples, by bounding the number of past
examples it keeps around.
* You will not see much difference unless you are running tests with
max_examples set to well over 1000, but if you do have such tests
then you should see memory usage mostly plateau where previously
it would have grown linearly with time.
- changes from version 3.71.1:
* This patch adds internal comments to some tree traversals in the
core engine. There is no user-visible change.
-------------------------------------------------------------------
Sun Sep 9 22:39:31 CEST 2018 - Matěj Cepl <mcepl@suse.com>

View File

@ -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}