forked from pool/python-hypothesis
Accepting request 940071 from home:bnavigator:branches:devel:languages:python
- Update to 6.31.4
* This patch makes the .example() method more representative of
test-time data generation, albeit often at a substantial cost
to readability (issue #3182).
- Release 6.31.3
* This patch improves annotations on some of Hypothesis’ internal
functions, in order to deobfuscate the signatures of some
strategies. In particular, strategies shared between
hypothesis.extra.numpy and the hypothesis.extra.array_api extra
will benefit from this patch.
- Release 6.31.2
* This patch fix invariants display in stateful falsifying
examples (issue #3185).
- Release 6.31.1
* This patch updates xps.indices() so no flat indices are
generated, i.e. generated indices will now always explicitly
cover each axes of an array if no ellipsis is present. This is
to be consistent with a specification change that dropped
support for flat indexing (#272).
- Release 6.31.0
* This release makes us compatible with Django 4.0, in particular
by adding support for use of zoneinfo timezones (though we
respect the new USE_DEPRECATED_PYTZ setting if you need it).
- Revert last mandatory requires update. Optional dependencies need
to be declared by consuming packages (see hypothesis packaging
doc)
OBS-URL: https://build.opensuse.org/request/show/940071
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=146
This commit is contained in:
@@ -33,7 +33,7 @@ ExclusiveArch: do_not_build
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-hypothesis%{psuffix}
|
||||
Version: 6.30.1
|
||||
Version: 6.31.4
|
||||
Release: 0
|
||||
Summary: A library for property based testing
|
||||
License: MPL-2.0
|
||||
@@ -53,25 +53,32 @@ BuildRequires: %{python_module setuptools >= 36.2}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-attrs >= 19.2.0
|
||||
Requires: python-pytz >= 2014.1
|
||||
Requires: python-sortedcontainers >= 2.1.0
|
||||
Requires(post): update-alternatives
|
||||
Requires(preun):update-alternatives
|
||||
# SECTION requires_extra
|
||||
# consuming packages need to declare these optional dependencies explicitly
|
||||
Recommends: python-Django >= 2.2
|
||||
Recommends: python-black >= 19.10
|
||||
Recommends: python-click >= 7.0
|
||||
Recommends: python-dpcontracts >= 0.4
|
||||
Recommends: python-lark-parser >= 0.6.5
|
||||
Recommends: python-libcst >= 0.3.16
|
||||
Recommends: python-numpy >= 1.9.0
|
||||
Recommends: python-pandas >= 0.25
|
||||
Recommends: python-pytest >= 4.3
|
||||
Recommends: python-pytest >= 4.6
|
||||
Recommends: python-python-dateutil >= 1.4
|
||||
Recommends: python-pytz >= 2014.1
|
||||
Recommends: python-redis >= 3.0.0
|
||||
Recommends: python-rich >= 9.0
|
||||
Recommends: (python-importlib_metadata >= 3.6 if python-base < 3.8)
|
||||
# /SECTION
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Django >= 2.2}
|
||||
BuildRequires: %{python_module attrs >= 19.2.0}
|
||||
BuildRequires: %{python_module black}
|
||||
BuildRequires: %{python_module black >= 19.10}
|
||||
BuildRequires: %{python_module dpcontracts >= 0.4}
|
||||
BuildRequires: %{python_module fakeredis}
|
||||
BuildRequires: %{python_module flaky}
|
||||
@@ -87,8 +94,8 @@ BuildRequires: %{python_module sortedcontainers >= 2.1.0}
|
||||
BuildRequires: %{python_module typing_extensions}
|
||||
BuildRequires: %{python_module numpy >= 1.9.0 if (%python-base without python36-base)}
|
||||
BuildRequires: %{python_module pandas >= 0.25 if (%python-base without python36-base)}
|
||||
%endif
|
||||
# /SECTION
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
||||
Reference in New Issue
Block a user