Skip to contentSkip to conversation

python-docker-pycreds: move from meta-virtualization

PATCH In review Leon Anavi 2 participants 5 messages Apr 13, 2020 – Apr 14, 2020

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/3 python-docker-pycreds: move from meta-virtualization

Support for Python 2 has been dropped in meta-virtualization. Move python-docker-pycreds and other related recipes to meta-python2 for backward compatibility of legacy projects.

---
 recipes-devtools/python/python-docker-pycreds_0.4.0.bb | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 recipes-devtools/python/python-docker-pycreds_0.4.0.bb
recipes-devtools/python/python-docker-pycreds_0.4.0.bb new file +9 -0
new file mode 100644
index 0000000..4e9b3ac
@@ -0,0 +1,9 @@
+SUMMARY = "Python bindings for the docker credentials store API"
+HOMEPAGE = "https://github.com/shin-/dockerpy-creds"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+inherit pypi setuptools
+
+SRC_URI[md5sum] = "322f570cea6b4661c6ac335683988e18"
+SRC_URI[sha256sum] = "6ce3270bcaf404cc4c3e27e4b6c70d3521deae82fb508767870fdbf772d584d4"
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 2/3 python-websocket-client: move from meta-virtualization

Support for Python 2 has been dropped in meta-virtualization. Move python-websocket-client and other related recipes to meta-python2 for backward compatibility of legacy projects.

---
 recipes-devtools/python/python-websocket-client_0.44.0.bb | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 recipes-devtools/python/python-websocket-client_0.44.0.bb
recipes-devtools/python/python-websocket-client_0.44.0.bb new file +11 -0
new file mode 100644
index 0000000..962d29f
@@ -0,0 +1,11 @@
+SUMMARY = "WebSocket client for python. hybi13 is supported."
+HOMEPAGE = "https://github.com/websocket-client/websocket-client.git"
+LICENSE = "LGPL-3.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=18b09a20dd186af4fd60f1a08311628c"
+
+inherit pypi setuptools
+
+PYPI_PACKAGE = "websocket_client"
+
+SRC_URI[md5sum] = "73d87aa16a2212da448b30aca9c5bf3b"
+SRC_URI[sha256sum] = "15f585566e2ea7459136a632b9785aa081093064391878a448c382415e948d72"
Signature · 1 line
2.7.4
author
#2 lore raw

PATCH 3/3 python-docker: move from meta-virtualization

In reply to Leon Anavi

Support for Python 2 has been dropped in meta-virtualization. Move python-docker recipes to meta-python2 for backward compatibility of legacy projects. Dependencies python-docker-pycreds and python-websocket-client should be also present in meta-python2.

---
 recipes-devtools/python/python-docker_4.1.0.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 recipes-devtools/python/python-docker_4.1.0.bb
recipes-devtools/python/python-docker_4.1.0.bb new file +18 -0
new file mode 100644
index 0000000..434e463
@@ -0,0 +1,18 @@
+SUMMARY = "A Python library for the Docker Engine API."
+HOMEPAGE = "https://github.com/docker/docker-py"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=34f3846f940453127309b920eeb89660"
+
+inherit pypi setuptools
+
+SRC_URI[md5sum] = "e1e8dc73e3220fe9eec1faf80b0290de"
+SRC_URI[sha256sum] = "6e06c5e70ba4fad73e35f00c55a895a448398f3ada7faae072e2bb01348bafc1"
+
+RDEPENDS_${PN} += " \
+	python-misc \
+	python-six \
+	python-docker-pycreds \
+	python-requests \
+	python-websocket-client \
+	python-backports-ssl \
+"
Signature · 1 line
2.7.4
#3 lore raw

Re: [oe] [meta-python2][PATCH 3/3] python-docker: move from meta-virtualization

recipes-devtools/python/python-docker_4.1.0.bb

Quoted 17 lines · Leon Anavi

Support for Python 2 has been dropped in meta-virtualization. Move python-docker recipes to meta-python2 for backward compatibility of legacy projects. Dependencies python-docker-pycreds and python-websocket-client should be also present in meta-python2.

