What version of docker-py to use now with docker 1.7.1?

Before 1.9.2 I had to pin docker-py to 1.1.0.

Now for 1.9.2 to no error I have to pin docker-py to 1.2.3.

But with 1.2.3 I get the following error:

ConnectionError(ProtocolError(‘Connection aborted.’, error(111, ‘Connection refused’)),)

Does anybody have something working with 1.9.2 and docker 1.7.1?