forked from pool/python-hypothesis
Accepting request 982468 from home:bnavigator:branches:devel:languages:python
- Update to 6.47.1 * Our pretty-printer no longer sorts dictionary keys, since iteration order is stable in Python 3.7+ and this can affect reproducing examples (issue #3370). This PR was kindly supported by Ordina Pythoneers. - Release 6.47.0 * The Ghostwritter can now write tests for @classmethod or @staticmethod methods, in addition to the existing support for functions and other callables (issue #3318). Thanks to Cheuk Ting Ho for the patch. - Release 6.46.11 * Mention hypothesis.strategies.timezones() in the documentation of hypothesis.strategies.datetimes() for completeness. * Thanks to George Macon for this addition. - Release 6.46.10 * This release contains some small improvements to our documentation. Thanks to Felix Divo for his contribution! - Release 6.46.9 * This patch by Adrian Garcia Badaracco adds type annotations to some private internals (issue #3074). - Release 6.46.8 * This patch by Phillip Schanely makes changes to the floats() strategy when min_value or max_value is present. Hypothesis will now be capable of generating every representable value in the bounds. You may notice that hypothesis is more likely to test values near boundaries, and values that are very close to zero. * These changes also support future integrations with symbolic execution tools and fuzzers (issue #3086). - Release 6.46.7 OBS-URL: https://build.opensuse.org/request/show/982468 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=152
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%bcond_with ringdisabled
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
@@ -33,7 +31,7 @@ ExclusiveArch: do_not_build
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-hypothesis%{psuffix}
|
||||
Version: 6.39.4
|
||||
Version: 6.47.1
|
||||
Release: 0
|
||||
Summary: A library for property based testing
|
||||
License: MPL-2.0
|
||||
@@ -73,13 +71,12 @@ BuildRequires: %{python_module attrs >= 19.2.0}
|
||||
BuildRequires: %{python_module sortedcontainers >= 2.1.0}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Django >= 2.2}
|
||||
BuildRequires: %{python_module backports.zoneinfo 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 dpcontracts >= 0.4}
|
||||
BuildRequires: %{python_module fakeredis}
|
||||
BuildRequires: %{python_module flaky}
|
||||
BuildRequires: %{python_module hypothesis = %{version}}
|
||||
BuildRequires: %{python_module importlib_resources >= 3.3.0 if %python-base < 3.7}
|
||||
BuildRequires: %{python_module lark-parser >= 0.6.5}
|
||||
BuildRequires: %{python_module libcst >= 0.3.16}
|
||||
BuildRequires: %{python_module numpy >= 1.9.0}
|
||||
@@ -148,7 +145,20 @@ addopts=
|
||||
-n auto
|
||||
-ra
|
||||
filterwarnings =
|
||||
error
|
||||
ignore::hypothesis.errors.NonInteractiveExampleWarning
|
||||
# https://github.com/pandas-dev/pandas/issues/41199
|
||||
default:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning
|
||||
default:distutils Version classes are deprecated\. Use packaging\.version instead:DeprecationWarning
|
||||
# https://github.com/pandas-dev/pandas/issues/32056 (?)
|
||||
default:numpy\.ufunc size changed, may indicate binary incompatibility\. Expected 216 from C header, got 232 from PyObject:RuntimeWarning
|
||||
# https://github.com/lark-parser/lark/pull/1140
|
||||
default:module 'sre_constants' is deprecated:DeprecationWarning
|
||||
default:module 'sre_parse' is deprecated:DeprecationWarning
|
||||
# https://github.com/pandas-dev/pandas/issues/34848
|
||||
default:`np\.bool` is a deprecated alias for the builtin `bool`:DeprecationWarning
|
||||
default:`np\.complex` is a deprecated alias for the builtin `complex`:DeprecationWarning
|
||||
default:`np\.object` is a deprecated alias for the builtin `object`:DeprecationWarning
|
||||
' > pytest.ini
|
||||
%pytest -c pytest.ini -k "not ($donttest)" tests
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user