Skip to contentSkip to conversation

podman-compose: remove pypi inherit to fix do_fetch

PATCH In review Martin Jansa 2 participants 2 messages Jul 2, 2021 – Jul 4, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 podman-compose: remove pypi inherit to fix do_fetch

* now when pypi uses SRC_URI_prepend since:
https://git.openembedded.org/openembedded-core/commit/?id=8f17b8bce85efb0e9a7e15d0b98a5cf7b6bd9750
both entries end in SRC_URI (because of delayed nature of prepend):
https://files.pythonhosted.org/packages/source/p/podman-compose/podman-compose-0.1.5.tar.gz
git://github.com/containers/podman-compose.git

causing:
ERROR: podman-compose-0.1.5-r0 do_fetch: No checksum specified for '/OE/build/oe-core/downloads/podman-compose-0.1.5.tar.gz', please add at least one to the recipe:
SRC_URI[sha256sum] = "fb229362f188980ea3fbdee2a25d0a2dd6a0b886d925d5213e22e09f1062ebe9"
ERROR: podman-compose-0.1.5-r0 do_fetch: Fetcher failure for URL: 'https://files.pythonhosted.org/packages/source/p/podman-compose/podman-compose-0.1.5.tar.gz'. Missing SRC_URI checksum
ERROR: Logfile of failure stored in: /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/podman-compose/0.1.5-r0/temp/log.do_fetch.55855

drop pypi inherit to restore the previous SRC_URI with just the git:// entry.

---
 recipes-containers/podman-compose/podman-compose_0.1.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/podman-compose/podman-compose_0.1.5.bb +1 -1
index bf91705..1b91a92 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "An implementation of docker-compose with podman backend"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-inherit setuptools3 pypi
+inherit setuptools3
 
 SRC_URI = "git://github.com/containers/podman-compose.git;branch=devel"
 
Signature · 1 line
2.30.2
#1 lore raw

In message: [meta-virtualization][PATCH] podman-compose: remove pypi inherit to fix do_fetch

Quoted 6 lines · on 02/07/2021 Martin Jansa wrote:

* now when pypi uses SRC_URI_prepend since:
https://git.openembedded.org/openembedded-core/commit/?id=8f17b8bce85efb0e9a7e15d0b98a5cf7b6bd9750
both entries end in SRC_URI (because of delayed nature of prepend):
https://files.pythonhosted.org/packages/source/p/podman-compose/podman-compose-0.1.5.tar.gz
git://github.com/containers/podman-compose.git

Quoted 7 lines

causing:
ERROR: podman-compose-0.1.5-r0 do_fetch: No checksum specified for '/OE/build/oe-core/downloads/podman-compose-0.1.5.tar.gz', please add at least one to the recipe:
SRC_URI[sha256sum] = "fb229362f188980ea3fbdee2a25d0a2dd6a0b886d925d5213e22e09f1062ebe9"
ERROR: podman-compose-0.1.5-r0 do_fetch: Fetcher failure for URL: 'https://files.pythonhosted.org/packages/source/p/podman-compose/podman-compose-0.1.5.tar.gz'. Missing SRC_URI checksum
ERROR: Logfile of failure stored in: /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/podman-compose/0.1.5-r0/temp/log.do_fetch.55855

drop pypi inherit to restore the previous SRC_URI with just the git:// entry.

Thanks for the fixup.

This is now merged.

Bruce

Quoted 26 lines
---
 recipes-containers/podman-compose/podman-compose_0.1.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/podman-compose/podman-compose_0.1.5.bb +1 -1
index bf91705..1b91a92 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "An implementation of docker-compose with podman backend"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-inherit setuptools3 pypi
+inherit setuptools3
 
 SRC_URI = "git://github.com/containers/podman-compose.git;branch=devel"
 
Signature · 1 line
2.30.2