<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, Aug 17, 2017 at 7:41 AM Peter Bennett <<a href="mailto:pgbennett@comcast.net">pgbennett@comcast.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 08/17/2017 10:06 AM, Mark Spieth wrote:<br>
> On 8/18/2017 12:02 AM, Bill Meek wrote:<br>
>> On 08/17/2017 08:39 AM, David Hampton wrote:<br>
>>> Is there something being installed through pip that can't be gotten<br>
>>> from an existing package?<br>
>>><br>
>>> David<br>
>><br>
>> Checking to to see if a distribution has the packages:<br>
>><br>
>> In Mythbuntu 14.04 (I really have a box with that loaded),<br>
>> these aren't found:<br>
>><br>
>> $ sudo apt-cache search python-requests-cache<br>
>> $ sudo apt-cache search python-future<br>
>><br>
>> I chose to use pip to get them. And did the same to get an<br>
>> up-to-date urllib3.<br>
>><br>
>> This what I've been testing with on the 14.04 box:<br>
>><br>
>> $ pip show future requests requests-cache urllib3<br>
>> ---<br>
>> Name: future<br>
>> Version: 0.16.0<br>
>> Location: /usr/local/lib/python2.7/dist-packages<br>
>> Requires:<br>
>> ---<br>
>> Name: requests<br>
>> Version: 2.18.3<br>
>> Location: /usr/local/lib/python2.7/dist-packages<br>
>> Requires: certifi, chardet, urllib3, idna<br>
>> ---<br>
>> Name: requests-cache<br>
>> Version: 0.4.13<br>
>> Location: /usr/local/lib/python2.7/dist-packages<br>
>> Requires: requests<br>
>> ---<br>
>> Name: urllib3<br>
>> Version: 1.22<br>
>> Location: /usr/local/lib/python2.7/dist-packages<br>
>> Requires:<br>
>><br>
> what you can do is<br>
><br>
> apt-get update<br>
> apt-cache madison python-requests<br>
><br>
> and it will show you what is available.<br>
><br>
> yes python-future is required too, may not be installed. provides<br>
> compat with py3.<br>
> mark<br>
><br>
<br>
This is what Ubuntu 16.04 has<br>
<br>
apt-cache madison python-future python-requests python-requests-cache<br>
<br>
python-future | 0.15.2-1 | <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a><br>
xenial/universe amd64 Packages<br>
python-future | 0.15.2-1 | <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a><br>
xenial/universe i386 Packages<br>
python-requests | 2.9.1-3 | <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a><br>
xenial/main amd64 Packages<br>
python-requests | 2.9.1-3 | <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a><br>
xenial/main i386 Packages<br>
python-requests-cache | 0.4.10-1 | <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a><br>
xenial/universe amd64 Packages<br>
python-requests-cache | 0.4.10-1 | <a href="http://us.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://us.archive.ubuntu.com/ubuntu</a><br>
xenial/universe i386 Packages<br>
<br>
These versions are not good enough, the new metadata script fails with them.<br>
<br>
This is what pip has<br>
<br>
future (0.16.0)<br>
requests (2.18.3)<br>
requests-cache (0.4.13)<br>
<br>
One thing I did not mention - the update will need to happen to all<br>
versions in use - I assume that means 0.27, 0.28 and 29 . People using<br>
older versions will not have working metadata unless they do something.<br>
<br>
Peter<br>
_______________________________________________<br></blockquote><div><br></div><div>I'm not sure we can do pip installs in packaging, I'd much rather see if we can use the versions already in 16.04. </div></div></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-Thomas</div></div>