Skip to content

Commit ca5bb09

Browse files
committed
Bump version 2.5.1
Add changelog entry
1 parent 0499ac4 commit ca5bb09

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGES.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Changelog
44
Unreleased
55
----------
66

7+
2.5.1
8+
----------
9+
- Fix PytestDeprecationWarning. `#180 <https://github.com/pytest-dev/pytest-factoryboy/pull/180>`_ `#179 <https://github.com/pytest-dev/pytest-factoryboy/issues/179>`_
10+
711
2.5.0
812
----------
913
- 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>`_

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pytest-factoryboy"
3-
version = "2.5.0"
3+
version = "2.5.1"
44
description = "Factory Boy support for pytest."
55
authors = ["Oleg Pidsadnyi <[email protected]>"]
66
maintainers = ["Alessio Bogon <[email protected]>"]

0 commit comments

Comments
 (0)