diff options
author | Aanand Prasad <aanand.prasad@gmail.com> | 2015-07-22 22:20:30 +0100 |
---|---|---|
committer | Aanand Prasad <aanand.prasad@gmail.com> | 2015-07-22 22:20:30 +0100 |
commit | 70dd6548428bc7b893be5cc7b4d9fc6cfc964506 (patch) | |
tree | 00dae12df82d6e80583edb7230332f3212c1690d | |
parent | f8ad2dabf21be0d3c07e7d289fb09fb4d93de9a4 (diff) | |
parent | 5f0f085fc7fe7810d03a0534c92b2b5cf58da75c (diff) | |
download | docker-py-1.3.1.tar.gz |
Merge pull request #688 from docker/1.3.1-release1.3.1
1.3.1 release
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | Dockerfile-py3 | 6 | ||||
-rw-r--r-- | Makefile | 13 | ||||
-rw-r--r-- | docker/version.py | 2 | ||||
-rw-r--r-- | docs/change_log.md | 22 |
5 files changed, 41 insertions, 4 deletions
@@ -1,5 +1,5 @@ FROM python:2.7 -MAINTAINER Joffrey F <joffrey@dotcloud.com> +MAINTAINER Joffrey F <joffrey@docker.com> ADD . /home/docker-py WORKDIR /home/docker-py RUN pip install -r test-requirements.txt diff --git a/Dockerfile-py3 b/Dockerfile-py3 new file mode 100644 index 0000000..31b979b --- /dev/null +++ b/Dockerfile-py3 @@ -0,0 +1,6 @@ +FROM python:3.4 +MAINTAINER Joffrey F <joffrey@docker.com> +ADD . /home/docker-py +WORKDIR /home/docker-py +RUN pip install -r test-requirements.txt +RUN pip install . @@ -1,4 +1,4 @@ -.PHONY: all build test integration-test unit-test +.PHONY: all build test integration-test unit-test build-py3 unit-test-py3 integration-test-py3 HOST_TMPDIR=test -n "$(TMPDIR)" && echo $(TMPDIR) || echo /tmp @@ -7,10 +7,19 @@ all: test build: docker build -t docker-py . -test: unit-test integration-test +build-py3: + docker build -t docker-py3 -f Dockerfile-py3 . + +test: unit-test integration-test unit-test-py3 integration-test-py3 unit-test: build docker run docker-py python tests/test.py +unit-test-py3: build-py3 + docker run docker-py3 python tests/test.py + integration-test: build 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 + +integration-test-py3: build-py3 + 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 diff --git a/docker/version.py b/docker/version.py index d0aad76..bc778b9 100644 --- a/docker/version.py +++ b/docker/version.py @@ -1,2 +1,2 @@ -version = "1.4.0-dev" +version = "1.3.1" version_info = tuple([int(d) for d in version.split("-")[0].split(".")]) diff --git a/docs/change_log.md b/docs/change_log.md index 305721c..538cca4 100644 --- a/docs/change_log.md +++ b/docs/change_log.md @@ -1,6 +1,28 @@ Change Log ========== +1.3.1 +----- + +[List of PRs / issues for this release](https://github.com/docker/docker-py/issues?q=milestone%3A1.3.1+is%3Aclosed) + +### Bugfixes + +* Fixed a bug where empty chunks in streams was misinterpreted as EOF. +* `datetime` arguments passed to `Client.events` parameters `since` and + `until` are now always considered to be UTC. +* Fixed a bug with Docker 1.7.x where the wrong auth headers were being passed + in `Client.build`, failing builds that depended on private images. +* `Client.exec_create` can now retrieve the `Id` key from a dictionary for its + container param. + +### Miscellaneous + +* 404 API status now raises `docker.errors.NotFound`. This exception inherits + `APIError` which was used previously. +* Docs fixes +* Test ixes + 1.3.0 ----- |