---
 recipes-devtools/python/python-docker_4.1.0.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 recipes-devtools/python/python-docker_4.1.0.bb
recipes-devtools/python/python-docker_4.1.0.bb new file +0 -0
new file mode 100644
index 0000000..434e463

Latest upstream is 4.2.0. Can you look into an upgrade?

Quoted 26 lines

<http://python-docker_4.1.0.bb>

recipes-devtools/python/python-docker_4.1.0.bb new file +9 -0
@@ -0,0 +1,18 @@
+SUMMARY = "A Python library for the Docker Engine API."
+HOMEPAGE = "https://github.com/docker/docker-py"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=34f3846f940453127309b920eeb89660"
+
+inherit pypi setuptools
+
+SRC_URI[md5sum] = "e1e8dc73e3220fe9eec1faf80b0290de"
+SRC_URI[sha256sum] =

"6e06c5e70ba4fad73e35f00c55a895a448398f3ada7faae072e2bb01348bafc1"

recipes-devtools/python/python-docker_4.1.0.bb new file +9 -1
+
+RDEPENDS_${PN} += " \
+       python-misc \
+       python-six \
+       python-docker-pycreds \
+       python-requests \
+       python-websocket-client \
+       python-backports-ssl \
+"
--

2.7.4

author
#4 lore raw

Re: [oe] [meta-python2][PATCH 3/3] python-docker: move from meta-virtualization

Hi Tim,

Based on your feedback I have just sent version 2 of the patches for python-docker and python-websocket-client for meta-python2. The patch for python-docker-pycreds remains the same so I haven't sent it again.

Thanks,
Leon

Quoted 58 lines · Tim Orling

On Mon, Apr 13, 2020 at 12:49 PM Leon Anavi <[email protected] <mailto:[email protected]>> wrote:

    Support for Python 2 has been dropped in meta-virtualization. Move
    python-docker recipes to meta-python2 for backward compatibility
    of legacy projects. Dependencies python-docker-pycreds and
    python-websocket-client should be also present in meta-python2.

    Signed-off-by: Leon Anavi <[email protected]
    <mailto:[email protected]>>
    ---
     recipes-devtools/python/python-docker_4.1.0.bb
    <http://python-docker_4.1.0.bb> | 18 ++++++++++++++++++
     1 file changed, 18 insertions(+)
     create mode 100644 recipes-devtools/python/python-docker_4.1.0.bb
    <http://python-docker_4.1.0.bb>

    diff --git a/recipes-devtools/python/python-docker_4.1.0.bb
    <http://python-docker_4.1.0.bb>
    b/recipes-devtools/python/python-docker_4.1.0.bb
    <http://python-docker_4.1.0.bb>
    new file mode 100644
    index 0000000..434e463
    --- /dev/null
    +++ b/recipes-devtools/python/python-docker_4.1.0.bb
    <http://python-docker_4.1.0.bb>

Latest upstream is 4.2.0. Can you look into an upgrade?

    @@ -0,0 +1,18 @@
    +SUMMARY = "A Python library for the Docker Engine API."
    +HOMEPAGE = "https://github.com/docker/docker-py"
    +LICENSE = "Apache-2.0"
    +LIC_FILES_CHKSUM =
    "file://LICENSE;md5=34f3846f940453127309b920eeb89660"
    +
    +inherit pypi setuptools
    +
    +SRC_URI[md5sum] = "e1e8dc73e3220fe9eec1faf80b0290de"
    +SRC_URI[sha256sum] =
    "6e06c5e70ba4fad73e35f00c55a895a448398f3ada7faae072e2bb01348bafc1"
    +
    +RDEPENDS_${PN} += " \
    +       python-misc \
    +       python-six \
    +       python-docker-pycreds \
    +       python-requests \
    +       python-websocket-client \
    +       python-backports-ssl \
    +"
    -- 
    2.7.4
Signature · 3 lines
Leon Anavi
Software Engineer
konsulko.com