Commit graph

9 commits

Author SHA1 Message Date
Marcus Watts
30d188a26c Use non-broken version of setuptools, and fix bootstrap to be more portable.
Most recent version of setuptools breaks when asked to load requests 0.14.0.
symptom, complains about not being able to import filterfalse thus:
        from six.moves import map, filter, filterfalse
this comes from setuptools, and older versions of setuptools don't have
this problem.

Various versions of centos7 and fedora have interesting names for packages,
	centos7: python-pip is python2-pip
	fedora24: python-virtualenv is python2-virtualenv
This is somewhat masked by using sudo yum: if the actual package
is installed, rpm knows that the capability is there and does nothing.
But, if the package isn't there, or you haven't chosen to set up
sudo to work that way, this does not work.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
(cherry picked from commit ddc150439d)
2017-01-26 04:53:19 -05:00
Zack Cerza
2cf6908e15 Merge pull request #66 from ceph/wip-12302
Remove "--allow-hosts None" because it magically makes things work
2015-07-14 11:58:50 -06:00
Dan Mick
5f34b358fc Remove "--allow-hosts None" because it magically makes things work
Fixes: 12302
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-07-14 10:19:37 -07:00
Ken Dreyer
84a22c336b bootstrap: apt/yum install the list of dependencies
If RPM or DEB packages are missing, don't print to STDERR and bail.
Instead, assume that the user has sudo rights, and attempt to install
the missing packages for the user automatically.
2015-05-15 11:18:55 -06:00
Sandon Van Ness
9a22d94aeb Added pip 1.5 workaround.
Setuptools needs to be upgraded with --no-use-wheel. A change we
already were using in other projects.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-01-09 19:09:39 -08:00
Josh Durgin
c9e5f80a8f Oops, wrong version of previous commit forgot a space
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-07-24 11:10:36 -07:00
Josh Durgin
1ec7cd9d29 Fix package detection on centos in bootstrap
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-07-09 18:15:25 -07:00
Tommi Virtanen
02a4c82dfa Make generate_objects.py and rand_readwrite.py inside the package.
Handle dependencies properly. Now e.g. "./bootstrap &&
./virtualenv/bin/s3tests-test-readwrite" should just work.
2011-07-13 13:52:54 -07:00
Tommi Virtanen
46f2e3b00e Initial commit. 2011-04-04 14:45:42 -07:00