forked from pool/python-hypothesis
Accepting request 1056822 from home:bnavigator:branches:devel:languages:python
- 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
This commit is contained in:
parent
f2d24d2d30
commit
d1e7af94d3
2
_service
2
_service
@ -2,7 +2,7 @@
|
|||||||
<service name="tar_scm" mode="disabled">
|
<service name="tar_scm" mode="disabled">
|
||||||
<param name="url">https://github.com/HypothesisWorks/hypothesis.git</param>
|
<param name="url">https://github.com/HypothesisWorks/hypothesis.git</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="revision">hypothesis-python-6.61.0</param>
|
<param name="revision">hypothesis-python-6.61.2</param>
|
||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
<param name="versionrewrite-pattern">hypothesis-python-(.*)</param>
|
<param name="versionrewrite-pattern">hypothesis-python-(.*)</param>
|
||||||
<param name="subdir">hypothesis-python</param>
|
<param name="subdir">hypothesis-python</param>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7ffef1824aeeb2faad3739b78d4079632a1ddd66ece356ee500f5d72474e34a9
|
|
||||||
size 781055
|
|
3
hypothesis-python-6.61.2.tar.gz
Normal file
3
hypothesis-python-6.61.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f0d01e93a1f28ec493fc64c9ba79623ba6a1c1b5c8c8cff6fb1574adcef1265b
|
||||||
|
size 780651
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 7 21:27:40 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- 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 <daniel.garcia@suse.com>
|
Thu Dec 15 06:35:15 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -31,7 +31,7 @@ ExclusiveArch: do_not_build
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
Name: python-hypothesis%{psuffix}
|
Name: python-hypothesis%{psuffix}
|
||||||
Version: 6.61.0
|
Version: 6.61.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A library for property based testing
|
Summary: A library for property based testing
|
||||||
License: MPL-2.0
|
License: MPL-2.0
|
||||||
@ -41,24 +41,26 @@ URL: https://github.com/HypothesisWorks/hypothesis
|
|||||||
# See also https://hypothesis.readthedocs.io/en/latest/packaging.html
|
# See also https://hypothesis.readthedocs.io/en/latest/packaging.html
|
||||||
Source: hypothesis-python-%{version}.tar.gz
|
Source: hypothesis-python-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-attrs >= 19.2.0
|
Requires: python-attrs >= 19.2.0
|
||||||
Requires: python-exceptiongroup >= 1.0.0
|
Requires: (python-exceptiongroup >= 1.0.0 if python-base < 3.11)
|
||||||
Requires: python-sortedcontainers >= 2.1.0
|
Requires: (python-sortedcontainers >= 2.1.0 with python-sortedcontainers < 3.0)
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(preun):update-alternatives
|
Requires(preun):update-alternatives
|
||||||
# SECTION requires_extra
|
# SECTION requires_extra
|
||||||
# consuming packages need to declare these optional dependencies explicitly
|
# 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-black >= 19.10
|
||||||
Recommends: python-click >= 7.0
|
Recommends: python-click >= 7.0
|
||||||
Recommends: python-dpcontracts >= 0.4
|
Recommends: python-dpcontracts >= 0.4
|
||||||
Recommends: python-lark >= 0.10.1
|
Recommends: python-lark >= 0.10.1
|
||||||
Recommends: python-libcst >= 0.3.16
|
Recommends: python-libcst >= 0.3.16
|
||||||
Recommends: python-numpy >= 1.9.0
|
Recommends: python-numpy >= 1.9.0
|
||||||
Recommends: python-pandas >= 0.25
|
Recommends: python-pandas >= 1.0
|
||||||
Recommends: python-pytest >= 4.6
|
Recommends: python-pytest >= 4.6
|
||||||
Recommends: python-python-dateutil >= 1.4
|
Recommends: python-python-dateutil >= 1.4
|
||||||
Recommends: python-pytz >= 2014.1
|
Recommends: python-pytz >= 2014.1
|
||||||
@ -68,16 +70,14 @@ Recommends: (python-importlib_metadata >= 3.6 if python-base < 3.8)
|
|||||||
# /SECTION
|
# /SECTION
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module attrs >= 19.2.0}
|
BuildRequires: %{python_module hypothesis = %{version}}
|
||||||
BuildRequires: %{python_module sortedcontainers >= 2.1.0}
|
|
||||||
# SECTION test requirements
|
# 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 backports.zoneinfo >= 0.2.1 if %python-base < 3.9}
|
||||||
BuildRequires: %{python_module black >= 19.10}
|
BuildRequires: %{python_module black >= 19.10}
|
||||||
BuildRequires: %{python_module dpcontracts >= 0.4}
|
BuildRequires: %{python_module dpcontracts >= 0.4}
|
||||||
BuildRequires: %{python_module fakeredis}
|
BuildRequires: %{python_module fakeredis}
|
||||||
BuildRequires: %{python_module flaky}
|
BuildRequires: %{python_module flaky}
|
||||||
BuildRequires: %{python_module hypothesis = %{version}}
|
|
||||||
BuildRequires: %{python_module lark >= 0.10.1}
|
BuildRequires: %{python_module lark >= 0.10.1}
|
||||||
BuildRequires: %{python_module libcst >= 0.3.16}
|
BuildRequires: %{python_module libcst >= 0.3.16}
|
||||||
BuildRequires: %{python_module numpy >= 1.9.0}
|
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
|
%build
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%python_clone -a %{buildroot}%{_bindir}/hypothesis
|
%python_clone -a %{buildroot}%{_bindir}/hypothesis
|
||||||
@ -170,7 +170,7 @@ filterwarnings =
|
|||||||
%doc README.rst
|
%doc README.rst
|
||||||
%python_alternative %{_bindir}/hypothesis
|
%python_alternative %{_bindir}/hypothesis
|
||||||
%{python_sitelib}/*hypothesis*
|
%{python_sitelib}/*hypothesis*
|
||||||
%{python_sitelib}/hypothesis-%{version}-py*.egg-info
|
%{python_sitelib}/hypothesis-%{version}.dist-info
|
||||||
%pycache_only %{python_sitelib}/__pycache__/*hypothesis*
|
%pycache_only %{python_sitelib}/__pycache__/*hypothesis*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user