diff --git a/_service b/_service index 2f549a8..7ecb87b 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ https://github.com/HypothesisWorks/hypothesis.git git - hypothesis-python-6.14.1 + hypothesis-python-6.31.4 @PARENT_TAG@ hypothesis-python-(.*) hypothesis-python diff --git a/hypothesis-python-6.14.1.obscpio b/hypothesis-python-6.14.1.obscpio deleted file mode 100644 index 5648071..0000000 --- a/hypothesis-python-6.14.1.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b7f1988f9e17cc670134b3fee7ccb8e22a8f905f9098c89ebcab33b2e3e50fda -size 2744844 diff --git a/hypothesis-python-6.31.4.obscpio b/hypothesis-python-6.31.4.obscpio new file mode 100644 index 0000000..1ee02f4 --- /dev/null +++ b/hypothesis-python-6.31.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75430a5e0c89874c551cd1117df9265b414b32eb6ac4c5526bc0681ac199a32d +size 2925068 diff --git a/hypothesis-python.obsinfo b/hypothesis-python.obsinfo index a0c0d6f..dcdc186 100644 --- a/hypothesis-python.obsinfo +++ b/hypothesis-python.obsinfo @@ -1,5 +1,5 @@ name: hypothesis-python -version: 6.14.1 -mtime: 1625237925 -commit: cc32bd14bec972822d237ff76c91c60a0cb7661d +version: 6.31.4 +mtime: 1639263364 +commit: c630d927ecbed86443827c0978ec3839205abdb5 diff --git a/python-hypothesis.changes b/python-hypothesis.changes index 5ae6fd1..bed0610 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,61 @@ +------------------------------------------------------------------- +Sun Dec 12 11:40:54 UTC 2021 - Ben Greiner + +- 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 + +- fix requires + +------------------------------------------------------------------- +Mon Dec 6 09:35:44 UTC 2021 - Matej Cepl + +- Fix filelist + +------------------------------------------------------------------- +Sun Dec 5 18:29:41 UTC 2021 - Axel Braun + +- version 6.30.1 + some tests skipped for python 3.6 + +------------------------------------------------------------------- +Sat Dec 4 18:31:49 UTC 2021 - Axel Braun + +- 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 + +- update to 6.24.0 + ------------------------------------------------------------------- Mon Jul 5 09:56:29 UTC 2021 - Antonio Larrosa diff --git a/python-hypothesis.spec b/python-hypothesis.spec index bcd2b8b..da61ccb 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -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