Accepting request 940474 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/940474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=54
This commit is contained in:
Dominique Leuenberger 2021-12-16 20:19:32 +00:00 committed by Git OBS Bridge
commit 1187142ce4
6 changed files with 89 additions and 13 deletions

View File

@ -3,7 +3,7 @@
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/HypothesisWorks/hypothesis.git</param>
<param name="scm">git</param>
<param name="revision">hypothesis-python-6.14.1</param>
<param name="revision">hypothesis-python-6.31.4</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">hypothesis-python-(.*)</param>
<param name="subdir">hypothesis-python</param>

View File

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

View File

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

View File

@ -1,5 +1,5 @@
name: hypothesis-python
version: 6.14.1
mtime: 1625237925
commit: cc32bd14bec972822d237ff76c91c60a0cb7661d
version: 6.31.4
mtime: 1639263364
commit: c630d927ecbed86443827c0978ec3839205abdb5

View File

@ -1,3 +1,61 @@
-------------------------------------------------------------------
Sun Dec 12 11:40:54 UTC 2021 - Ben Greiner <code@bnavigator.de>
- 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)
-------------------------------------------------------------------
Mon Dec 6 18:10:30 UTC 2021 - Dirk Müller <dmueller@suse.com>
- fix requires
-------------------------------------------------------------------
Mon Dec 6 09:35:44 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Fix filelist
-------------------------------------------------------------------
Sun Dec 5 18:29:41 UTC 2021 - Axel Braun <axel.braun@gmx.de>
- version 6.30.1
some tests skipped for python 3.6
-------------------------------------------------------------------
Sat Dec 4 18:31:49 UTC 2021 - Axel Braun <axel.braun@gmx.de>
- update 6.30.0
tests/test_api disabled as recommended
https://github.com/HypothesisWorks/hypothesis/issues/3178
-------------------------------------------------------------------
Sat Oct 23 15:32:25 UTC 2021 - Axel Braun <axel.braun@gmx.de>
- update to 6.24.0
-------------------------------------------------------------------
Mon Jul 5 09:56:29 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -1,5 +1,5 @@
#
# spec file for package python-hypothesis
# spec file
#
# Copyright (c) 2021 SUSE LLC
#
@ -33,7 +33,7 @@ ExclusiveArch: do_not_build
%bcond_with test
%endif
Name: python-hypothesis%{psuffix}
Version: 6.14.1
Version: 6.31.4
Release: 0
Summary: A library for property based testing
License: MPL-2.0
@ -56,22 +56,29 @@ Requires: python-attrs >= 19.2.0
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
@ -142,6 +149,16 @@ python3_donttest+=" or test_mutually_recursive_types_with_typevar"
python36_ignoretests=" --ignore tests/datetime/test_zoneinfo_timezones.py"
python38_ignoretests=" --ignore tests/datetime/test_zoneinfo_timezones.py"
python3_ignoretests=" --ignore tests/datetime/test_zoneinfo_timezones.py"
# added for 6.24.x
# generic exclusion of array_api* in not possible :-(
# python3_ignoretests+=" --ignore tests/array_api/test_partial_adoptors.py"
# python3_ignoretests+=" --ignore tests/array_api/test_pretty.py"
# python3_ignoretests+=" --ignore tests/array_api/test_scalar_dtypes.py"
# python3_ignoretests+=" --ignore tests/array_api/test_arrays.py"
# python3_ignoretests+=" --tests/array_api/test_from_dtype.py"
# python3_ignoretests+=" --tests/array_api/test_argument_validation.py"
# python3_ignoretests+=" --tests/array_api/test_indices.py"
python3_ignoretests+=" --ignore tests/array_api*"
# not available for python36
python36_ignoretests+=" --ignore tests/numpy --ignore tests/pandas"
# adapted from pytest.ini in github repo toplevel dir (above hypothesis-python)
@ -164,8 +181,9 @@ filterwarnings =
%license LICENSE.txt
%doc README.rst
%python_alternative %{_bindir}/hypothesis
%{python_sitelib}/hypothesis
%{python_sitelib}/*hypothesis*
%{python_sitelib}/hypothesis-%{version}-py*.egg-info
%pycache_only %{python_sitelib}/__pycache__/*hypothesis*
%endif
%changelog