Accepting request 646018 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/646018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2018-11-06 13:00:55 +00:00 committed by Git OBS Bridge
commit a4e53d760b
4 changed files with 92 additions and 4 deletions

View File

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

View File

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

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Thu Nov 1 22:43:45 UTC 2018 - Arun Persaud <arun@gmx.de>
- update to version 3.82.1:
* This patch fixes from_type() on Python 2 for classes where
cls.__init__ is object.__init__. Thanks to ccxcz for reporting
issue #1656.
- changes from version 3.82.0:
* The alphabet argument for text() now uses its default value of
characters(blacklist_categories=('Cs',)) directly, instead of
hiding that behind alphabet=None and replacing it within the
function. Passing None is therefore deprecated.
- changes from version 3.81.0:
* GenericStateMachine and RuleBasedStateMachine now raise an
explicit error when instances of settings are assigned to the
classes settings attribute, which is a no-op (issue
#1643). Instead assign to SomeStateMachine.TestCase.settings, or
use @settings(...) as a class decorator to handle this
automatically.
- changes from version 3.80.0:
* Since version 3.68.0, arrays() checks that values drawn from the
elements and fill strategies can be safely cast to the dtype of
the array, and emits a warning otherwise.
This release expands the checks to cover overflow for finite
complex64 elements and string truncation caused by too-long
elements or trailing null characters (issue #1591).
- changes from version 3.79.4:
* Tests using @given now shrink errors raised from pytest helper
functions, instead of reporting the first example found.
This was previously fixed in version 3.56.0, but only for stateful
testing.
- changes from version 3.79.3:
* Traceback elision is now disabled on Python 2, to avoid an
import-time SyntaxError under Python < 2.7.9 (Python: bpo-21591,
Hypothesis 3.79.2: issue #1648).
* We encourage all users to upgrade to Python 3 before the end of
2019.
- changes from version 3.79.2:
* This patch shortens tracebacks from Hypothesis, so you can see
exactly happened in your code without having to skip over
irrelevant details about our internals (issue #848).
In the example test (see pull request #1582), this reduces
tracebacks from nine frames to just three - and for a test with
multiple errors, from seven frames per error to just one!
If you do want to see the internal details, you can disable frame
elision by setting verbosity to debug.
- changes from version 3.79.1:
* The abstract number classes Number, Complex, Real, Rational, and
Integral are now supported by the from_type()
strategy. Previously, you would have to use
register_type_strategy() before they could be resolved (issue
#1636)
-------------------------------------------------------------------
Sat Oct 20 15:34:34 UTC 2018 - Arun Persaud <arun@gmx.de>
- update to version 3.79.0:
* This release adds a CLI flag for verbosity --hypothesis-verbosity
to the Hypothesis pytest plugin, applied after loading the profile
specified by --hypothesis-profile. Valid options are the names of
verbosity settings, quiet, normal, verbose or debug.Thanks to Bex
Dunn for writing this patch at the PyCon Australia sprints!
* The pytest header now correctly reports the current profile if
--hypothesis-profile has been used. Thanks to Mathieu Paturel for t
he contribution at the Canberra Python Hacktoberfest.
- changes from version 3.78.0:
* This release has deprecated the generation of integers, floats and
fractions when the conversion of the upper and/ or lower bound is
not 100% exact, e.g. when an integer gets passed a bound that is
not a whole number. (issue #1625)
- changes from version 3.77.0:
* This minor release adds functionality to settings allowing it to
be used as a decorator on RuleBasedStateMachine and
GenericStateMachine.
- changes from version 3.76.1:
* This patch fixes some warnings added by recent releases of
pydocstyle and mypy.
-------------------------------------------------------------------
Sun Oct 14 15:26:36 UTC 2018 - Arun Persaud <arun@gmx.de>

View File

@ -30,7 +30,7 @@
%bcond_with test
%endif
%bcond_without python2
Version: 3.76.0
Version: 3.82.1
Release: 0
Summary: A library for property based testing
License: MPL-2.0