Use global-requirements for requirements
This updates cloudkittyclient's requirement files in order to use openstack/requirements for constraints. This will help to avoid dependency conflicts when cloudkittyclient is deployed in an openstack context. Work items: * Updated requirements.txt, test-requirements.txt and doc/requirements.txt with the `update-requirements` tool provided by openstack/requirements. * Added a lower-constraints.txt file. * Added the "check-requirements" zuul job template to the CI. Change-Id: I12a882ce4d24ade153a64b75852396377ac42ca6
This commit is contained in:
		@@ -28,6 +28,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
- project:
 | 
					- project:
 | 
				
			||||||
    templates:
 | 
					    templates:
 | 
				
			||||||
 | 
					      - check-requirements
 | 
				
			||||||
      - openstack-cover-jobs
 | 
					      - openstack-cover-jobs
 | 
				
			||||||
      - openstack-python-jobs
 | 
					      - openstack-python-jobs
 | 
				
			||||||
      - openstack-python35-jobs
 | 
					      - openstack-python35-jobs
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,5 +3,5 @@
 | 
				
			|||||||
# process, which may cause wedges in the gate later.
 | 
					# process, which may cause wedges in the gate later.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
openstackdocstheme>=1.18.1 # Apache-2.0
 | 
					openstackdocstheme>=1.18.1 # Apache-2.0
 | 
				
			||||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
 | 
					sphinx>=1.6.2,!=1.6.6,!=1.6.7 # BSD
 | 
				
			||||||
reno>=2.5.0  # Apache2
 | 
					reno>=2.5.0 # Apache-2.0
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										23
									
								
								lower-constraints.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								lower-constraints.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
				
			|||||||
 | 
					# requirements
 | 
				
			||||||
 | 
					pbr==2.0.0 # Apache-2.0
 | 
				
			||||||
 | 
					cliff==2.11.0 # Apache-2.0
 | 
				
			||||||
 | 
					keystoneauth1==3.4.0 # Apache-2.0
 | 
				
			||||||
 | 
					oslo.utils==3.35 # Apache-2.0
 | 
				
			||||||
 | 
					oslo.log==3.36 # Apache-2.0
 | 
				
			||||||
 | 
					PyYAML==3.12 # MIT
 | 
				
			||||||
 | 
					jsonpath-rw-ext==1.0 # Apache-2.0
 | 
				
			||||||
 | 
					six==1.11 # MIT
 | 
				
			||||||
 | 
					os-client-config==1.29.0 # Apache-2.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# test-requirements.txt
 | 
				
			||||||
 | 
					coverage==4.0 # Apache-2.0
 | 
				
			||||||
 | 
					python-subunit==0.0.18 # Apache-2.0/BSD
 | 
				
			||||||
 | 
					oslotest==1.10.0 # Apache-2.0
 | 
				
			||||||
 | 
					stestr==2.0 # Apache-2.0
 | 
				
			||||||
 | 
					mock==2.0 # BSD
 | 
				
			||||||
 | 
					python-openstackclient==3.14 # Apache-2.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# doc/requirements.txt
 | 
				
			||||||
 | 
					openstackdocstheme==1.18.1 # Apache-2.0
 | 
				
			||||||
 | 
					sphinx==1.6.2 # BSD
 | 
				
			||||||
 | 
					reno==2.5.0  # Apache2
 | 
				
			||||||
@@ -2,12 +2,12 @@
 | 
				
			|||||||
# of appearance. Changing the order has an impact on the overall integration
 | 
					# of appearance. Changing the order has an impact on the overall integration
 | 
				
			||||||
# process, which may cause wedges in the gate later.
 | 
					# process, which may cause wedges in the gate later.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pbr!=2.1.0,>=2.0.0 # Apache-2.0
 | 
					pbr>=2.0.0,!=2.1.0 # Apache-2.0
 | 
				
			||||||
cliff>=2.11.0,<3.0 # Apache-2.0
 | 
					cliff>=2.11.0 # Apache-2.0
 | 
				
			||||||
keystoneauth1>=3.4.0,<4.0 # Apache-2.0
 | 
					keystoneauth1>=3.4.0 # Apache-2.0
 | 
				
			||||||
oslo.utils>=3.35,<4.0 # Apache-2.0
 | 
					oslo.utils>=3.35 # Apache-2.0
 | 
				
			||||||
oslo.log>=3.36,<4.0 # Apache-2.0
 | 
					oslo.log>=3.36 # Apache-2.0
 | 
				
			||||||
PyYAML>=3.12,<4.0 # MIT
 | 
					PyYAML>=3.12 # MIT
 | 
				
			||||||
jsonpath-rw-ext>=1.0 # Apache-2.0
 | 
					jsonpath-rw-ext>=1.0 # Apache-2.0
 | 
				
			||||||
six>=1.11,<2.0 # MIT
 | 
					six>=1.11 # MIT
 | 
				
			||||||
os-client-config>=1.29.0 # Apache-2.0
 | 
					os-client-config>=1.29.0 # Apache-2.0
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,7 +4,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
 | 
					hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
coverage!=4.4,>=4.0 # Apache-2.0
 | 
					coverage>=4.0,!=4.4 # Apache-2.0
 | 
				
			||||||
python-subunit>=0.0.18 # Apache-2.0/BSD
 | 
					python-subunit>=0.0.18 # Apache-2.0/BSD
 | 
				
			||||||
oslotest>=1.10.0 # Apache-2.0
 | 
					oslotest>=1.10.0 # Apache-2.0
 | 
				
			||||||
stestr>=2.0 # Apache-2.0
 | 
					stestr>=2.0 # Apache-2.0
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user