<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I definitely support the common dependency list, but I'm hesitant to remove upper bounds. In the case of something like this python-swiftclient, I want to allow that team to release a version 2 that breaks the version 1 interface - that's why glance has the requirement of 'python-swiftclient>=1.2,<2'. This example applies to almost all of our requirements except in the case that we need to be even more restrictive.<div><br><div><div>On Dec 4, 2012, at 4:43 PM, Henry Nash wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi<div><br><div><div>Openstack projects use pip-requires to indicate their dependencies.  While most of these dependencies are external components, some are other openstack projects - the classic example is that any project that will use keystone to authenticate obviously has a dependency on it.  Until recently this was usually specified in the pip-requries as:</div><div><br></div><div><table class="GJEA35ODKI" style="width: 1135px; border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-family: 'Arial Unicode MS', Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; position: static; z-index: auto; "><tbody><tr valign="top"><td class="GJEA35ODFF GJEA35ODIF" style="font-family: 'Lucida Console', 'Lucida Sans Typewriter', Monaco, monospace; font-size: 8pt; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: pre; background-color: rgb(221, 255, 221); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(221, 255, 221); "><span class="wdc" style="background-color: rgb(221, 255, 221); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(221, 255, 221); ">python-keystoneclient>=0.1</span><span class="wdi" style="background-color: rgb(153, 255, 153); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(153, 255, 153); ">,<0.2</span></td></tr></tbody></table><div><br></div><div>This recently broke when we incremented the keystoneclient version to 0.2 (which also included the move of the authentication code into the client from the server - making the dependency on the client particularly relevant).  </div></div><div><br></div><div>I was in the process of updating any such dependencies (see: <a href="https://review.openstack.org/#/c/16375/">https://review.openstack.org/#/c/16375/</a>), when I discovered that it appears there are differing views on whether we should have an upper limit to the version dependency, i.e. should we change this to:</div><div><br></div><div><table class="GJEA35ODKI" style="width: 1135px; border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-family: 'Arial Unicode MS', Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; position: static; z-index: auto; "><tbody><tr valign="top"><td class="GJEA35ODFF GJEA35ODIF" style="font-family: 'Lucida Console', 'Lucida Sans Typewriter', Monaco, monospace; font-size: 8pt; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: pre; background-color: rgb(221, 255, 221); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(221, 255, 221); "><span class="wdc" style="background-color: rgb(221, 255, 221); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(221, 255, 221); ">python-keystoneclient>=0.2</span><span class="wdi" style="background-color: rgb(153, 255, 153); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(153, 255, 153); ">,<0.3 (or maybe even 1.0)</span></td></tr></tbody></table><div><br></div><div>or maybe just</div></div><div><br></div><div><table class="GJEA35ODKI" style="width: 1135px; border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-family: 'Arial Unicode MS', Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; position: static; z-index: auto; "><tbody><tr valign="top"><td class="GJEA35ODFF GJEA35ODIF" style="font-family: 'Lucida Console', 'Lucida Sans Typewriter', Monaco, monospace; font-size: 8pt; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: pre; background-color: rgb(221, 255, 221); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(221, 255, 221); "><span class="wdc" style="background-color: rgb(221, 255, 221); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(221, 255, 221); ">python-keystoneclient>=0.2</span></td></tr></tbody></table><div><br></div></div><div>I must admit, I question the use of the upper limit - given that we don't have any plans to cut off support.  I assume the rationale of defining one before was to give us the option of such a cut off?  Can anyone confirm that?  </div><div><br></div><div>I'd like to canvas views on whether there should be an upper limit - that isn't the standard everywhere (although we have done it for keystone to date).  My gut feel is to remove the upper limit - but am open to persuasion :-)</div><div><br></div><div>Henry</div></div></div></div>_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br></blockquote></div><br></div></body></html>