Jump to: navigation, search

Difference between revisions of "Requirements"

(Created page with "In order to add or change a Python dependency requirement of an OpenStack project, it must first be added to the [https://github.com/openstack/requirements openstack/requireme...")
 
Line 3: Line 3:
 
Add it to the 'test-requires' or 'pip-requires' files as appropriate and submit it for review.
 
Add it to the 'test-requires' or 'pip-requires' files as appropriate and submit it for review.
  
The requirement specification should include both a lower and upper bound based on the release policy of the package.
+
The requirement specification should usually include both a lower and upper bound. The lower bound should reflect the oldest known version of the package which has the APIs required. An upper bound should be added based on a package's policy of release versioning with respect to incompatible API changes so that we avoid problems caused a future incompatible release.
  
 
Once the change to openstack/requirements has merged, the local pypi mirror will be updated and then the requirements file for the OpenStack project may be updated.
 
Once the change to openstack/requirements has merged, the local pypi mirror will be updated and then the requirements file for the OpenStack project may be updated.

Revision as of 21:32, 26 March 2013

In order to add or change a Python dependency requirement of an OpenStack project, it must first be added to the openstack/requirements repository.

Add it to the 'test-requires' or 'pip-requires' files as appropriate and submit it for review.

The requirement specification should usually include both a lower and upper bound. The lower bound should reflect the oldest known version of the package which has the APIs required. An upper bound should be added based on a package's policy of release versioning with respect to incompatible API changes so that we avoid problems caused a future incompatible release.

Once the change to openstack/requirements has merged, the local pypi mirror will be updated and then the requirements file for the OpenStack project may be updated.