[openstack-dev] [infra][neutron] Requirements validations

2015-06-23 Thread Gary Kotton
Hi,
In the vmware_nsx project we have done the following:

  1.  In the test_requirements file we have a link to the neutron master [1]. 
The purpose for this is that the master branch needs to be in sync with the 
neutron branch and all unit tests have to pass. So each time there is a change 
in neutron or vmware_nsx we validate that nothing is broken.
  2.  On the infra side we have:
 *the bot that posts updates for requirements. This keeps the 
requirements file in sync.
 *   The requirements validation scrip running

We have now hit an issue where the requirements validation is failing. For 
example [2]. The problem is that the requirements validation does not like:
pkg_resources.RequirementParseError: Expected version spec in -e 
git://git.openstack.org/openstack/neutron.git at 
git://git.openstack.org/openstack/neutron.git

Any suggestions for addressing this issue? Has anyone else hit this?

Thanks
Gary

[1]. 
https://github.com/openstack/vmware-nsx/blob/master/test-requirements.txt#L5
[2] 
http://logs.openstack.org/60/194360/1/check/gate-vmware-nsx-requirements/b294b53/console.html
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [infra][neutron] Requirements validations

2015-06-23 Thread Ihar Hrachyshka
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 06/23/2015 11:16 AM, Gary Kotton wrote:
 Hi, In the vmware_nsx project we have done the following:
 
 1. In the test_requirements file we have a link to the neutron
 master [1]. The purpose for this is that the master branch needs to
 be in sync with the neutron branch and all unit tests have to pass.
 So each time there is a change in neutron or vmware_nsx we
 validate that nothing is broken. 2. On the infra side we have: 1.
 the bot that posts updates for requirements. This keeps the 
 requirements file in sync. 2. The requirements validation scrip
 running
 
 We have now hit an issue where the requirements validation is
 failing. For example [2]. The problem is that the requirements
 validation does not like: pkg_resources.RequirementParseError:
 Expected version spec in -e 
 git://git.openstack.org/openstack/neutron.git at 
 git://git.openstack.org/openstack/neutron.git”
 
 Any suggestions for addressing this issue? Has anyone else hit
 this?
 

http://lists.openstack.org/pipermail/openstack-dev/2015-June/065747.html

Move the dep to tox.ini, as e.g. *aas repos do.

Ihar
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJViSxlAAoJEC5aWaUY1u57VbIIANj7MEcjpHJeMblQED6FhfBu
i1fDbmCrCNphOjqIq63vG6JsUnM09gyTqFs08y7R7IqzQMFqRmBf8AzYB9dHUZvf
PjK8vGjLZgFJJH/wgVzXoD5gpASNrD43nFpQ+dT5xRXnJx5J7fxnNJUBd6WelepG
iU9K8NOd9d7S/7GwetryZRiPnGdVagZZ+XOnBnGkJuj40FPTVxP/YeyFfeYRzTdv
bhob1dcG9SO61lJsbrvBFC3V0EFDZ5ov5lXcXhJuSrERsCDcc0p8APwULJyzYtiX
Ps7W9r1aw24SHw1g2/NFXTw8PUl83iOPCwIVAmqGi5MakCb+PXhrvvhNAJBuFn4=
=qvn7
-END PGP SIGNATURE-

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [infra][neutron] Requirements validations

2015-06-23 Thread Gary Kotton


On 6/23/15, 12:52 PM, Ihar Hrachyshka ihrac...@redhat.com wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 06/23/2015 11:16 AM, Gary Kotton wrote:
 Hi, In the vmware_nsx project we have done the following:
 
 1. In the test_requirements file we have a link to the neutron
 master [1]. The purpose for this is that the master branch needs to
 be in sync with the neutron branch and all unit tests have to pass.
 So each time there is a change in neutron or vmware_nsx we
 validate that nothing is broken. 2. On the infra side we have: 1.
 the bot that posts updates for requirements. This keeps the
 requirements file in sync. 2. The requirements validation scrip
 running
 
 We have now hit an issue where the requirements validation is
 failing. For example [2]. The problem is that the requirements
 validation does not like: pkg_resources.RequirementParseError:
 Expected version spec in -e
 git://git.openstack.org/openstack/neutron.git at
 git://git.openstack.org/openstack/neutron.git²
 
 Any suggestions for addressing this issue? Has anyone else hit
 this?
 

http://lists.openstack.org/pipermail/openstack-dev/2015-June/065747.html

Move the dep to tox.ini, as e.g. *aas repos do.

Brilliant! And it works too.
Gracias


Ihar
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJViSxlAAoJEC5aWaUY1u57VbIIANj7MEcjpHJeMblQED6FhfBu
i1fDbmCrCNphOjqIq63vG6JsUnM09gyTqFs08y7R7IqzQMFqRmBf8AzYB9dHUZvf
PjK8vGjLZgFJJH/wgVzXoD5gpASNrD43nFpQ+dT5xRXnJx5J7fxnNJUBd6WelepG
iU9K8NOd9d7S/7GwetryZRiPnGdVagZZ+XOnBnGkJuj40FPTVxP/YeyFfeYRzTdv
bhob1dcG9SO61lJsbrvBFC3V0EFDZ5ov5lXcXhJuSrERsCDcc0p8APwULJyzYtiX
Ps7W9r1aw24SHw1g2/NFXTw8PUl83iOPCwIVAmqGi5MakCb+PXhrvvhNAJBuFn4=
=qvn7
-END PGP SIGNATURE-

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev