f3127601ef
There was no easy way to check that the requirements in the current commit overlap with requirements in the ancestor commit. This change adds a tox env that when run compares the global-requirements.txt with the parent commit's global-requirements.txt. If the requirements for the packages don't overlap it fails. Run it with tox -e versions-overlap-parent Change-Id: I03bdead39760e9c13d6de4a33f8e5e788052323d Closes-Bug: #1326504 |
||
---|---|---|
tests | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
detail.py | ||
dev-requirements.txt | ||
global-requirements.txt | ||
MANIFEST.in | ||
projects.txt | ||
README.rst | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini | ||
update.py | ||
versions_overlap_parent.py |
Global dependencies for OpenStack Projects
All official OpenStack projects should be added to projects.txt. Once they are added here the gate/check jobs for the projects will use the OpenStack internal pypi mirror to ensure stability. The continuous integration infrastructure will also sync up the requirements across all the official projects and will create reviews in the participating projects for any mis-matches.
This process above will ensure that users of OpenStack will have one single set of python package requirements/ dependencies to install and run the individual OpenStack components.
To use this, run:
python update.py path/to/project
Entries in requirements.txt and test-requirements.txt will have their versions updated to match the entires listed here. Any entries in the target project which do not first exist here will be removed. No entries will be added.