forked from pool/python-hypothesis
Accepting request 1118040 from home:mimi_vx:branches:devel:languages:python
- Update to 6.88.0 - disable flaky test * This release allows strategy-generating functions registered with register_type_strategy() to conditionally not return a strategy, by returning NotImplemented * When randoms( was called with use_true_randoms=False, calling sample on it with an empty sequence and 0 elements would result in an error, when it should have returned an empty sequence to agree with the normal behaviour of random.Random. This fixes that discrepancy.) OBS-URL: https://build.opensuse.org/request/show/1118040 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=175
This commit is contained in:
parent
6c15f432a1
commit
4b04aefafb
2
_service
2
_service
@ -2,7 +2,7 @@
|
|||||||
<service name="tar_scm" mode="manual">
|
<service name="tar_scm" mode="manual">
|
||||||
<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.87.3</param>
|
<param name="revision">hypothesis-python-6.88.0</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:fcfee0b6ad01a60b37fbe623eb9962a27ba9414452367d7038f56773ed999c32
|
|
||||||
size 828672
|
|
3
hypothesis-python-6.88.0.tar.gz
Normal file
3
hypothesis-python-6.88.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0191dae625a4958deba1bf321c820b8d00683ce72a7d19e2f2629ed7c1bf5a01
|
||||||
|
size 830127
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 16 14:10:17 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- Update to 6.88.0
|
||||||
|
- disable flaky test
|
||||||
|
* This release allows strategy-generating functions registered
|
||||||
|
with register_type_strategy() to conditionally not return
|
||||||
|
a strategy, by returning NotImplemented
|
||||||
|
* When randoms( was called with use_true_randoms=False,
|
||||||
|
calling sample on it with an empty sequence and 0 elements
|
||||||
|
would result in an error, when it should have returned
|
||||||
|
an empty sequence to agree with the normal behaviour of
|
||||||
|
random.Random. This fixes that discrepancy.)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 11 09:18:10 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
Wed Oct 11 09:18:10 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ ExclusiveArch: do_not_build
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-hypothesis%{psuffix}
|
Name: python-hypothesis%{psuffix}
|
||||||
Version: 6.87.3
|
Version: 6.88.0
|
||||||
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
|
||||||
@ -151,7 +151,6 @@ donttest+=" or test_can_learn_to_normalize_the_unnormalized"
|
|||||||
donttest+=" or test_ghostwriter_on_hypothesis"
|
donttest+=" or test_ghostwriter_on_hypothesis"
|
||||||
if [ $(getconf LONG_BIT) -eq 32 ]; then
|
if [ $(getconf LONG_BIT) -eq 32 ]; then
|
||||||
donttest+=" or test_gets_right_dtype_for_empty_indices"
|
donttest+=" or test_gets_right_dtype_for_empty_indices"
|
||||||
donttest+=" or test_has_string_of_max_length"
|
|
||||||
fi
|
fi
|
||||||
# https://github.com/HypothesisWorks/hypothesis/issues/3704
|
# https://github.com/HypothesisWorks/hypothesis/issues/3704
|
||||||
donttest+=" or (test_make_full_patch and covering)"
|
donttest+=" or (test_make_full_patch and covering)"
|
||||||
@ -160,6 +159,8 @@ donttest+=" or test_overflowing_integers_are_deprecated"
|
|||||||
donttest+=" or fails_health_check or slow_tests or on_healthcheck or a_health_check"
|
donttest+=" or fails_health_check or slow_tests or on_healthcheck or a_health_check"
|
||||||
donttest+=" or test_statistics_with_events_and_target"
|
donttest+=" or test_statistics_with_events_and_target"
|
||||||
donttest+=" or test_self_ref_regression"
|
donttest+=" or test_self_ref_regression"
|
||||||
|
# flaky test
|
||||||
|
donttest+=" or test_has_string_of_max_length"
|
||||||
# adapted from pytest.ini in github repo toplevel dir (above hypothesis-python)
|
# adapted from pytest.ini in github repo toplevel dir (above hypothesis-python)
|
||||||
echo '[pytest]
|
echo '[pytest]
|
||||||
addopts=
|
addopts=
|
||||||
|
Loading…
Reference in New Issue
Block a user