From 35cdd7f940ba1939de1da1c44f78b7e283f6a6da Mon Sep 17 00:00:00 2001 From: OpenStack Proposal Bot Date: Fri, 12 Dec 2014 22:22:14 +0000 Subject: [PATCH] Updated from global requirements Change-Id: I7d73b83a6bead795352c208d6241aebfbbfb2cf3 --- requirements.txt | 7 +++++-- setup.py | 8 ++++++++ test-requirements.txt | 11 +++++++---- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/requirements.txt b/requirements.txt index 4cc9d42..96378b6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,8 @@ -pbr>=0.8.1 +# The order of packages is significant, because pip processes them in the order +# of appearance. Changing the order has an impact on the overall integration +# process, which may cause wedges in the gate later. +pbr>=0.6,!=0.7,<1.0 Babel>=1.3 fixtures>=0.3.14 -oslo.config>=1.4.0.0a3 +oslo.config>=1.4.0 # Apache-2.0 iso8601>=0.1.9 diff --git a/setup.py b/setup.py index 70c2b3f..7363757 100755 --- a/setup.py +++ b/setup.py @@ -17,6 +17,14 @@ # THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT import setuptools +# In python < 2.7.4, a lazy loading of package `pbr` will break +# setuptools if some other modules registered functions in `atexit`. +# solution from: http://bugs.python.org/issue15881#msg170215 +try: + import multiprocessing # noqa +except ImportError: + pass + setuptools.setup( setup_requires=['pbr'], pbr=True) diff --git a/test-requirements.txt b/test-requirements.txt index da5b599..7423b40 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,11 +1,14 @@ +# The order of packages is significant, because pip processes them in the order +# of appearance. Changing the order has an impact on the overall integration +# process, which may cause wedges in the gate later. hacking>=0.9.2,<0.10 coverage>=3.6 discover -python-subunit -sphinx>=1.1.2 -oslosphinx +python-subunit>=0.0.18 +sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 +oslosphinx>=2.2.0 # Apache-2.0 testrepository>=0.0.18 testscenarios>=0.4 -testtools>=0.9.34 +testtools>=0.9.36,!=1.2.0 mock>=1.0