File tree 5 files changed +41
-4
lines changed
5 files changed +41
-4
lines changed Original file line number Diff line number Diff line change 1
1
FROM python:2.7
2
- MAINTAINER Joffrey F <joffrey@dotcloud .com>
2
+ MAINTAINER Joffrey F <joffrey@docker .com>
3
3
ADD . /home/docker-py
4
4
WORKDIR /home/docker-py
5
5
RUN 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
2
2
3
3
HOST_TMPDIR =test -n "$(TMPDIR ) " && echo $(TMPDIR ) || echo /tmp
4
4
@@ -7,10 +7,19 @@ all: test
7
7
build :
8
8
docker build -t docker-py .
9
9
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
11
14
12
15
unit-test : build
13
16
docker run docker-py python tests/test.py
14
17
18
+ unit-test-py3 : build-py3
19
+ docker run docker-py3 python tests/test.py
20
+
15
21
integration-test : build
16
22
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 "
2
2
version_info = tuple ([int (d ) for d in version .split ("-" )[0 ].split ("." )])
Original file line number Diff line number Diff line change 1
1
Change Log
2
2
==========
3
3
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
+
4
26
1.3.0
5
27
-----
6
28
You can’t perform that action at this time.
0 commit comments