From 1623c6095a37a92ffe8931ca14fce633153f09361dc65287baff49c3956b48de Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 6 Dec 2021 09:30:18 +0000 Subject: [PATCH 1/4] Accepting request 935844 from home:DocB:branches:devel:languages:python build issues for test fixed now OBS-URL: https://build.opensuse.org/request/show/935844 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=143 --- _service | 2 +- hypothesis-python-6.14.1.obscpio | 3 --- hypothesis-python-6.30.1.obscpio | 3 +++ hypothesis-python.obsinfo | 6 +++--- python-hypothesis.changes | 18 ++++++++++++++++++ python-hypothesis.spec | 15 +++++++++++++-- 6 files changed, 38 insertions(+), 9 deletions(-) delete mode 100644 hypothesis-python-6.14.1.obscpio create mode 100644 hypothesis-python-6.30.1.obscpio diff --git a/_service b/_service index 2f549a8..b3b024b 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ https://github.com/HypothesisWorks/hypothesis.git git - hypothesis-python-6.14.1 + hypothesis-python-6.30.1 @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.30.1.obscpio b/hypothesis-python-6.30.1.obscpio new file mode 100644 index 0000000..37d15e8 --- /dev/null +++ b/hypothesis-python-6.30.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57a6f8a46f5820628df97e0c8286367ed6815a0e0a154c8f6635c39b704ea8a6 +size 2917900 diff --git a/hypothesis-python.obsinfo b/hypothesis-python.obsinfo index a0c0d6f..29c09ce 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.30.1 +mtime: 1638711408 +commit: 09fc14039576fa2891b565bc1c4aff3d361d3489 diff --git a/python-hypothesis.changes b/python-hypothesis.changes index 5ae6fd1..d357765 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +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..115f167 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.30.1 Release: 0 Summary: A library for property based testing License: MPL-2.0 @@ -142,6 +142,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) @@ -166,6 +176,7 @@ filterwarnings = %python_alternative %{_bindir}/hypothesis %{python_sitelib}/hypothesis %{python_sitelib}/hypothesis-%{version}-py*.egg-info +%{python_sitelib}/* %endif %changelog From b9e49095d513d7dba32f515be9edefb569fb1e01858591a3c1a7c176c6885004 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 6 Dec 2021 09:35:57 +0000 Subject: [PATCH 2/4] - Fix filelist OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=144 --- python-hypothesis.changes | 5 +++++ python-hypothesis.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-hypothesis.changes b/python-hypothesis.changes index d357765..4548f72 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 6 09:35:44 UTC 2021 - Matej Cepl + +- Fix filelist + ------------------------------------------------------------------- Sun Dec 5 18:29:41 UTC 2021 - Axel Braun diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 115f167..dbf84e3 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -174,9 +174,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 -%{python_sitelib}/* +%pycache_only %{python_sitelib}/__pycache__/*hypothesis* %endif %changelog From 32f4615057ef6d951eb2a9585cb7d7316210d8d78041a809d70185d1dce131ff Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 6 Dec 2021 18:10:44 +0000 Subject: [PATCH 3/4] - fix requires OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=145 --- python-hypothesis.changes | 5 +++++ python-hypothesis.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-hypothesis.changes b/python-hypothesis.changes index 4548f72..f7dd8bb 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 6 18:10:30 UTC 2021 - Dirk Müller + +- fix requires + ------------------------------------------------------------------- Mon Dec 6 09:35:44 UTC 2021 - Matej Cepl diff --git a/python-hypothesis.spec b/python-hypothesis.spec index dbf84e3..63dfb9f 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -53,6 +53,7 @@ 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 @@ -64,7 +65,6 @@ Recommends: python-numpy >= 1.9.0 Recommends: python-pandas >= 0.25 Recommends: python-pytest >= 4.3 Recommends: python-python-dateutil >= 1.4 -Recommends: python-pytz >= 2014.1 Recommends: python-redis >= 3.0.0 BuildArch: noarch %if %{with test} From 568edb6fe5604ac55dafa52be8b285c306fca8f34350afaec09e6d8723d9e7e0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 14 Dec 2021 13:03:46 +0000 Subject: [PATCH 4/4] Accepting request 940071 from home:bnavigator:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- _service | 2 +- hypothesis-python-6.30.1.obscpio | 3 --- hypothesis-python-6.31.4.obscpio | 3 +++ hypothesis-python.obsinfo | 6 +++--- python-hypothesis.changes | 30 ++++++++++++++++++++++++++++++ python-hypothesis.spec | 17 ++++++++++++----- 6 files changed, 49 insertions(+), 12 deletions(-) delete mode 100644 hypothesis-python-6.30.1.obscpio create mode 100644 hypothesis-python-6.31.4.obscpio diff --git a/_service b/_service index b3b024b..7ecb87b 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ https://github.com/HypothesisWorks/hypothesis.git git - hypothesis-python-6.30.1 + hypothesis-python-6.31.4 @PARENT_TAG@ hypothesis-python-(.*) hypothesis-python diff --git a/hypothesis-python-6.30.1.obscpio b/hypothesis-python-6.30.1.obscpio deleted file mode 100644 index 37d15e8..0000000 --- a/hypothesis-python-6.30.1.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:57a6f8a46f5820628df97e0c8286367ed6815a0e0a154c8f6635c39b704ea8a6 -size 2917900 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 29c09ce..dcdc186 100644 --- a/hypothesis-python.obsinfo +++ b/hypothesis-python.obsinfo @@ -1,5 +1,5 @@ name: hypothesis-python -version: 6.30.1 -mtime: 1638711408 -commit: 09fc14039576fa2891b565bc1c4aff3d361d3489 +version: 6.31.4 +mtime: 1639263364 +commit: c630d927ecbed86443827c0978ec3839205abdb5 diff --git a/python-hypothesis.changes b/python-hypothesis.changes index f7dd8bb..bed0610 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +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 diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 63dfb9f..da61ccb 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -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