Changelog History
Page 15
-
v4.32.1 Changes
July 29, 2019๐ This release changes how the shrinker represents its progress
โ internally. For large generated test cases this should result in
significantly less memory usage and possibly faster shrinking. Small
โ generated test cases may be slightly slower to shrink but this
shouldn't be very noticeable.โ The canonical version of these notes (with links) is on readthedocs.
-
v4.32.0 Changes
July 28, 2019๐ This release makes "arrays()" more pedantic about "elements"
strategies that cannot be exactly represented as array elements.๐ In practice, you will see new warnings if you were using a "float16"
or "float32" dtype without passing "floats()" the "width=16" or
"width=32" arguments respectively.The previous behaviour could lead to silent truncation, and thus some
elements being equal to an explicitly excluded bound (issue #1899).โ The canonical version of these notes (with links) is on readthedocs.
-
v4.31.1 Changes
July 28, 2019๐ This patch changes an internal use of MD5 to SHA hashes, to better
๐ support users subject to FIPS-140. There is no user-visible or API
๐ change.Thanks to Alex Gaynor for this patch.
โ The canonical version of these notes (with links) is on readthedocs.
-
v4.31.0 Changes
July 24, 2019๐ This release simplifies the logic of the "print_blob" setting by
๐จ removing the option to set it to "PrintSettings.INFER". As a result
๐จ the "print_blob" setting now takes a single boolean value, and the use
๐ of "PrintSettings" is deprecated.โ The canonical version of these notes (with links) is on readthedocs.
-
v4.28.2 Changes
July 14, 2019๐ This patch improves the docstrings of several Hypothesis strategies,
by clarifying markup and adding cross-references. There is no runtime
๐ change.Thanks to Elizabeth Williams and Serah Njambi Rono for their
๐จ contributions at the SciPy 2019 sprints!โ The canonical version of these notes (with links) is on readthedocs.
-
v4.28.1 Changes
July 12, 2019This patch improves the behaviour of the "text()" strategy when passed
an "alphabet" which is not a strategy. The value is now interpreted
as "whitelist_characters" to "characters()" instead of a sequence for
"sampled_from()", which standardises the distribution of examples and
the shrinking behaviour.You can get the previous behaviour by using
"lists(sampled_from(alphabet)).map("".map)" instead.โ The canonical version of these notes (with links) is on readthedocs.
-
v4.28.0 Changes
July 11, 2019๐ This release deprecates "find()". The ".example()" method is a better
replacement if you want an example, and for the rare occasions where
you want the minimal example you can get it from "@given"."@given" has steadily outstripped "find()" in both features and
๐ performance over recent years, and as we do not have the resources to
โ maintain and test both we think it is better to focus on just one.โ The canonical version of these notes (with links) is on readthedocs.
-
v4.27.0 Changes
July 08, 2019๐ This release refactors the implementation of the ".example()" method,
to more accurately represent the data which will be generated by
"@given".As a result, calling "s.example()" on an empty strategy "s" (such as
"nothing()") now raises "Unsatisfiable" instead of the old
๐ป "NoExamples" exception.โ The canonical version of these notes (with links) is on readthedocs.
-
v4.26.4 Changes
July 07, 2019This patch ensures that the Pandas extra will keep working when Python
๐ 3.8 removes abstract base classes from the top-level "collections"
โ namespace. This also fixes the relevant warning in Python 3.7, but
there is no other difference in behaviour and you do not need to do
anything.โ The canonical version of these notes (with links) is on readthedocs.