From ec5861644c3a7a77bcbbdd8cda7e33165fbb4601 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 5 Aug 2013 17:50:29 -0300 Subject: [PATCH] Sync with global requirements Change-Id: I8333e17d8edaa5853ac47f9d53de8c44d1c5d5cb --- requirements.txt | 9 ++++----- setup.py | 18 ++++++++---------- test-requirements.txt | 10 +++++----- tox.ini | 2 +- 4 files changed, 18 insertions(+), 21 deletions(-) diff --git a/requirements.txt b/requirements.txt index 3390adde9..3ea16a741 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,7 @@ -d2to1>=0.2.10,<0.3 -pbr>=0.5,<0.6 +pbr>=0.5.16,<0.6 argparse iso8601>=0.1.4 -prettytable>=0.6,<0.8 -requests>=0.8 -simplejson +PrettyTable>=0.6,<0.8 +requests>=1.1,<1.2.3 +simplejson>=2.0.9 six diff --git a/setup.py b/setup.py index 726cd9c6d..15f4e9d54 100644 --- a/setup.py +++ b/setup.py @@ -1,24 +1,22 @@ -# Copyright 2011 OpenStack Foundation +#!/usr/bin/env python +# Copyright (c) 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. # See the License for the specific language governing permissions and # limitations under the License. +# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT import setuptools - setuptools.setup( - setup_requires=[ - 'd2to1>=0.2.10,<0.3', - 'pbr>=0.5,<0.6' - ], - d2to1=True -) + setup_requires=['pbr>=0.5.20'], + pbr=True) diff --git a/test-requirements.txt b/test-requirements.txt index 91ffda1ba..4af426dc8 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,13 +2,13 @@ pep8==1.4.5 pyflakes==0.7.2 flake8==2.0 -hacking>=0.5.3,<0.6 +hacking>=0.5.6,<0.7 -coverage +coverage>=3.6 discover fixtures>=0.3.12 keyring -mock +mock>=0.8.0 sphinx>=1.1.2 -testrepository>=0.0.13 -testtools>=0.9.26 +testrepository>=0.0.17 +testtools>=0.9.32 diff --git a/tox.ini b/tox.ini index b10c1603f..e7e18c0d3 100644 --- a/tox.ini +++ b/tox.ini @@ -24,6 +24,6 @@ commands = python setup.py testr --coverage --testr-args='{posargs}' downloadcache = ~/cache/pip [flake8] -ignore = E12,E711,E721,E712,F841,F811,F821,H302,H306,H403,H404 +ignore = E12,E711,E721,E712,F841,F811,F821,H102,H302,H306,H403,H404,H501 show-source = True exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build