1
0

Accepting request 1199124 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1199124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=76
This commit is contained in:
Ana Guerrero 2024-09-09 12:43:21 +00:00 committed by Git OBS Bridge
commit 36a1254cc4
5 changed files with 50 additions and 5 deletions

View File

@ -2,7 +2,7 @@
<service name="tar_scm" mode="manual">
<param name="url">https://github.com/HypothesisWorks/hypothesis.git</param>
<param name="scm">git</param>
<param name="revision">hypothesis-python-6.98.9</param>
<param name="revision">hypothesis-python-6.112.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">hypothesis-python-(.*)</param>
<param name="subdir">hypothesis-python</param>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a5cb533357dd4d9e0f16071f5b8fca2f9a6966872cc9ca0e1377f071b08da7b2
size 933779

BIN
hypothesis-python-6.98.9.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
Fri Sep 6 05:56:55 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 6.112.0
* This release adds support for variable-width bytes in our IR
layer (issue #3921), which should mean improved performance
anywhere you use binary(). If you maintain an alternative
backend as part of our (for now explicitly unstable)
Alternative backends for Hypothesis, this release changes the
draw_* interface and may be a breaking change for you.
-------------------------------------------------------------------
Wed Aug 21 14:23:01 UTC 2024 - Nico Krapp <nico.krapp@suse.com>
- Update to 6.111.1
* This patch improves shrinking in cases involving 'slips' from one
strategy to another. Highly composite strategies are the most likely
to benefit from this change.
* This patch also reduces the range of :class:`python:datetime.datetime`
generated by :func:`~hypothesis.extra.django.from_model` in order to
avoid https://code.djangoproject.com/ticket/35683.
- Drop 0001-Revert-Use-tmp_path-in-ghostwriter-test.patch
* included upstream
-------------------------------------------------------------------
Wed Jul 31 13:22:46 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Update to 6.108.5
* The alphabet= argument to from_regex() now accepts unions of characters()
and sampled_from() strategies, in addition to accepting each individually.
* Improves support for unions of numpy dtypes such as np.float64 | np.complex128
in from_type() and arrays()
* Support for Django 5.0, drop support for end-of-life Django versions (< 4.2).
* Migrate the shrinker to our new internal representation, called the IR layer.
This improves the shrinkers performance in the majority of cases. For example,
on the Hypothesis test suite, shrinking is a median of 1.38x faster.
* The from_dtype() function no longer generates NaT (“not-a-time”) values for the
datetime64 or timedelta64 dtypes if passed allow_nan=False
* Add the experimental and unstable backend setting. See documentation for details.
* Many more minor changes, see the upstream changelog.
- Add 0001-Revert-Use-tmp_path-in-ghostwriter-tests.patch to fix tests
* https://github.com/HypothesisWorks/hypothesis/issues/4062
-------------------------------------------------------------------
Mon Jul 29 11:16:28 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -38,7 +38,7 @@ ExclusiveArch: do_not_build
%endif
%{?sle15_python_module_pythons}
Name: python-hypothesis%{psuffix}
Version: 6.98.9
Version: 6.112.0
Release: 0
Summary: A library for property based testing
License: MPL-2.0
@ -158,6 +158,8 @@ fi
# https://github.com/HypothesisWorks/hypothesis/issues/3704
donttest+=" or (test_make_full_patch and covering)"
donttest+=" or test_overflowing_integers_are_deprecated"
# suddenly does not raise InvalidArgument with Numpy 2
donttest+=" or test_unrepresentable_elements_are_deprecated"
# we're disabling the healthcheck below, obs is too flaky with it
donttest+=" or fails_health_check or slow_tests or on_healthcheck or a_health_check"
donttest+=" or test_statistics_with_events_and_target"