Pytest-factoryboy

Latest version: v2.7.0

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

Scan your dependencies

Page 1 of 5

2.6.1

----------
- Address compatibility issue with pytest 8.1. `213 <https://github.com/pytest-dev/pytest-bdd/pull/213>`_

2.6.0

----------
- Drop python 3.7 support and add support for python 3.12. Supported versions are now: 3.8, 3.9, 3.10, 3.11, 3.12. `197 <https://github.com/pytest-dev/pytest-factoryboy/pull/197>`_
- Drop support for pytest < 6.2. We now support only pytest >= 6.2 (tested against pytest 7.4 at the time of writing). `197 <https://github.com/pytest-dev/pytest-factoryboy/pull/197>`_

2.5.1

----------
- Fix PytestDeprecationWarning. `180 <https://github.com/pytest-dev/pytest-factoryboy/pull/180>`_ `#179 <https://github.com/pytest-dev/pytest-factoryboy/issues/179>`_

2.5.0

----------
- Using a generic class container like ``dict``, ``list``, ``set``, etc. will raise a warning suggesting you to wrap your model using ``named_model(...)``. Doing this will make sure that the fixture name is correctly chosen, otherwise SubFactory and RelatedFactory aren't able to determine the name of the model. See `Generic Container Classes as models <https://pytest-factoryboy.readthedocs.io/en/latest/#generic-container-classes-as-models>`_ `167 <https://github.com/pytest-dev/pytest-factoryboy/pull/167>`_
- Fix ``Factory._after_postgeneration`` being invoked twice. `164 <https://github.com/pytest-dev/pytest-factoryboy/pull/164>`_ `#156 <https://github.com/pytest-dev/pytest-factoryboy/issues/156>`_
- Stack traces caused by pytest-factoryboy are now slimmer. `169 <https://github.com/pytest-dev/pytest-factoryboy/pull/169>`_
- Check for naming conflicts between factory and model fixture name, and raise a clear error immediately. `86 <https://github.com/pytest-dev/pytest-factoryboy/pull/86>`_

2.4.0

----------
- ``LazyFixture`` is now a Generic[T] type.
- Simplify fixture generation (internal change).
- Use poetry (internal change).

2.3.1

----------
- Fix AttributeError when using LazyFixture in register(...) `159 <https://github.com/pytest-dev/pytest-factoryboy/issues/159>`_ `#158 <https://github.com/pytest-dev/pytest-factoryboy/issues/158>`_

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.