Closed skarzi closed 3 years ago
Hi :wave:
First of all thanks for maintaining this great project!
pytest-factoryboy no longer works with factoryboy==3.2.0, following exception is raised inside model_fixture:
pytest-factoryboy
factoryboy==3.2.0
model_fixture
AttributeError: module 'factory.builder' has no attribute 'PostGenerationContext'
It's related to https://github.com/FactoryBoy/factory_boy/pull/828
This issue also shows that we need to add some env to tox with tests ran for factoryboy built from master branch, just to know that something could potentially break in the next release
tox
factoryboy
master
Fixed by https://github.com/pytest-dev/pytest-factoryboy/pull/109
I just released version 2.1.0 that contains the fix for this issue.
Hi :wave:
First of all thanks for maintaining this great project!
pytest-factoryboy
no longer works withfactoryboy==3.2.0
, following exception is raised insidemodel_fixture
:It's related to https://github.com/FactoryBoy/factory_boy/pull/828
This issue also shows that we need to add some env to
tox
with tests ran forfactoryboy
built frommaster
branch, just to know that something could potentially break in the next release