From a704cb7297f3d53611fcfd32b08daa7a799a6ff6 Mon Sep 17 00:00:00 2001 From: Krzysztof Klimonda Date: Tue, 16 Apr 2013 02:23:49 +0200 Subject: [PATCH] Pin factory-boy dependency on 1.3.x branch Factory Boy 2.0 have removed the "extracted_key" keyword argument from post_generation() hook. Until we can update tests to work with 2.0 make dependency on 1.3.x branch. In turn, the update got stalled by a bug in Factory Boy (https://github.com/rbarrois/factory_boy/issues/53). --- requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index a11fa5e..17a13ea 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ South django-tastypie==0.9.12 django-braces mock -factory-boy +factory-boy>=1.3,<2.0 django_compressor requests http://github.com/kklimonda/django-images/tarball/master#egg=django-images diff --git a/setup.py b/setup.py index fe958e4..fd176b3 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ setup( packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), long_description=read('README.md'), dependency_links=dependency_links, - tests_require=['mock', 'factory-boy'], + tests_require=['mock', 'factory-boy>=1.3,<2.0'], install_requires=install_requires, classifiers=[ "Development Status :: 4 - Beta",