Skip to content

Commit 70dd654

Browse files
committed
Merge pull request #688 from docker/1.3.1-release
1.3.1 release
2 parents f8ad2da + 5f0f085 commit 70dd654

File tree

5 files changed

+41
-4
lines changed

5 files changed

+41
-4
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM python:2.7
2-
MAINTAINER Joffrey F <joffrey@dotcloud.com>
2+
MAINTAINER Joffrey F <joffrey@docker.com>
33
ADD . /home/docker-py
44
WORKDIR /home/docker-py
55
RUN pip install -r test-requirements.txt

Dockerfile-py3

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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 .

Makefile

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

33
HOST_TMPDIR=test -n "$(TMPDIR)" && echo $(TMPDIR) || echo /tmp
44

@@ -7,10 +7,19 @@ all: test
77
build:
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

1215
unit-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+
1521
integration-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

docker/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "1.4.0-dev"
1+
version = "1.3.1"
22
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])

docs/change_log.md

+22
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
Change 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+
426
1.3.0
527
-----
628

0 commit comments

Comments
 (0)