diff --git a/requirements-development.txt b/requirements-development.txt index 8a06afd6..52a7c54e 100644 --- a/requirements-development.txt +++ b/requirements-development.txt @@ -5,6 +5,8 @@ isort mock pytest>=2.9.0,<3.0 pytest-django +# factory_boy is currently broken at 2.9 and above. See: https://github.com/pytest-dev/pytest-factoryboy/issues/47 +factory-boy<2.9.0 pytest-factoryboy recommonmark Sphinx @@ -12,4 +14,4 @@ sphinx_rtd_theme tox mock django-debug-toolbar -packaging==16.8 \ No newline at end of file +packaging==16.8 diff --git a/setup.py b/setup.py index e91ec5e5..40865c43 100755 --- a/setup.py +++ b/setup.py @@ -105,6 +105,7 @@ def get_package_data(package): setup_requires=pytest_runner + sphinx + wheel, tests_require=[ 'pytest-factoryboy', + 'factory-boy<2.9.0', 'pytest-django', 'pytest>=2.8,<3', 'django-polymorphic',