[openstack-dev] [kolla][neutron][requirements][pbr]Use git+https line in requirements.txt break the pip install

Jeffrey Zhang zhang.lei.fly at gmail.com
Wed Apr 18 02:48:15 UTC 2018


Recently, one of networking-odl package breaks kolla's gate[0]. The direct
issue is ceilometer is added in networking-odl's requirements.txt file[1]

Then when install network-odl with upper-contraints.txt file, it will raise
error like

$ pip install -c
https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt
./networking-odl
...
collecting networking-bgpvpn>=8.0.0 (from networking-odl==12.0.1.dev54)
  Downloading
http://pypi.doubanio.com/packages/5a/e5/995be0d53d472f739a7a0bb6c9d9fecbc4936148651aaf56d39f3b65b1f1/networking_bgpvpn-8.0.0-py2-none-any.whl
(172kB)
    100% |████████████████████████████████| 174kB 12.0MB/s
Collecting ceilometer (from networking-odl==12.0.1.dev54)
  Could not find a version that satisfies the requirement ceilometer (from
networking-odl==12.0.1.dev54) (from versions: )
No matching distribution found for ceilometer (from
networking-odl==12.0.1.dev54)


But if you just install the networking-odl's requirements.txt file, it works


$ pip install -c
https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt
-r ./networking-odl/requirements.txt
...
Obtaining ceilometer from git+
https://git.openstack.org/openstack/ceilometer@master#egg=ceilometer (from
-r networking-odl/requirements.txt (line 21))
  Cloning https://git.openstack.org/openstack/ceilometer (to revision
master) to /home/jeffrey/.dotfiles/virtualenvs/test/src/ceilometer
...


Is this expected? and how could we fix this?


[0] https://bugs.launchpad.net/kolla/+bug/1764621
[1]
https://github.com/openstack/networking-odl/blob/master/requirements.txt#L21

-
​​
-
Regards,
Jeffrey Zhang
Blog: http://xcodest.me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180418/489f9683/attachment.html>


More information about the OpenStack-dev mailing list