Path to this page:
Subject: CVS commit: pkgsrc/devel/py-hypothesis
From: Thomas Klausner
Date: 2022-01-31 12:43:31
Message id: 20220131114331.3E76BFB24@cvs.NetBSD.org
Log Message:
py310-hypothesis: update to 6.36.1.
6.36.1 - 2022-01-31
This patch fixes some deprecation warnings from pytest 7.0, along with
some code formatting and docs updates.
6.36.0 - 2022-01-19
This release disallows using typing.Final with from_type() and
register_type_strategy().
Why? Because Final can only be used during class definition. We don’t
generate class attributes.
It also does not make sense as a runtime type on its own.
6.35.1 - 2022-01-17
This patch fixes hypothesis write output highlighting with rich
version 12.0 and later.
6.35.0 - 2022-01-08
This release disallows using typing.ClassVar with from_type() and
register_type_strategy().
Why? Because ClassVar can only be used during class definition. We
don’t generate class attributes.
It also does not make sense as a runtime type on its own.
6.34.2 - 2022-01-05
This patch updates our vendored list of top-level domains, which is
used by the provisional domains() strategy.
6.34.1 - 2021-12-31
This patch fixes issue #3169, an extremely rare bug which would
trigger if an internal least-recently-reused cache dropped a newly
added entry immediately after it was added.
6.34.0 - 2021-12-31
This release fixes issue #3133 and issue #3144, where attempting to
generate Pandas series of lists or sets would fail with confusing
errors if you did not specify dtype=object.
6.33.0 - 2021-12-30
This release disallows using typing.TypeAlias with from_type() and
register_type_strategy().
Why? Because TypeAlias is not really a type, it is a tag for type
checkers that some expression is a type alias, not something else.
It does not make sense for Hypothesis to resolve it as a
strategy. References issue #2978.
6.32.1 - 2021-12-23
This patch updates our autoformatting tools, improving our code style
without any API changes.
6.32.0 - 2021-12-23
This release drops support for Python 3.6, which reached end of life
upstream on 2021-12-23.
6.31.6 - 2021-12-15
This patch adds a temporary hook for a downstream tool, which is not
part of the public API.
6.31.5 - 2021-12-14
This release updates our copyright headers to use a general authorship
statement and omit the year.
6.31.4 - 2021-12-11
This patch makes the .example() method more representative of
test-time data generation, albeit often at a substantial cost to
readability (issue #3182).
6.31.3 - 2021-12-10
This patch improves annotations on some of Hypothesis’ internal
functions, in order to deobfuscate the signatures of some
strategies. In particular, strategies shared between
hypothesis.extra.numpy and the hypothesis.extra.array_api extra will
benefit from this patch.
6.31.2 - 2021-12-10
This patch fix invariants display in stateful falsifying examples
(issue #3185).
6.31.1 - 2021-12-10
This patch updates xps.indices() so no flat indices are generated,
i.e. generated indices will now always explicitly cover each axes of
an array if no ellipsis is present. This is to be consistent with a
specification change that dropped support for flat indexing (#272).
6.31.0 - 2021-12-09
This release makes us compatible with Django 4.0, in particular by
adding support for use of zoneinfo timezones (though we respect the
new USE_DEPRECATED_PYTZ setting if you need it).
6.30.1 - 2021-12-05
This patch updates our vendored list of top-level domains, which is
used by the provisional domains() strategy.
6.30.0 - 2021-12-03
This release adds an allow_subnormal argument to the floats()
strategy, which can explicitly toggle the generation of subnormal
floats (issue #3155). Disabling such generation is useful when testing
flush-to-zero builds of libraries.
nps.from_dtype() and xps.from_dtype() can also accept the
allow_subnormal argument, and xps.from_dtype() or xps.arrays() will
disable subnormals by default if the array module xp is detected to
flush-to-zero (like is typical with CuPy).
Files: