Hypothesis

Latest version: v6.103.0

Safety actively analyzes 634607 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 181 of 197

3.8.4

Not secure
------------------

This is a compatibility bugfix release. :func:`~hypothesis.strategies.sampled_from`
no longer raises a deprecation warning when sampling from an
:class:`python:enum.Enum`, as all enums have a reliable iteration order.

3.8.3

Not secure
------------------

This release removes a version check for older versions of :pypi:`pytest` when using
the Hypothesis pytest plugin. The pytest plugin will now run unconditionally
on all versions of pytest. This breaks compatibility with any version of pytest
prior to 2.7.0 (which is more than two years old).

The primary reason for this change is that the version check was a frequent
source of breakage when pytest change their versioning scheme. If you are not
working on pytest itself and are not running a very old version of it, this
release probably doesn't affect you.

3.8.2

Not secure
------------------

This is a code reorganisation release that moves some internal test helpers
out of the main source tree so as to not have changes to them trigger releases
in future.

3.8.1

Not secure
------------------

This is a documentation release. Almost all code examples are now doctests
checked in CI, eliminating stale examples.

3.8.0

Not secure
------------------

This is a feature release, adding the :func:`~hypothesis.strategies.iterables` strategy, equivalent
to ``lists(...).map(iter)`` but with a much more useful repr. You can use
this strategy to check that code doesn't accidentally depend on sequence
properties such as indexing support or repeated iteration.

3.7.4

Not secure
------------------

This patch fixes a bug in :ref:`3.7.3 <v3.7.3>`, where using
:obj:`example <hypothesis.example>` and a pytest fixture in the same test
could cause the test to fail to fill the arguments, and throw a TypeError.

Page 181 of 197

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.