From c86966c3267fb5e8f7c9c2eaae58a739cd21935b Mon Sep 17 00:00:00 2001 From: Vincent Llorens Date: Thu, 27 Oct 2016 10:56:45 +0200 Subject: [PATCH] Remove versions for required packages Requirement versions were set in the first place to limit the buginess. However, after some time it appears that it made more harm than good, as discussed in: https://review.openstack.org/#/c/388003/ In this commit we remove the versions for the requirements, except for the following: - Nova - synergy-service In the future, if a specific dependency version is causing some issue we should reintroduce the version for this dependency to block the unstable version. Sem-Ver: bugfix Change-Id: If65e670a18a495a5c3f5c08c80b6b1d3abec5747 --- .../rpm/python-synergy-scheduler-manager.spec | 14 +++++++------- requirements.txt | 14 +++++++------- setup.py | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/packaging/rpm/python-synergy-scheduler-manager.spec b/packaging/rpm/python-synergy-scheduler-manager.spec index 971db0a..4fe9f1f 100644 --- a/packaging/rpm/python-synergy-scheduler-manager.spec +++ b/packaging/rpm/python-synergy-scheduler-manager.spec @@ -12,13 +12,13 @@ BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools Requires: python-nova >= 12.0 -Requires: python-oslo-config >= 2.4 -Requires: python-oslo-messaging >= 2.5 -Requires: python-oslo-serialization >= 1.9 -Requires: python-oslo-versionedobjects >= 0.10 -Requires: python-pbr >= 1.8 -Requires: python-requests >= 2.10 -Requires: python-sqlalchemy >= 1.0 +Requires: python-oslo-config +Requires: python-oslo-messaging +Requires: python-oslo-serialization +Requires: python-oslo-versionedobjects +Requires: python-pbr +Requires: python-requests +Requires: python-sqlalchemy Requires: python-synergy-service >= 1.1 diff --git a/requirements.txt b/requirements.txt index bdac3a4..2ddbe69 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,12 +2,12 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -pbr>=1.8,<1.9 +pbr -oslo.config>=2.4,<2.5 -oslo.messaging>=2.5,<2.6 -oslo.serialization>=1.9,<1.10 -oslo.versionedobjects>=0.10,<0.11 -requests>=2.0.0,<3.0.0 # availability: 2.10.0 on CentOS 7, 2.7.0 on Ubuntu 14.04 -sqlalchemy>=1.0,<1.1 +oslo.config +oslo.messaging +oslo.serialization +oslo.versionedobjects +requests +sqlalchemy synergy-service>=1.1,<1.2 diff --git a/setup.py b/setup.py index f06a663..3ffe9b5 100644 --- a/setup.py +++ b/setup.py @@ -23,5 +23,5 @@ except ImportError: pass setuptools.setup( - setup_requires=['pbr>=1.8', 'setuptools'], + setup_requires=['pbr', 'setuptools'], pbr=True)