2023-04-04 13:24:42 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-hypothesis: updated to 6.70.2
6.70.2 - 2023-04-03¶
This patch clarifies the reporting of time spent generating data. A simple \
arithmetic mean of the percentage of time spent can be misleading; reporting the \
actual time spent avoids misunderstandings.
6.70.1 - 2023-03-27¶
This patch updates our vendored list of top-level domains, which is used by the \
provisional domains() strategy.
6.70.0 - 2023-03-16¶
This release adds an optional domains= parameter to the emails() strategy, and \
excludes the special-use .arpa domain from the default strategy.
6.69.0 - 2023-03-15¶
This release turns HealthCheck.return_value and HealthCheck.not_a_test_method \
into unconditional errors. Passing them to suppress_health_check= is therefore a \
deprecated no-op.
Separately, GraalPy can now run and pass most of the hypothesis test suite.
6.68.3 - 2023-03-15¶
This patch updates our vendored list of top-level domains, which is used by the \
provisional domains() strategy.
6.68.2 - 2023-02-17¶
This patch fixes missing imports of the re module, when ghostwriting tests which \
include compiled patterns or regex flags. Thanks to Jens Heinrich for reporting \
and promptly fixing this bug!
6.68.1 - 2023-02-12¶
This patch adds some private hooks for use in research on Schemathesis (see our \
preprint here).
6.68.0 - 2023-02-09¶
This release adds support for the Array API’s 2022.12 release via the \
api_version argument in make_strategies_namespace(). Concretely this involves \
complex support in its existing strategies, plus an introduced \
xps.complex_dtypes() strategy.
Additionally this release now treats hypothesis.extra.array_api as stable, \
meaning breaking changes should only happen with major releases of Hypothesis.
|
2023-03-29 11:34:15 by Thomas Klausner | Files touched by this commit (96) |
Log message:
*: use PYTHON_VERSION instead of _PYTHON_VERSION
|
2022-12-18 17:18:53 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-hypothesis: updated to 6.61.0
6.61.0
This release improves our treatment of database keys, which based on (among \
other things) the source code of your test function. We now post-process this \
source to ignore decorators, comments, trailing whitespace, and blank lines - so \
that you can add @example()s or make some small no-op edits to your code without \
preventing replay of any known failing or covering examples.
6.60.1
This patch updates our vendored list of top-level domains, which is used by the \
provisional domains() strategy.
6.60.0
This release improves Hypothesis’ ability to resolve forward references in \
type annotations. It fixes a bug that prevented builds() from being used with \
pydantic models that possess updated forward references.
6.59.0
The @example(...) decorator now has a .via() method, which future tools will use \
to track automatically-added covering examples.
6.58.2
This patch updates our vendored list of top-level domains, which is used by the \
provisional domains() strategy.
6.58.1
This patch shifts hypothesis[lark] from depending on the old lark-parser package \
to the new lark package. There are no code changes in Hypothesis, it’s just \
that Lark got a new name on PyPI for version 1.0 onwards.
6.58.0
register_random() has used weakref since 6.27.1 - 2021-11-22, allowing the \
Random-compatible objects to be garbage-collected when there are no other \
references remaining in order to avoid memory leaks. We now raise an error or \
emit a warning when this seems likely to happen immediately.
The type annotation of register_random() was also widened so that structural \
subtypes of Random are accepted by static typecheckers.
|
2022-11-14 09:33:57 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-hypothesis: updated to 6.57.1
6.57.1 - 2022-11-14
This patch updates some internal type annotations and fixes a formatting bug in \
the explain phase reporting.
6.57.0 - 2022-11-14
Hypothesis now raises an error if you passed a strategy as the alphabet= \
argument to text(), and it generated something which was not a length-one \
string. This has never been supported, we’re just adding explicit validation \
to catch cases like this StackOverflow question.
|
2022-11-04 19:34:53 by Adam Ciarcinski | Files touched by this commit (1) |
Log message:
py-hypothesis: add ALTERNATIVES
|
2022-11-04 19:34:10 by Adam Ciarcinski | Files touched by this commit (4) |
Log message:
py-hypothesis: fix build for Python 3.7; avoid self-conflict; bump revision
|
2022-11-03 11:43:03 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-hypothesis: updated to 6.56.4
6.56.4 - 2022-10-28
This patch updates some docs, and depends on exceptiongroup 1.0.0 final to avoid \
a bug in the previous version.
|
2022-10-25 11:08:45 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-hypothesis: updated to 6.56.3
6.56.3 - 2022-10-17
This patch teaches text() to rewrite a few more filter predicates. You’re \
unlikely to notice any change.
6.56.2 - 2022-10-10
This patch updates our vendored list of top-level domains, which is used by the \
provisional domains() strategy, and fixes some incorrect examples in the docs \
for mutually_broadcastable_shapes().
6.56.1 - 2022-10-05
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.
6.56.0 - 2022-10-02
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.
6.55.0 - 2022-09-29
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.
|
2022-09-05 11:10:57 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-hypothesis: updated to 6.54.5
6.54.5 - 2022-09-05
This patch updates our autoformatting tools, improving our code style without \
any API changes.
6.54.4 - 2022-08-20
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).
6.54.3 - 2022-08-12
This patch teaches the Ghostwriter an additional check for function and class \
locations that should make it use public APIs more often.
6.54.2 - 2022-08-10
This patch fixes our workaround for a pytest bug where the inner exceptions in \
an ExceptionGroup are not displayed (issue 3430).
6.54.1 - 2022-08-02
This patch makes FailedHealthCheck and DeadlineExceeded exceptions picklable, \
for compatibility with Django’s parallel test runner (issue 3426).
6.54.0 - 2022-08-02
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.
6.53.0 - 2022-07-25
from_field() now supports UsernameField from django.contrib.auth.forms.
Thanks to Afonso Silva for reporting and working on issue 3417.
6.52.4 - 2022-07-22
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!
6.52.3 - 2022-07-19
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.
6.52.2 - 2022-07-19
This patch makes integers() more likely to generate boundary values for large \
two-sided intervals (issue 2942).
6.52.1 - 2022-07-18
This patch adds filter rewriting for math.isfinite(), math.isinf(), and \
math.isnan() on integers() or floats() (issue 2701).
6.52.0 - 2022-07-18
This release adds the allow_subnormal argument to complex_numbers() by applying \
it to each of the real and imaginary parts separately.
6.51.0 - 2022-07-17
Issue a deprecation warning if a function decorated with @composite does not \
draw any values
6.50.1 - 2022-07-09
This patch improves the error messages in @example() argument validation \
following the recent release of 6.49.1.
6.50.0 - 2022-07-09
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!
|
2022-07-03 14:44:10 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-hypothesis: add missing dependency on py-exceptiongroup
Bump PKGREVISION
|