facebookarchive / CommunityCellularManager

Tool for deploying, managing and controlling your Community Cellular Networks
Other
87 stars 36 forks source link

pip version too old in both osmocom and openbts #50

Closed kheimerl closed 7 years ago

kheimerl commented 7 years ago

vagrant@endaga-client-osmocom:~$ pip3 -V pip 1.5.6 from /usr/lib/python3/dist-packages (python 3.4)

This doesn't support download to we're seeing: [vagrant@127.0.0.1:2200] run: fpm -s python --verbose --python-pip pip3 --python-bin python3 --python-package-name-prefix python3 -t deb 'grpcio == 1.0.4' [vagrant@127.0.0.1:2200] out: Setting workdir {:workdir=>"/tmp", :level=>:info} [vagrant@127.0.0.1:2200] out: Trying to download {:package=>"grpcio == 1.0.4", :level=>:info} [vagrant@127.0.0.1:2200] out: ERROR: unknown command "download" {:level=>:info} [vagrant@127.0.0.1:2200] out: Process failed: pip3 failed (exit code 1). Full command was:["pip3", "download", "--no-clean", "--no-deps", "--no-binary", ":all:", "-i", "https://pypi.python.org/simple", "--build", "/tmp/package-python-build-e23798822ef12c8fec1c5ea67c7dab53349c81344f4ee9af8bbd42ef6564/grpcio == 1.0.4", "grpcio == 1.0.4"] {:level=>:error} [vagrant@127.0.0.1:2200] out:

Fixed by getting more recent pip installed. Trying to figure out how to do that correctly programmatically.

kheimerl commented 7 years ago

fixed in last commit