diff options
| -rw-r--r-- | recipes-containers/docker-compose/files/0001-Allow-newer-versions-of-requests.patch | 32 | ||||
| -rw-r--r-- | recipes-containers/docker-compose/files/0001-docker-compose-support-newer-minor-version-of-reques.patch | 44 | ||||
| -rw-r--r-- | recipes-containers/docker-compose/python3-docker-compose_1.21.2.bb (renamed from recipes-containers/docker-compose/python3-docker-compose_1.16.1.bb) | 6 |
3 files changed, 47 insertions, 35 deletions
diff --git a/recipes-containers/docker-compose/files/0001-Allow-newer-versions-of-requests.patch b/recipes-containers/docker-compose/files/0001-Allow-newer-versions-of-requests.patch deleted file mode 100644 index 6fc7bb4c..00000000 --- a/recipes-containers/docker-compose/files/0001-Allow-newer-versions-of-requests.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From 15cf1a31f5af8f09531bb837b92bd6ea49bd1744 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Pascal Bach <pascal.bach@siemens.com> | ||
| 3 | Date: Wed, 13 Sep 2017 08:41:21 +0200 | ||
| 4 | Subject: [PATCH] Allow newer versions of requests | ||
| 5 | |||
| 6 | docker compose has strict requirements to use requests < 2.12 | ||
| 7 | |||
| 8 | However it works without issues with newer versions, so this patch removes the check. | ||
| 9 | |||
| 10 | Upstream-Status: Pending | ||
| 11 | |||
| 12 | Signed-off-by: Pascal Bach <pascal.bach@siemens.com> | ||
| 13 | --- | ||
| 14 | setup.py | 2 +- | ||
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/setup.py b/setup.py | ||
| 18 | index 192a0f6..f444757 100644 | ||
| 19 | --- a/setup.py | ||
| 20 | +++ b/setup.py | ||
| 21 | @@ -33,7 +33,7 @@ install_requires = [ | ||
| 22 | 'cached-property >= 1.2.0, < 2', | ||
| 23 | 'docopt >= 0.6.1, < 0.7', | ||
| 24 | 'PyYAML >= 3.10, < 4', | ||
| 25 | - 'requests >= 2.6.1, != 2.11.0, < 2.12', | ||
| 26 | + 'requests >= 2.6.1, != 2.11.0', | ||
| 27 | 'texttable >= 0.9.0, < 0.10', | ||
| 28 | 'websocket-client >= 0.32.0, < 1.0', | ||
| 29 | 'docker >= 2.5.1, < 3.0', | ||
| 30 | -- | ||
| 31 | 2.1.4 | ||
| 32 | |||
diff --git a/recipes-containers/docker-compose/files/0001-docker-compose-support-newer-minor-version-of-reques.patch b/recipes-containers/docker-compose/files/0001-docker-compose-support-newer-minor-version-of-reques.patch new file mode 100644 index 00000000..48a6f25c --- /dev/null +++ b/recipes-containers/docker-compose/files/0001-docker-compose-support-newer-minor-version-of-reques.patch | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | From b4655b5e7f1e5b87a758dfd7af01a49a40ed148a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Li Zhou <li.zhou@windriver.com> | ||
| 3 | Date: Thu, 10 Oct 2019 15:46:20 +0800 | ||
| 4 | Subject: [PATCH] docker-compose: support newer minor version of requests | ||
| 5 | |||
| 6 | Signed-off-by: Ofek Lev <ofekmeister@gmail.com> | ||
| 7 | |||
| 8 | Upstream-Status: Backport | ||
| 9 | |||
| 10 | Signed-off-by: Li Zhou <li.zhou@windriver.com> | ||
| 11 | --- | ||
| 12 | requirements.txt | 2 +- | ||
| 13 | setup.py | 2 +- | ||
| 14 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/requirements.txt b/requirements.txt | ||
| 17 | index 93a0cce..42bde41 100644 | ||
| 18 | --- a/requirements.txt | ||
| 19 | +++ b/requirements.txt | ||
| 20 | @@ -16,7 +16,7 @@ pypiwin32==219; sys_platform == 'win32' and python_version < '3.6' | ||
| 21 | pypiwin32==220; sys_platform == 'win32' and python_version >= '3.6' | ||
| 22 | PySocks==1.6.7 | ||
| 23 | PyYAML==3.12 | ||
| 24 | -requests==2.18.4 | ||
| 25 | +requests==2.19.1 | ||
| 26 | six==1.10.0 | ||
| 27 | texttable==0.9.1 | ||
| 28 | urllib3==1.21.1 | ||
| 29 | diff --git a/setup.py b/setup.py | ||
| 30 | index 422ba54..a74ee0f 100644 | ||
| 31 | --- a/setup.py | ||
| 32 | +++ b/setup.py | ||
| 33 | @@ -33,7 +33,7 @@ install_requires = [ | ||
| 34 | 'cached-property >= 1.2.0, < 2', | ||
| 35 | 'docopt >= 0.6.1, < 0.7', | ||
| 36 | 'PyYAML >= 3.10, < 4', | ||
| 37 | - 'requests >= 2.6.1, != 2.11.0, != 2.12.2, != 2.18.0, < 2.19', | ||
| 38 | + 'requests >= 2.6.1, != 2.11.0, != 2.12.2, != 2.18.0, < 2.20', | ||
| 39 | 'texttable >= 0.9.0, < 0.10', | ||
| 40 | 'websocket-client >= 0.32.0, < 1.0', | ||
| 41 | 'docker >= 3.3.0, < 4.0', | ||
| 42 | -- | ||
| 43 | 1.9.1 | ||
| 44 | |||
diff --git a/recipes-containers/docker-compose/python3-docker-compose_1.16.1.bb b/recipes-containers/docker-compose/python3-docker-compose_1.21.2.bb index 851c2510..a7f7b1c9 100644 --- a/recipes-containers/docker-compose/python3-docker-compose_1.16.1.bb +++ b/recipes-containers/docker-compose/python3-docker-compose_1.21.2.bb | |||
| @@ -3,12 +3,12 @@ HOMEPAGE = "https://www.docker.com/" | |||
| 3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=435b266b3899aa8a959f17d41c56def8" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=435b266b3899aa8a959f17d41c56def8" |
| 5 | 5 | ||
| 6 | SRC_URI += "file://0001-Allow-newer-versions-of-requests.patch" | 6 | SRC_URI += "file://0001-docker-compose-support-newer-minor-version-of-reques.patch" |
| 7 | 7 | ||
| 8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools3 |
| 9 | 9 | ||
| 10 | SRC_URI[md5sum] = "8dcadf09143600fcb573b43f446c8f9a" | 10 | SRC_URI[md5sum] = "a243f59b2d286c41ff6ed1c4d4b50996" |
| 11 | SRC_URI[sha256sum] = "fb46a6a2c4d193a3ff1e4d7208eea920b629c81dc92257c87f3f93095cfb0bdf" | 11 | SRC_URI[sha256sum] = "68b07193755440d5f8d4f47e6f3484212afc255d5b785a81353ea1e9298c1c2c" |
| 12 | 12 | ||
| 13 | RDEPENDS_${PN} = "\ | 13 | RDEPENDS_${PN} = "\ |
| 14 | ${PYTHON_PN}-cached-property \ | 14 | ${PYTHON_PN}-cached-property \ |
