Re: About requests.packages.urllib3 in Debian

2014-11-12 Thread Tianon Gravi
On 12 November 2014 23:43, Tianon Gravi  wrote:
> I reverted the python-docker -1.1 patch (and I've pushed that up so
> it's easier to test against), ...

Of course, that's the moment where my local push decides to hang and
make a liar out of me...  O:)

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cahnknk2kxzc53eua6lbejxpkfbrz+6ffmwd-7rmj7g_zzgs...@mail.gmail.com



Re: About requests.packages.urllib3 in Debian

2014-11-12 Thread Tianon Gravi
On 12 November 2014 15:15, Daniele Tricoli  wrote:
> All done, including unblocking by RT (you rock! :). Many thanks to all!

I reverted the python-docker -1.1 patch (and I've pushed that up so
it's easier to test against), and now it works perfectly in python2
using the new requests 2.4.3-3, but python3 fails with the following:

| $ python3 basic-test.py
| Traceback (most recent call last):
|   File "basic-test.py", line 1, in 
|import docker, os
|  File "/usr/lib/python3/dist-packages/docker/__init__.py", line 20,
in 
|from .client import Client # flake8: noqa
|  File "/usr/lib/python3/dist-packages/docker/client.py", line 28, in 
|from .unixconn import unixconn
|  File "/usr/lib/python3/dist-packages/docker/unixconn/__init__.py",
line 1, in 
|from .unixconn import UnixAdapter  # flake8: noqa
|  File "/usr/lib/python3/dist-packages/docker/unixconn/unixconn.py",
line 24, in 
|import requests.packages.urllib3.connectionpool as connectionpool
| AttributeError: 'module' object has no attribute 'packages'

Where the contents of my basic-test.py are:

| import docker, os
| c = docker.Client(base_url=os.getenv('DOCKER_HOST'))
| print(c.version())
| print(c.images())

Any ideas?  Do we need to include some kind of further patch in
python-docker, or was the patch to requests possibly not complete?

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAHnKnK2PXUhaC7DCO2Quze7ZEbA=xjw3umsznocgdxzndfg...@mail.gmail.com



Re: About requests.packages.urllib3 in Debian

2014-11-12 Thread Daniele Tricoli
On Monday 10 November 2014 22:02:26 Daniele Tricoli wrote:
> So, before my analysis on requests' dependant is completed, I'm going to
> open  an RC bug on requests, fix it using Jakub's patch and than open an
> unblock bug.

All done, including unblocking by RT (you rock! :). Many thanks to all!

Kind regards,

-- 
 Daniele Tricoli 'Eriol'
 http://mornie.org

signature.asc
Description: This is a digitally signed message part.