Source in /tmp/pip-CyMtU0-build has version 10.0.1.dev145, which satisfies requirement tempest==10.0.1.dev145 from file:///home/jeffrey/openstack/tempest
Cleaning up...
Removing source in /tmp/pip-CyMtU0-build
Could not satisfy constraints for 'tempest': installation from path or url cannot be constrained to a version
Exception information:
Traceback (most recent call last):
File "/home/jeffrey/.dotfiles/virtualenvs/tempest/lib/python2.7/site-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/home/jeffrey/.dotfiles/virtualenvs/tempest/lib/python2.7/site-packages/pip/commands/install.py", line 310, in run
wb.build(autobuilding=True)
File "/home/jeffrey/.dotfiles/virtualenvs/tempest/lib/python2.7/site-packages/pip/wheel.py", line 748, in build
self.requirement_set.prepare_files(self.finder)
File "/home/jeffrey/.dotfiles/virtualenvs/tempest/lib/python2.7/site-packages/pip/req/req_set.py", line 360, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/home/jeffrey/.dotfiles/virtualenvs/tempest/lib/python2.7/site-packages/pip/req/req_set.py", line 638, in _prepare_file
self.add_requirement(req_to_install, None)
File "/home/jeffrey/.dotfiles/virtualenvs/tempest/lib/python2.7/site-packages/pip/req/req_set.py", line 268, in add_requirement
"constrained to a version" % name)
InstallationError: Could not satisfy constraints for 'tempest': installation from path or url cannot be constrained to a version
The root cause it that the tempest version is fixed in the upper-constraints.txt file due to this issue[0], and introduce in [1]
more info
Source in /tmp/pip- CyMtU0- build has version 10.0.1.dev145, which satisfies requirement tempest= =10.0.1. dev145 from file:// /home/jeffrey/ openstack/ tempest CyMtU0- build jeffrey/ .dotfiles/ virtualenvs/ tempest/ lib/python2. 7/site- packages/ pip/basecommand .py", line 209, in main jeffrey/ .dotfiles/ virtualenvs/ tempest/ lib/python2. 7/site- packages/ pip/commands/ install. py", line 310, in run build(autobuild ing=True) jeffrey/ .dotfiles/ virtualenvs/ tempest/ lib/python2. 7/site- packages/ pip/wheel. py", line 748, in build requirement_ set.prepare_ files(self. finder) jeffrey/ .dotfiles/ virtualenvs/ tempest/ lib/python2. 7/site- packages/ pip/req/ req_set. py", line 360, in prepare_files dependencies= self.ignore_ dependencies) ) jeffrey/ .dotfiles/ virtualenvs/ tempest/ lib/python2. 7/site- packages/ pip/req/ req_set. py", line 638, in _prepare_file add_requirement (req_to_ install, None) jeffrey/ .dotfiles/ virtualenvs/ tempest/ lib/python2. 7/site- packages/ pip/req/ req_set. py", line 268, in add_requirement
Cleaning up...
Removing source in /tmp/pip-
Could not satisfy constraints for 'tempest': installation from path or url cannot be constrained to a version
Exception information:
Traceback (most recent call last):
File "/home/
status = self.run(options, args)
File "/home/
wb.
File "/home/
self.
File "/home/
ignore_
File "/home/
self.
File "/home/
"constrained to a version" % name)
InstallationError: Could not satisfy constraints for 'tempest': installation from path or url cannot be constrained to a version
The root cause it that the tempest version is fixed in the upper-constrain ts.txt file due to this issue[0], and introduce in [1]
[0] http:// docs.openstack. org/developer/ tempest- lib/readme. html /review. openstack. org/#/c/ 300263/
[1] https:/
So the fix should be: when installing the tempest, remove the tempest from the upper-constrain ts.txt first.