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
This commit is contained in:
Tomáš Chvátal 2018-06-25 11:02:02 +00:00 committed by Git OBS Bridge
parent 815e3e08ce
commit 65044c82ac
4 changed files with 58 additions and 10 deletions

View File

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

View File

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

View File

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

View File

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