------------------------------------------------------------------

- update to 6.82.4:
  * This patch ensures that we always close the download
    connection in :class:`~hypothesis.database.GitHubArtifactDatabase`.
  * We can now pretty-print combinations of *zero*
    :class:`enum.Flag` values, like ``SomeFlag(0)``,
    which has never worked before.
  * This patch fixes pretty-printing of combinations of
    :class:`enum.Flag` values, which was previously an error
    (:issue:`3709`).
  * Improve shrinking of floats in narrow regions that don't
    cross an integer boundary. Closes :issue:`3357`.
  * :func:`~hypothesis.strategies.from_regex` now supports the
    atomic grouping (``(?>...)``) and possessive quantifier
    (``*+``, ``++``, ``?+``, ``{m,n}+``) syntax `added in Python 3.11
  * If the :envvar:`HYPOTHESIS_NO_PLUGINS` environment variable
    is set, we'll avoid :ref:`loading plugins <entry-points>`
    such as `the old Pydantic integration
  * Fixes some lingering issues with inference of recursive types
  * in `~hypothesis.strategies.from_type`. Closes :issue:`3525`.
  * This release drops support for Python 3.7, `which reached end
    of life on 2023-06-27
  * Fixes occasional recursion-limit-exceeded errors when
    validating deeply nested strategies. Closes: :issue:`3671`
  * Improve the type rendered in
    :func:`~hypothesis.strategies.from_type`, which improves the
    coverage of Ghostwriter.
  * This patch improves Ghostwriter's use of qualified names for
    re-exported functions and classes, and avoids importing useless
    :obj:`~typing.TypeVar`\ s.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=170
This commit is contained in:
Dirk Mueller 2023-08-14 07:08:47 +00:00 committed by Git OBS Bridge
parent 3be375c5b1
commit d2464b3130
5 changed files with 65 additions and 5 deletions

View File

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

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

Binary file not shown.

View File

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

View File

@ -1,3 +1,63 @@
------------------------------------------------------------------
Mon Aug 14 07:03:21 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 6.82.4:
* This patch ensures that we always close the download
connection in :class:`~hypothesis.database.GitHubArtifactDatabase`.
* We can now pretty-print combinations of *zero*
:class:`enum.Flag` values, like ``SomeFlag(0)``,
which has never worked before.
* This patch fixes pretty-printing of combinations of
:class:`enum.Flag` values, which was previously an error
(:issue:`3709`).
* Improve shrinking of floats in narrow regions that don't
cross an integer boundary. Closes :issue:`3357`.
* :func:`~hypothesis.strategies.from_regex` now supports the
atomic grouping (``(?>...)``) and possessive quantifier
(``*+``, ``++``, ``?+``, ``{m,n}+``) syntax `added in Python 3.11
* If the :envvar:`HYPOTHESIS_NO_PLUGINS` environment variable
is set, we'll avoid :ref:`loading plugins <entry-points>`
such as `the old Pydantic integration
* Fixes some lingering issues with inference of recursive types
* in `~hypothesis.strategies.from_type`. Closes :issue:`3525`.
* This release drops support for Python 3.7, `which reached end
of life on 2023-06-27
* Fixes occasional recursion-limit-exceeded errors when
validating deeply nested strategies. Closes: :issue:`3671`
* Improve the type rendered in
:func:`~hypothesis.strategies.from_type`, which improves the
coverage of Ghostwriter.
* This patch improves Ghostwriter's use of qualified names for
re-exported functions and classes, and avoids importing useless
:obj:`~typing.TypeVar`\ s.
* This patch updates our vendored `list of top-level domains
will raise an error rather than hanging indefinitely if
passed invalid ``max_leaves=`` arguments.
* Warn in :func:`~hypothesis.strategies.from_type` if the
inferred strategy has no variation (always returning default
instances). Also handles numpy data types by calling
:func:`~hypothesis.extra.numpy.from_dtype` on the
corresponding dtype, thus ensuring proper variation for these
types.
* :func:`~hypothesis.strategies.from_type` now works in cases
where we use :func:`~hypothesis.strategies.builds` to create
an instance and the constructor has an argument which would lead
to recursion. Previously, this would raise an error if the
argument had a default value.
* In preparation for supporting JAX in
:ref:`hypothesis.extra.array_api <array-api>`,
this release supports immutable arrays being generated via
:func:`xps.arrays`.
* and adds automatic support for writing
``@hypothesis.example()`` or ``@example()``
depending on the current style in your test file - defaulting
to the latter.
* This patch updates our linter stack to use :pypi:`ruff`, and
fixes some previously-ignored lints.
* Hypothesis will now record an event for more cases where data
is marked invalid, including for exceeding the internal depth
limit.
-------------------------------------------------------------------
Sun May 14 15:30:18 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -37,7 +37,7 @@ ExclusiveArch: do_not_build
%endif
%{?sle15_python_module_pythons}
Name: python-hypothesis%{psuffix}
Version: 6.75.3
Version: 6.82.4
Release: 0
Summary: A library for property based testing
License: MPL-2.0