[openstack-dev] [all][infra][requirements] Odd cases in requirements?

Tony Breeds tony at bakeyournoodle.com
Thu Nov 10 08:28:59 UTC 2016


On Thu, Nov 10, 2016 at 08:48:16PM +1300, Robert Collins wrote:

> We generate multiline constraints whenever versions are different
> between python 2 and 3 for the same package. That was happening when I
> wrote the tool in the first place - it was one of the reasons I wrote
> edit-constraints, to avoid writing silly-awkward sed. (A multiline
> constraint when sedd'd will error with 'requirement already supplied'
> or whatever the pip error string is.

Okay.  It's unlikley that we'll hit that case but not impossible.
 
> > I think the way forward is to get openstack_requirements on pypi so we can just
> > pip install openstack_requirements.
> >
> > That'd make the script simple and still retain the cross-platform'ness needed.
> 
> Yes. And/or do the long mooted refactoring to separate out the scripts
> from the current constraints and requirements.

Yup, that'll be part of it but a lower priority that the actual publication.

Thanks Robert

Yours Tony.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161110/e76efb11/attachment.pgp>


More information about the OpenStack-dev mailing list