From d1e7af94d339ad4fd52826d306349f3acf35b821b38cf4a265ac72e419c6d5ec Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 9 Jan 2023 05:05:53 +0000 Subject: [PATCH] Accepting request 1056822 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.61.2 * This patch improves our pretty-printing of failing examples, including some refactoring to prepare for exciting future features. - Release 6.61.1 * This patch brings our domains() and emails() strategies into compliance with RFC 5890 §2.3.1: we no longer generate parts-of-domains where the third and fourth characters are -- (“R-LDH labels”), though future versions may deliberately generate xn-- punycode labels. Thanks to python-email-validator for the report! - Update dependencies - Move to PEP517 build OBS-URL: https://build.opensuse.org/request/show/1056822 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=160 --- _service | 2 +- hypothesis-python-6.61.0.tar.gz | 3 --- hypothesis-python-6.61.2.tar.gz | 3 +++ python-hypothesis.changes | 17 +++++++++++++++++ python-hypothesis.spec | 26 +++++++++++++------------- 5 files changed, 34 insertions(+), 17 deletions(-) delete mode 100644 hypothesis-python-6.61.0.tar.gz create mode 100644 hypothesis-python-6.61.2.tar.gz diff --git a/_service b/_service index a8d8151..702bb23 100644 --- a/_service +++ b/_service @@ -2,7 +2,7 @@ https://github.com/HypothesisWorks/hypothesis.git git - hypothesis-python-6.61.0 + hypothesis-python-6.61.2 @PARENT_TAG@ hypothesis-python-(.*) hypothesis-python diff --git a/hypothesis-python-6.61.0.tar.gz b/hypothesis-python-6.61.0.tar.gz deleted file mode 100644 index 5983f17..0000000 --- a/hypothesis-python-6.61.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7ffef1824aeeb2faad3739b78d4079632a1ddd66ece356ee500f5d72474e34a9 -size 781055 diff --git a/hypothesis-python-6.61.2.tar.gz b/hypothesis-python-6.61.2.tar.gz new file mode 100644 index 0000000..095f353 --- /dev/null +++ b/hypothesis-python-6.61.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0d01e93a1f28ec493fc64c9ba79623ba6a1c1b5c8c8cff6fb1574adcef1265b +size 780651 diff --git a/python-hypothesis.changes b/python-hypothesis.changes index bf3031c..ba2acdf 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Sat Jan 7 21:27:40 UTC 2023 - Ben Greiner + +- Update to 6.61.2 + * This patch improves our pretty-printing of failing examples, + including some refactoring to prepare for exciting future + features. +- Release 6.61.1 + * This patch brings our domains() and emails() strategies into + compliance with RFC 5890 §2.3.1: we no longer generate + parts-of-domains where the third and fourth characters are -- + (“R-LDH labels”), though future versions may deliberately + generate xn-- punycode labels. Thanks to python-email-validator + for the report! +- Update dependencies +- Move to PEP517 build + ------------------------------------------------------------------- Thu Dec 15 06:35:15 UTC 2022 - Daniel Garcia diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 7370d47..05b9bd5 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,7 +31,7 @@ ExclusiveArch: do_not_build %bcond_with test %endif Name: python-hypothesis%{psuffix} -Version: 6.61.0 +Version: 6.61.2 Release: 0 Summary: A library for property based testing License: MPL-2.0 @@ -41,24 +41,26 @@ URL: https://github.com/HypothesisWorks/hypothesis # See also https://hypothesis.readthedocs.io/en/latest/packaging.html Source: hypothesis-python-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-attrs >= 19.2.0 -Requires: python-exceptiongroup >= 1.0.0 -Requires: python-sortedcontainers >= 2.1.0 +Requires: (python-exceptiongroup >= 1.0.0 if python-base < 3.11) +Requires: (python-sortedcontainers >= 2.1.0 with python-sortedcontainers < 3.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-Django >= 3.2 Recommends: python-black >= 19.10 Recommends: python-click >= 7.0 Recommends: python-dpcontracts >= 0.4 Recommends: python-lark >= 0.10.1 Recommends: python-libcst >= 0.3.16 Recommends: python-numpy >= 1.9.0 -Recommends: python-pandas >= 0.25 +Recommends: python-pandas >= 1.0 Recommends: python-pytest >= 4.6 Recommends: python-python-dateutil >= 1.4 Recommends: python-pytz >= 2014.1 @@ -68,16 +70,14 @@ Recommends: (python-importlib_metadata >= 3.6 if python-base < 3.8) # /SECTION BuildArch: noarch %if %{with test} -BuildRequires: %{python_module attrs >= 19.2.0} -BuildRequires: %{python_module sortedcontainers >= 2.1.0} +BuildRequires: %{python_module hypothesis = %{version}} # SECTION test requirements -BuildRequires: %{python_module Django >= 2.2} +BuildRequires: %{python_module Django >= 3.2} BuildRequires: %{python_module backports.zoneinfo >= 0.2.1 if %python-base < 3.9} BuildRequires: %{python_module black >= 19.10} BuildRequires: %{python_module dpcontracts >= 0.4} BuildRequires: %{python_module fakeredis} BuildRequires: %{python_module flaky} -BuildRequires: %{python_module hypothesis = %{version}} BuildRequires: %{python_module lark >= 0.10.1} BuildRequires: %{python_module libcst >= 0.3.16} BuildRequires: %{python_module numpy >= 1.9.0} @@ -113,12 +113,12 @@ sed -i 's/assert (arr == 0.0)/assert np.asarray(arr == 0.0)/' tests/numpy/test_g %build %if !%{with test} -%python_build +%pyproject_wheel %endif %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/hypothesis @@ -170,7 +170,7 @@ filterwarnings = %doc README.rst %python_alternative %{_bindir}/hypothesis %{python_sitelib}/*hypothesis* -%{python_sitelib}/hypothesis-%{version}-py*.egg-info +%{python_sitelib}/hypothesis-%{version}.dist-info %pycache_only %{python_sitelib}/__pycache__/*hypothesis* %endif