File tree Expand file tree Collapse file tree 5 files changed +41
-4
lines changed Expand file tree Collapse file tree 5 files changed +41
-4
lines changed Original file line number Diff line number Diff line change 11FROM python:2.7
2- MAINTAINER Joffrey F <joffrey@dotcloud .com>
2+ MAINTAINER Joffrey F <joffrey@docker .com>
33ADD . /home/docker-py
44WORKDIR /home/docker-py
55RUN pip install -r test-requirements.txt
Original file line number Diff line number Diff line change 1+ FROM python:3.4
2+ MAINTAINER Joffrey F <
[email protected] >
3+ ADD . /home/docker-py
4+ WORKDIR /home/docker-py
5+ RUN pip install -r test-requirements.txt
6+ RUN pip install .
Original file line number Diff line number Diff line change 1- .PHONY : all build test integration-test unit-test
1+ .PHONY : all build test integration-test unit-test build-py3 unit-test-py3 integration-test-py3
22
33HOST_TMPDIR =test -n "$(TMPDIR ) " && echo $(TMPDIR ) || echo /tmp
44
@@ -7,10 +7,19 @@ all: test
77build :
88 docker build -t docker-py .
99
10- test : unit-test integration-test
10+ build-py3 :
11+ docker build -t docker-py3 -f Dockerfile-py3 .
12+
13+ test : unit-test integration-test unit-test-py3 integration-test-py3
1114
1215unit-test : build
1316 docker run docker-py python tests/test.py
1417
18+ unit-test-py3 : build-py3
19+ docker run docker-py3 python tests/test.py
20+
1521integration-test : build
1622 docker run -e NOT_ON_HOST=true -v ` $( HOST_TMPDIR) ` :/tmp -v /var/run/docker.sock:/var/run/docker.sock docker-py python tests/integration_test.py
23+
24+ integration-test-py3 : build-py3
25+ docker run -e NOT_ON_HOST=true -v ` $( HOST_TMPDIR) ` :/tmp -v /var/run/docker.sock:/var/run/docker.sock docker-py3 python tests/integration_test.py
Original file line number Diff line number Diff line change 1- version = "1.4.0-dev "
1+ version = "1.3.1 "
22version_info = tuple ([int (d ) for d in version .split ("-" )[0 ].split ("." )])
Original file line number Diff line number Diff line change 11Change Log
22==========
33
4+ 1.3.1
5+ -----
6+
7+ [ List of PRs / issues for this release] ( https://github.com/docker/docker-py/issues?q=milestone%3A1.3.1+is%3Aclosed )
8+
9+ ### Bugfixes
10+
11+ * Fixed a bug where empty chunks in streams was misinterpreted as EOF.
12+ * ` datetime ` arguments passed to ` Client.events ` parameters ` since ` and
13+ ` until ` are now always considered to be UTC.
14+ * Fixed a bug with Docker 1.7.x where the wrong auth headers were being passed
15+ in ` Client.build ` , failing builds that depended on private images.
16+ * ` Client.exec_create ` can now retrieve the ` Id ` key from a dictionary for its
17+ container param.
18+
19+ ### Miscellaneous
20+
21+ * 404 API status now raises ` docker.errors.NotFound ` . This exception inherits
22+ ` APIError ` which was used previously.
23+ * Docs fixes
24+ * Test ixes
25+
4261.3.0
527-----
628
You can’t perform that action at this time.
0 commit comments