forked from pool/python-hypothesis
Accepting request 1248637 from home:dgarcia:branches:devel:languages:python
- Update to 6.172.2: - Adjust type hints for the pub-sub database implementation in version 6.126.0, and remove a remnant debug print in its implementation. - 6.127.1: - Improve the clarity of printing counterexamples in stateful testing, by avoiding confusing Bundle references with equivalent values drawn from a regular strategy. - 6.127.0: - This releases adds support for type aliases created with the type statement (new in python 3.12) to from_type() and register_type_strategy(). - 6.126.0: - The Hypothesis database now supports a pub-sub interface to efficiently listen for changes in the database, via .add_listener and .remove_listener. While all databases that ship with Hypothesis support this interface, implementing it is not required for custom database subclasses. Hypothesis will warn when trying to listen on a database without support. - This feature is currently only used downstream in hypofuzz. - 6.125.3: - Improves sharing of some internal cache behavior. - 6.125.2: - Optimize performance (improves speed by ~5%) and clarify the wording in an error message. - 6.125.1: - Fixes a bug since around version 6.124.4 where we might have generated -0.0 for st.floats(min_value=0.0), which is unsound. - 6.125.0: - Add 2024.12 to the list of recognized Array API versions in OBS-URL: https://build.opensuse.org/request/show/1248637 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=204
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-hypothesis
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -38,7 +38,7 @@ ExclusiveArch: do_not_build
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-hypothesis%{psuffix}
|
||||
Version: 6.119.1
|
||||
Version: 6.127.2
|
||||
Release: 0
|
||||
Summary: A library for property based testing
|
||||
License: MPL-2.0
|
||||
@@ -94,6 +94,7 @@ BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module python-dateutil >= 1.4}
|
||||
BuildRequires: %{python_module rich >= 9.0.0}
|
||||
BuildRequires: %{python_module typing_extensions}
|
||||
BuildRequires: %{python_module watchdog}
|
||||
%if %{with complete_tests}
|
||||
BuildRequires: %{python_module Django >= 3.2}
|
||||
BuildRequires: %{python_module fakeredis}
|
||||
@@ -167,6 +168,12 @@ donttest+=" or test_statistics_with_events_and_target"
|
||||
donttest+=" or test_self_ref_regression"
|
||||
# flaky test
|
||||
donttest+=" or test_has_string_of_max_length"
|
||||
# Test not working with 3.13.2
|
||||
# gh#HypothesisWorks/hypothesis#4276
|
||||
# https://github.com/python/cpython/issues/125553
|
||||
donttest+=" or test_clean_source[case-5]"
|
||||
# Requires latest black
|
||||
donttest+=" or test_ghostwriter_example_outputs[union_sequence_parameter]"
|
||||
# adapted from pytest.ini in github repo toplevel dir (above hypothesis-python)
|
||||
echo '[pytest]
|
||||
addopts=
|
||||
|
Reference in New Issue
Block a user