[meta-python] python3-cbor2: upgrade 5.4.2 -> 5.4.3

Message ID 1652347207-2483-1-git-send-email-xuhuan.fnst@fujitsu.com
State Under Review
Headers show
Series [meta-python] python3-cbor2: upgrade 5.4.2 -> 5.4.3 | expand

Commit Message

XU Huan May 12, 2022, 9:20 a.m. UTC
From: Xu Huan <xuhuan.fnst@fujitsu.com>

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
---
 .../python/{python3-cbor2_5.4.2.bb => python3-cbor2_5.4.3.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-cbor2_5.4.2.bb => python3-cbor2_5.4.3.bb} (88%)

Comments

Ross Burton May 16, 2022, 3:41 p.m. UTC | #1
Was this actually tested?

$ buildhistory-diff
Changes to packages/aarch64-linux/python3-cbor2-native (sysroot):
  /usr/lib/python3.10/site-packages/UNKNOWN-5.4.3.dist-info was added
  /usr/lib/python3.10/site-packages/UNKNOWN-5.4.3.dist-info/LICENSE.txt was added
  /usr/lib/python3.10/site-packages/UNKNOWN-5.4.3.dist-info/METADATA was added
  /usr/lib/python3.10/site-packages/UNKNOWN-5.4.3.dist-info/RECORD was added
  /usr/lib/python3.10/site-packages/UNKNOWN-5.4.3.dist-info/top_level.txt was added
  /usr/lib/python3.10/site-packages/UNKNOWN-5.4.3.dist-info/WHEEL was added
  /usr/lib/python3.10/site-packages/cbor2 was removed
  /usr/lib/python3.10/site-packages/cbor2-5.4.2.dist-info was removed
  /usr/lib/python3.10/site-packages/cbor2-5.4.2.dist-info/LICENSE.txt was removed
  /usr/lib/python3.10/site-packages/cbor2-5.4.2.dist-info/METADATA was removed
  /usr/lib/python3.10/site-packages/cbor2-5.4.2.dist-info/RECORD was removed
  /usr/lib/python3.10/site-packages/cbor2-5.4.2.dist-info/top_level.txt was removed
  /usr/lib/python3.10/site-packages/cbor2-5.4.2.dist-info/WHEEL was removed
  /usr/lib/python3.10/site-packages/cbor2/decoder.py was removed
  /usr/lib/python3.10/site-packages/cbor2/encoder.py was removed
  /usr/lib/python3.10/site-packages/cbor2/__init__.py was removed
  /usr/lib/python3.10/site-packages/cbor2/__pycache__ was removed
  /usr/lib/python3.10/site-packages/cbor2/__pycache__/decoder.cpython-310.pyc was removed
  /usr/lib/python3.10/site-packages/cbor2/__pycache__/encoder.cpython-310.pyc was removed
  /usr/lib/python3.10/site-packages/cbor2/__pycache__/__init__.cpython-310.pyc was removed
  /usr/lib/python3.10/site-packages/cbor2/__pycache__/tool.cpython-310.pyc was removed
  /usr/lib/python3.10/site-packages/cbor2/__pycache__/types.cpython-310.pyc was removed
  /usr/lib/python3.10/site-packages/cbor2/tool.py was removed
  /usr/lib/python3.10/site-packages/cbor2/types.py was removed

The recipe simply installs the _cbor.so, and nothing else.

Can we have an emergency revert before this is fixed properly?

Ross
Ross Burton May 16, 2022, 3:57 p.m. UTC | #2
So this breaks silently because we don't yet check build dependencies when doing the build, which I'm working on.

The recipe is missing a dependency on setuptools-scm, and our setuptools recipe needs an upgrade.

Definitely revert this until those are fixed.

Ross
Khem Raj May 16, 2022, 4:11 p.m. UTC | #3
On 5/16/22 8:57 AM, Ross Burton wrote:
> So this breaks silently because we don't yet check build dependencies when doing the build, which I'm working on.
> 
> The recipe is missing a dependency on setuptools-scm, and our setuptools recipe needs an upgrade.
> 
> Definitely revert this until those are fixed.
> 

reverted.

> Ross
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#97136): https://lists.openembedded.org/g/openembedded-devel/message/97136
> Mute This Topic: https://lists.openembedded.org/mt/91054361/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

Patch

diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.4.2.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.4.3.bb
similarity index 88%
rename from meta-python/recipes-devtools/python/python3-cbor2_5.4.2.bb
rename to meta-python/recipes-devtools/python/python3-cbor2_5.4.3.bb
index cafc32ad1..0890b99c0 100644
--- a/meta-python/recipes-devtools/python/python3-cbor2_5.4.2.bb
+++ b/meta-python/recipes-devtools/python/python3-cbor2_5.4.3.bb
@@ -4,7 +4,7 @@  DEPENDS +="${PYTHON_PN}-setuptools-scm-native"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
 
-SRC_URI[sha256sum] = "e283e70b55a049ff364cc5e648fde587e4d9b0e87e4b2664c69e639135e6b3b8"
+SRC_URI[sha256sum] = "62b863c5ee6ced4032afe948f3c1484f375550995d3b8498145237fe28e546c2"
 
 inherit pypi python_setuptools_build_meta ptest