Hypothesis

Latest version: v6.100.1

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

Scan your dependencies

Page 181 of 195

3.4.2

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

This is a bug fix release, fixing a number of problems with the settings system:

* Test functions defined using :func:`given <hypothesis.given>` can now be called from other threads
(:issue:`337`)
* Attempting to delete a settings property would previously have silently done
the wrong thing. Now it raises an AttributeError.
* Creating a settings object with a custom database_file parameter was silently
getting ignored and the default was being used instead. Now it's not.

3.4.1

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

This is a bug fix release for a single bug:

* On Windows when running two Hypothesis processes in parallel (e.g. using
:pypi:`pytest-xdist`) they could race with each other and one would raise an exception
due to the non-atomic nature of file renaming on Windows and the fact that you
can't rename over an existing file. This is now fixed.

3.4.0

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

This release is entirely provided by `Lucas Wiman <https://github.com/lucaswiman>`_:

Strategies constructed by the Django extra
will now respect much more of Django's validations out of the box.
Wherever possible, :meth:`~django:django.db.models.Model.full_clean` should
succeed.

In particular:

* The max_length, blank and choices kwargs are now respected.
* Add support for DecimalField.
* If a field includes validators, the list of validators are used to filter the field strategy.

3.3.0

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

This release went wrong and is functionally equivalent to :ref:`3.2.0 <v3.2.0>`. Ignore it.

3.2.0

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

This is a small single-feature release:

* All tests using :func:`given <hypothesis.given>` now fix the global random seed. This removes the health
check for that. If a non-zero seed is required for the final falsifying
example, it will be reported. Otherwise Hypothesis will assume randomization
was not a significant factor for the test and be silent on the subject. If you
use :func:`~hypothesis.strategies.random_module` this will continue to work and will always
display the seed.

3.1.3

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

Single bug fix release

* Another charmap problem. In :ref:`3.1.2 <v3.1.2>` :func:`~hypothesis.strategies.text` and
:func:`~hypothesis.strategies.characters` would break on systems
which had ``/tmp`` mounted on a different partition than the Hypothesis storage
directory (usually in home). This fixes that.

Page 181 of 195

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.