diff --git a/_service b/_service index 72ae77e..92f2631 100644 --- a/_service +++ b/_service @@ -2,7 +2,7 @@ https://github.com/HypothesisWorks/hypothesis.git git - hypothesis-python-6.47.1 + hypothesis-python-6.56.1 @PARENT_TAG@ hypothesis-python-(.*) hypothesis-python diff --git a/hypothesis-python-6.47.1.tar.gz b/hypothesis-python-6.47.1.tar.gz deleted file mode 100644 index 2aa66e4..0000000 --- a/hypothesis-python-6.47.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4be0556c7335c75e55c6df78b854c730c47fb12c4e7fbbddb1fff83000103540 -size 758397 diff --git a/hypothesis-python-6.56.1.tar.gz b/hypothesis-python-6.56.1.tar.gz new file mode 100644 index 0000000..b4b76e2 --- /dev/null +++ b/hypothesis-python-6.56.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a29c3fc0569c7d09f9f3f3d7649eef2b22112efff794053f9dbfe6c6bfdf346d +size 774929 diff --git a/python-hypothesis.changes b/python-hypothesis.changes index 0cbbf21..07587ec 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,152 @@ +------------------------------------------------------------------- +Sun Oct 9 21:39:51 UTC 2022 - Ben Greiner + +- Update to 6.56.1 + * This patch improves the error message when Hypothesis detects + “flush to zero” mode for floating-point: we now report which + package(s) enabled this, which can make debugging much easier. + See issue #3458 for details. +- Release 6.56.0 + * This release defines __bool__() on SearchStrategy. It always + returns True, like before, but also emits a warning to help + with cases where you intended to draw a value (issue #3463). +- Release 6.55.0 + * In preparation for future versions of the Array API standard, + make_strategies_namespace() now accepts an optional api_version + argument, which determines the version conformed to by the + returned strategies namespace. If None, the version of the + passed array module xp is inferred. + * This release also introduces xps.real_dtypes(). This is + currently equivalent to the existing xps.numeric_dtypes() + strategy, but exists because the latter is expected to include + complex numbers in the next version of the standard. +- Release 6.54.6 + * If multiple explicit examples (from @example()) raise a Skip + exception, for consistency with generated examples we now + re-raise the first instead of collecting them into an + ExceptionGroup (issue #3453). +- Release 6.54.5 + * This patch updates our autoformatting tools, improving our code + style without any API changes. +- Release 6.54.4 + * This patch fixes some type annotations for Python 3.9 and + earlier (issue #3397), and teaches explain mode about certain + locations it should not bother reporting (issue #3439). +- Release 6.54.3 + * This patch teaches the Ghostwriter an additional check for + function and class locations that should make it use public + APIs more often. +- Release 6.54.2 + * This patch fixes our workaround for a pytest bug where the + inner exceptions in an ExceptionGroup are not displayed (issue + #3430). +- Release 6.54.1 + * This patch makes FailedHealthCheck and DeadlineExceeded + exceptions picklable, for compatibility with Django’s parallel + test runner (issue #3426). +- Release 6.54.0 + * Reporting of multiple failing examples now uses the PEP 654 + ExceptionGroup type, which is provided by the exceptiongroup + backport on Python 3.10 and earlier (issue #3175). + hypothesis.errors.MultipleFailures is therefore deprecated. + * Failing examples and other reports are now stored as PEP 678 + exception notes, which ensures that they will always appear + together with the traceback and other information about their + respective error. +- Release 6.53.0 + * from_field() now supports UsernameField from + django.contrib.auth.forms. + * Thanks to Afonso Silva for reporting and working on issue + #3417. +- Release 6.52.4 + * This patch improves the error message when you pass filenames + to the hypothesis write CLI, which takes the name of a module + or function (e.g. hypothesis write gzip or hypothesis write + package.some_function rather than hypothesis write script.py). + * Thanks to Ed Rogers for implementing this as part of the SciPy + 2022 sprints! +- Release 6.52.3 + * This patch ensures that the warning for non-interactive + .example() points to your code instead of Hypothesis internals + (issue #3403). + * Thanks to @jameslamb for this fix. +- Release 6.52.2 + * This patch makes integers() more likely to generate boundary + values for large two-sided intervals (issue #2942). +- Release 6.52.1 + * This patch adds filter rewriting for math.isfinite(), + math.isinf(), and math.isnan() on integers() or floats() (issue + #2701). + * Thanks to Sam Clamons at the SciPy Sprints! +- Release 6.52.0 + * This release adds the allow_subnormal argument to + complex_numbers() by applying it to each of the real and + imaginary parts separately. Closes issue #3390. + * Thanks to Evan Tey for this fix. +- Release 6.51.0 + * Issue a deprecation warning if a function decorated with + @composite does not draw any values (issue #3384). + * Thanks to Grzegorz Zieba, Rodrigo Girão, and Thomas Ball for + working on this at the EuroPython sprints! +- Release 6.50.1 + * This patch improves the error messages in @example() argument + validation following the recent release of 6.49.1. +- Release 6.50.0 + * This release allows from_dtype() to generate Unicode strings + which cannot be encoded in UTF-8, but are valid in Numpy arrays + (which use UTF-32). + * This logic will only be used with Numpy >= 1.19, because + earlier versions have an issue which led us to revert + Hypothesis 5.2 last time! +- Release 6.49.1 + * This patch fixes some inconsistency between argument handling + for @example and @given (2706). +- Release 6.49.0 + * This release uses PEP 612 typing.ParamSpec (or the + typing_extensions backport) to express the + first-argument-removing behaviour of @st.composite and + signature-preservation of functions() to IDEs, editor plugins, + and static type checkers such as mypy. +- Release 6.48.3 + * hypothesis.event() now works for hashable objects which do not + support weakrefs, such as integers and tuples. +- Release 6.48.2 + * This patch tidies up some internal introspection logic, which + will improve support for positional-only arguments in a future + release (issue #2706). +- Release 6.48.1 + * This release automatically rewrites some simple filters, such + as floats().filter(lambda x: x >= 10) to the more efficient + floats(min_value=10), based on the AST of the predicate. + * We continue to recommend using the efficient form directly + wherever possible, but this should be useful for e.g. pandera + “Checks” where you already have a simple predicate and + translating manually is really annoying. See issue #2701 for + details. +- Release 6.48.0 + * This release raises SkipTest for which never executed any + examples, for example because the phases setting excluded the + explicit, reuse, and generate phases. This helps to avoid cases + where broken tests appear to pass, because they didn’t actually + execute (issue #3328). +- Release 6.47.5 + * This patch fixes type annotations that had caused the signature + of @given to be partially-unknown to type-checkers for Python + versions before 3.10. +- Release 6.47.4 + * This patch fixes from_type() on Python 3.11, following + python/cpython#93754. +- Release 6.47.3 + * This patch makes the too_slow health check more consistent with + long deadline tests (issue #3367) and fixes an install issue + under pipenv which was introduced in Hypothesis 6.47.2 (issue + #3374). +- Release 6.47.2 + * We now use the PEP 654 ExceptionGroup type - provided by the + exceptiongroup backport on older Pythons - to ensure that if + multiple errors are raised in teardown, they will all + propagate. + ------------------------------------------------------------------- Mon Jun 13 12:58:35 UTC 2022 - Ben Greiner diff --git a/python-hypothesis.spec b/python-hypothesis.spec index cace92d..1c4495a 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -31,7 +31,7 @@ ExclusiveArch: do_not_build %bcond_with test %endif Name: python-hypothesis%{psuffix} -Version: 6.47.1 +Version: 6.56.1 Release: 0 Summary: A library for property based testing License: MPL-2.0 @@ -45,6 +45,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-attrs >= 19.2.0 +Requires: python-exceptiongroup >= 1.0.0~rc8 Requires: python-sortedcontainers >= 2.1.0 Requires(post): update-alternatives Requires(preun):update-alternatives @@ -80,7 +81,7 @@ BuildRequires: %{python_module hypothesis = %{version}} BuildRequires: %{python_module lark-parser >= 0.6.5} BuildRequires: %{python_module libcst >= 0.3.16} BuildRequires: %{python_module numpy >= 1.9.0} -BuildRequires: %{python_module pandas >= 0.25} +BuildRequires: %{python_module pandas >= 1.0} BuildRequires: %{python_module pexpect} BuildRequires: %{python_module pytest >= 4.6} BuildRequires: %{python_module pytest-xdist}