Accepting request 645955 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/645955
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=88
This commit is contained in:
Tomáš Chvátal 2018-11-02 08:17:50 +00:00 committed by Git OBS Bridge
parent e5ea557acc
commit b8cc98c744
4 changed files with 64 additions and 4 deletions

View File

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

View File

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

View File

@ -1,3 +1,63 @@
-------------------------------------------------------------------
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> Sat Oct 20 15:34:34 UTC 2018 - Arun Persaud <arun@gmx.de>

View File

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