Changelog
### 6.0.3
```
------------------
This patch improves the type annotations for :func:`~hypothesis.strategies.one_of`,
by adding overloads to handle up to five distinct arguments as
:class:`~python:typing.Union` before falling back to :class:`~python:typing.Any`,
as well as annotating the ``|`` (``__or__``) operator for strategies (:issue:`2765`).
```
### 6.0.2
```
------------------
This release makes some small improvements to how filtered strategies work. It should improve the performance of shrinking filtered strategies,
and may under some (probably rare) circumstances improve the diversity of generated examples.
```
### 6.0.1
```
------------------
This patch fixes an interaction where our :ref:`test statistics <statistics>`
handling made Pytest's ``--junit-xml`` output fail to validate against the
strict ``xunit2`` schema (:issue:`1975`).
```
### 6.0.0
```
------------------
Welcome to the next major version of Hypothesis!
There are no new features here, as we release those in minor versions.
Instead, 6.0 is a chance for us to remove deprecated features (many already
converted into no-ops), and turn a variety of warnings into errors.
If you were running on the last version of Hypothesis 5.x *without any
Hypothesis deprecation warnings*, this will be a very boring upgrade.
**In fact, nothing will change for you at all.**
Changes
~~~~~~~
- Many functions now use :pep:`3102` keyword-only arguments where passing positional
arguments :ref:`was deprecated since 5.5 <v5.5.0>`.
- :func:`hypothesis.extra.django.from_model` no longer accepts ``model`` as a
keyword argument, where it could conflict with fields named "model".
- :func:`~hypothesis.strategies.randoms` now defaults to ``use_true_random=False``.
- :func:`~hypothesis.strategies.complex_numbers` no longer accepts
``min_magnitude=None``; either use ``min_magnitude=0`` or just omit the argument.
- ``hypothesis.provisional.ip4_addr_strings`` and ``ip6_addr_strings`` are removed
in favor of :func:`ip_addresses(v=...).map(str) <hypothesis.strategies.ip_addresses>`.
- :func:`~hypothesis.strategies.register_type_strategy` no longer accepts generic
types with type arguments, which were always pretty badly broken.
- Using function-scoped pytest fixtures is now a health-check error, instead of a warning.
.. tip::
The :command:`hypothesis codemod` command can automatically refactor your code,
particularly to convert positional to keyword arguments where those are now
required.
Hypothesis 5.x
==============
```
### 5.49.0
```
-------------------
This release adds the
:obj:`~hypothesis.HealthCheck.function_scoped_fixture` health check value,
which can be used to suppress the existing warning that appears when
:func:`given <hypothesis.given>` is applied to a test that uses pytest
function-scoped fixtures.
(This warning exists because function-scoped fixtures only run once per
function, not once per example, which is usually unexpected and can cause
subtle problems.)
When this warning becomes a health check error in a future release, suppressing
it via Python warning settings will no longer be possible.
In the rare case that once-per-function behaviour is intended, it will still be
possible to use :obj:`~hypothesis.HealthCheck.function_scoped_fixture` to
opt out of the health check error for specific tests.
```
### 5.48.0
```
-------------------
This release adds :func:`hypothesis.currently_in_test_context`, which can be used
to check whether the calling code is currently running inside an
:func:`given <hypothesis.given>` or :doc:`stateful <stateful>` test.
This is most useful for third-party integrations and assertion helpers which may
wish to use :func:`~hypothesis.assume` or :func:`~hypothesis.target`, without also
requiring that the helper only be used from property-based tests (:issue:`2581`).
```
### 5.47.0
```
-------------------
This release upgrades the import logic for :doc:`ghostwritten tests <ghostwriter>`,
handling many cases where imports would previously be missing or from unexpected
locations.
```
Links
- PyPI: https://pypi.org/project/hypothesis
- Changelog: https://pyup.io/changelogs/hypothesis/
- Repo: https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python
Changelog
### 52.0.0
```
-------
Breaking Changes
^^^^^^^^^^^^^^^^
* 2537: Remove fallback support for fetch_build_eggs using easy_install. Now pip is required for setup_requires to succeed.
* 2544: Removed 'easy_install' top-level model (runpy entry point) and 'easy_install' console script.
* 2545: Removed support for eggsecutables.
Changes
^^^^^^^
* 2459: Tests now run in parallel via pytest-xdist, completing in about half the time. Special thanks to :user:`webknjaz` for hard work implementing test isolation. To run without parallelization, disable the plugin with ``tox -- -p no:xdist``.
```
### 51.3.3
```
-------
Misc
^^^^
* 2539: Fix AttributeError in Description validation.
```
### 51.3.2
```
-------
Misc
^^^^
* 1390: Validation of Description field now is more lenient, emitting a warning and mangling the value to be valid (replacing newlines with spaces).
```
### 51.3.1
```
-------
Misc
^^^^
* 2536: Reverted tag deduplication handling.
```
### 51.3.0
```
-------
Changes
^^^^^^^
* 1390: Newlines in metadata description/Summary now trigger a ValueError.
* 2481: Define ``create_module()`` and ``exec_module()`` methods in ``VendorImporter``
to get rid of ``ImportWarning`` -- by :user:`hroncok`
* 2489: ``pkg_resources`` behavior for zipimport now matches the regular behavior, and finds
``.egg-info`` (previoulsy would only find ``.dist-info``) -- by :user:`thatch`
* 2529: Fixed an issue where version tags may be added multiple times
```
### 51.2.0
```
-------
Changes
^^^^^^^
* 2493: Use importlib.import_module() rather than the deprectated loader.load_module()
in pkg_resources namespace delaration -- by :user:`encukou`
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
* 2525: Fix typo in the document page about entry point. -- by :user:`jtr109`
Misc
^^^^
* 2534: Avoid hitting network during test_easy_install.
```
### 51.1.2
```
-------
Misc
^^^^
* 2505: Disable inclusion of package data as it causes 'tests' to be included as data.
```
Links
- PyPI: https://pypi.org/project/setuptools
- Changelog: https://pyup.io/changelogs/setuptools/
- Repo: https://github.com/pypa/setuptools
Update hypothesis from 5.46.0 to 6.0.3.
Changelog
### 6.0.3 ``` ------------------ This patch improves the type annotations for :func:`~hypothesis.strategies.one_of`, by adding overloads to handle up to five distinct arguments as :class:`~python:typing.Union` before falling back to :class:`~python:typing.Any`, as well as annotating the ``|`` (``__or__``) operator for strategies (:issue:`2765`). ``` ### 6.0.2 ``` ------------------ This release makes some small improvements to how filtered strategies work. It should improve the performance of shrinking filtered strategies, and may under some (probably rare) circumstances improve the diversity of generated examples. ``` ### 6.0.1 ``` ------------------ This patch fixes an interaction where our :ref:`test statistics <statistics>` handling made Pytest's ``--junit-xml`` output fail to validate against the strict ``xunit2`` schema (:issue:`1975`). ``` ### 6.0.0 ``` ------------------ Welcome to the next major version of Hypothesis! There are no new features here, as we release those in minor versions. Instead, 6.0 is a chance for us to remove deprecated features (many already converted into no-ops), and turn a variety of warnings into errors. If you were running on the last version of Hypothesis 5.x *without any Hypothesis deprecation warnings*, this will be a very boring upgrade. **In fact, nothing will change for you at all.** Changes ~~~~~~~ - Many functions now use :pep:`3102` keyword-only arguments where passing positional arguments :ref:`was deprecated since 5.5 <v5.5.0>`. - :func:`hypothesis.extra.django.from_model` no longer accepts ``model`` as a keyword argument, where it could conflict with fields named "model". - :func:`~hypothesis.strategies.randoms` now defaults to ``use_true_random=False``. - :func:`~hypothesis.strategies.complex_numbers` no longer accepts ``min_magnitude=None``; either use ``min_magnitude=0`` or just omit the argument. - ``hypothesis.provisional.ip4_addr_strings`` and ``ip6_addr_strings`` are removed in favor of :func:`ip_addresses(v=...).map(str) <hypothesis.strategies.ip_addresses>`. - :func:`~hypothesis.strategies.register_type_strategy` no longer accepts generic types with type arguments, which were always pretty badly broken. - Using function-scoped pytest fixtures is now a health-check error, instead of a warning. .. tip:: The :command:`hypothesis codemod` command can automatically refactor your code, particularly to convert positional to keyword arguments where those are now required. Hypothesis 5.x ============== ``` ### 5.49.0 ``` ------------------- This release adds the :obj:`~hypothesis.HealthCheck.function_scoped_fixture` health check value, which can be used to suppress the existing warning that appears when :func:`given <hypothesis.given>` is applied to a test that uses pytest function-scoped fixtures. (This warning exists because function-scoped fixtures only run once per function, not once per example, which is usually unexpected and can cause subtle problems.) When this warning becomes a health check error in a future release, suppressing it via Python warning settings will no longer be possible. In the rare case that once-per-function behaviour is intended, it will still be possible to use :obj:`~hypothesis.HealthCheck.function_scoped_fixture` to opt out of the health check error for specific tests. ``` ### 5.48.0 ``` ------------------- This release adds :func:`hypothesis.currently_in_test_context`, which can be used to check whether the calling code is currently running inside an :func:`given <hypothesis.given>` or :doc:`stateful <stateful>` test. This is most useful for third-party integrations and assertion helpers which may wish to use :func:`~hypothesis.assume` or :func:`~hypothesis.target`, without also requiring that the helper only be used from property-based tests (:issue:`2581`). ``` ### 5.47.0 ``` ------------------- This release upgrades the import logic for :doc:`ghostwritten tests <ghostwriter>`, handling many cases where imports would previously be missing or from unexpected locations. ```Links
- PyPI: https://pypi.org/project/hypothesis - Changelog: https://pyup.io/changelogs/hypothesis/ - Repo: https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-pythonUpdate pandas from 1.2.0 to 1.2.1.
The bot wasn't able to find a changelog for this release. Got an idea?
Links
- PyPI: https://pypi.org/project/pandas - Homepage: https://pandas.pydata.orgUpdate setuptools from 51.1.1 to 52.0.0.
Changelog
### 52.0.0 ``` ------- Breaking Changes ^^^^^^^^^^^^^^^^ * 2537: Remove fallback support for fetch_build_eggs using easy_install. Now pip is required for setup_requires to succeed. * 2544: Removed 'easy_install' top-level model (runpy entry point) and 'easy_install' console script. * 2545: Removed support for eggsecutables. Changes ^^^^^^^ * 2459: Tests now run in parallel via pytest-xdist, completing in about half the time. Special thanks to :user:`webknjaz` for hard work implementing test isolation. To run without parallelization, disable the plugin with ``tox -- -p no:xdist``. ``` ### 51.3.3 ``` ------- Misc ^^^^ * 2539: Fix AttributeError in Description validation. ``` ### 51.3.2 ``` ------- Misc ^^^^ * 1390: Validation of Description field now is more lenient, emitting a warning and mangling the value to be valid (replacing newlines with spaces). ``` ### 51.3.1 ``` ------- Misc ^^^^ * 2536: Reverted tag deduplication handling. ``` ### 51.3.0 ``` ------- Changes ^^^^^^^ * 1390: Newlines in metadata description/Summary now trigger a ValueError. * 2481: Define ``create_module()`` and ``exec_module()`` methods in ``VendorImporter`` to get rid of ``ImportWarning`` -- by :user:`hroncok` * 2489: ``pkg_resources`` behavior for zipimport now matches the regular behavior, and finds ``.egg-info`` (previoulsy would only find ``.dist-info``) -- by :user:`thatch` * 2529: Fixed an issue where version tags may be added multiple times ``` ### 51.2.0 ``` ------- Changes ^^^^^^^ * 2493: Use importlib.import_module() rather than the deprectated loader.load_module() in pkg_resources namespace delaration -- by :user:`encukou` Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * 2525: Fix typo in the document page about entry point. -- by :user:`jtr109` Misc ^^^^ * 2534: Avoid hitting network during test_easy_install. ``` ### 51.1.2 ``` ------- Misc ^^^^ * 2505: Disable inclusion of package data as it causes 'tests' to be included as data. ```Links
- PyPI: https://pypi.org/project/setuptools - Changelog: https://pyup.io/changelogs/setuptools/ - Repo: https://github.com/pypa/setuptoolsUpdate numpy from 1.19.4 to 1.19.5.
The bot wasn't able to find a changelog for this release. Got an idea?
Links
- PyPI: https://pypi.org/project/numpy - Homepage: https://www.numpy.orgUpdate PyYAML from 5.3.1 to 5.4.1.
The bot wasn't able to find a changelog for this release. Got an idea?
Links
- PyPI: https://pypi.org/project/pyyaml - Homepage: https://pyyaml.org/