Skip to contentSkip to conversation

python3-pint: upgrade 0.9 -> 0.11

PATCH Superseded Martin Kelly 2 participants 5 messages Mar 25, 2020

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python3-pint: upgrade 0.9 -> 0.11

Also add a dependency on python3-setuptools-scm-native to make this build with the newer version.

---
 meta-python/recipes-devtools/python/python-pint.inc         | 6 ++++--
 .../python/{python3-pint_0.9.bb => python3-pint_0.11.bb}    | 0
 2 files changed, 4 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pint_0.9.bb => python3-pint_0.11.bb} (100%)
meta-python/recipes-devtools/python/python-pint.inc +4 -2
index 0900d91d7..4a9300900 100644
@@ -9,7 +9,9 @@ PYPI_PACKAGE := "Pint"
 
 inherit pypi
 
-SRC_URI[md5sum] = "d0681cb7cfaca9fc68ce7edab0d08d88"
-SRC_URI[sha256sum] = "32d8a9a9d63f4f81194c0014b3b742679dce81a26d45127d9810a68a561fe4e2"
+SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965"
+SRC_URI[sha256sum] = "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d"
+
+DEPENDS += "python3-setuptools-scm-native"
 
 BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python3-pint_0.11.bb renamed from meta-python/recipes-devtools/python/python3-pint_0.9.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-pint_0.9.bb
rename to meta-python/recipes-devtools/python/python3-pint_0.11.bb
Signature · 1 line
2.25.1
#1 lore raw
Quoted 3 lines · Martin Kelly

Also add a dependency on python3-setuptools-scm-native to make this build with the newer version.

Can you rebase it on master-next please ?

Quoted 31 lines
---
  meta-python/recipes-devtools/python/python-pint.inc         | 6 ++++--
  .../python/{python3-pint_0.9.bb => python3-pint_0.11.bb}    | 0
  2 files changed, 4 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pint_0.9.bb => python3-pint_0.11.bb} (100%)

meta-python/recipes-devtools/python/python-pint.inc +4 -2
index 0900d91d7..4a9300900 100644
@@ -9,7 +9,9 @@ PYPI_PACKAGE := "Pint"
 
  inherit pypi
 
-SRC_URI[md5sum] = "d0681cb7cfaca9fc68ce7edab0d08d88"
-SRC_URI[sha256sum] = "32d8a9a9d63f4f81194c0014b3b742679dce81a26d45127d9810a68a561fe4e2"
+SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965"
+SRC_URI[sha256sum] = "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d"
+
+DEPENDS += "python3-setuptools-scm-native"
 
  BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python3-pint_0.11.bb renamed from meta-python/recipes-devtools/python/python3-pint_0.9.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-pint_0.9.bb
rename to meta-python/recipes-devtools/python/python3-pint_0.11.bb
#2 lore raw
Quoted 9 lines · Khem Raj
Quoted 3 lines · Martin Kelly

Also add a dependency on python3-setuptools-scm-native to make this build with the newer version.

Can you rebase it on master-next please ?

I just did, and it applies cleanly with no changes (applying on top of cfa5f5689: "python3-matplotlib: update to version 3.2.1"). Would you like me to send an identical v3 anyway?

That aside, I will make sure to base future patches on master-next.

Quoted 30 lines
Quoted 30 lines

---
  meta-python/recipes-devtools/python/python-pint.inc         | 6 ++++-- .../python/{python3-pint_0.9.bb => python3-pint_0.11.bb}    | 0

  2 files changed, 4 insertions(+), 2 deletions(-)

  rename meta-python/recipes-devtools/python/{python3-pint_0.9.bb => python3-pint_0.11.bb} (100%)

meta-python/recipes-devtools/python/python-pint.inc +0 -0
index 0900d91d7..4a9300900 100644
@@ -9,7 +9,9 @@ PYPI_PACKAGE := "Pint"

  inherit pypi

meta-python/recipes-devtools/python/python-pint.inc +0 -2
-SRC_URI[md5sum] = "d0681cb7cfaca9fc68ce7edab0d08d88"
-SRC_URI[sha256sum] = 

"32d8a9a9d63f4f81194c0014b3b742679dce81a26d45127d9810a68a561fe4e2"

meta-python/recipes-devtools/python/python-pint.inc +2 -0
+SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965"
+SRC_URI[sha256sum] = 

"308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d"

meta-python/recipes-devtools/python/python-pint.inc +2 -0
+
+DEPENDS += "python3-setuptools-scm-native"

  BBCLASSEXTEND = "native"

meta-python/recipes-devtools/python/python3-pint_0.11.bb renamed from meta-python/recipes-devtools/python/python3-pint_0.9.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-pint_0.9.bb
rename to meta-python/recipes-devtools/python/python3-pint_0.11.bb
#3 lore raw
Quoted 9 lines · Martin Kelly
Quoted 7 lines · Khem Raj
Quoted 3 lines · Martin Kelly

Also add a dependency on python3-setuptools-scm-native to make this build with the newer version.

Quoted 9 lines
Quoted 2 lines

Can you rebase it on master-next please ?

I just did, and it applies cleanly with no changes (applying on top of
cfa5f5689: "python3-matplotlib: update to version 3.2.1"). Would you like me to send an identical v3 anyway?

That aside, I will make sure to base future patches on master-next.

Description: [meta-python,v2] python3-pint: upgrade 0.9 -> 0.11
Applying: python3-pint: upgrade 0.9 -> 0.11
error: patch failed: meta-python/recipes-devtools/python/python-pint.inc:9
error: meta-python/recipes-devtools/python/python-pint.inc: patch does not apply Patch failed at 0001 python3-pint: upgrade 0.9 -> 0.11
hint: Use 'git am --show-current-patch=diff' to see the failed patch When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort". 'git am' failed with exit status 128

Quoted 34 lines
Quoted 33 lines
Quoted 33 lines
---
  meta-python/recipes-devtools/python/python-pint.inc         | 6 ++++--
  .../python/{python3-pint_0.9.bb => python3-pint_0.11.bb}    | 0
  2 files changed, 4 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pint_0.9.bb =>
python3-pint_0.11.bb} (100%)

meta-python/recipes-devtools/python/python-pint.inc +0 -2
index 0900d91d7..4a9300900 100644
@@ -9,7 +9,9 @@ PYPI_PACKAGE := "Pint"
  inherit pypi
-SRC_URI[md5sum] = "d0681cb7cfaca9fc68ce7edab0d08d88"
-SRC_URI[sha256sum] =

"32d8a9a9d63f4f81194c0014b3b742679dce81a26d45127d9810a68a561fe4e2"

meta-python/recipes-devtools/python/python-pint.inc +2 -0
+SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965"
+SRC_URI[sha256sum] =

"308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d"

meta-python/recipes-devtools/python/python-pint.inc +2 -0
+
+DEPENDS += "python3-setuptools-scm-native"
  BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python3-pint_0.11.bb renamed from meta-python/recipes-devtools/python/python3-pint_0.9.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-pint_0.9.bb
rename to meta-python/recipes-devtools/python/python3-pint_0.11.bb
#4 lore raw
Quoted 21 lines · Khem Raj
Quoted 9 lines · Martin Kelly
Quoted 7 lines · Khem Raj
Quoted 3 lines · Martin Kelly

Also add a dependency on python3-setuptools-scm-native to make this build with the newer version.

Quoted 9 lines
Quoted 2 lines

Can you rebase it on master-next please ?

I just did, and it applies cleanly with no changes (applying on top of
cfa5f5689: "python3-matplotlib: update to version 3.2.1"). Would you like me to send an identical v3 anyway?

That aside, I will make sure to base future patches on master-next.

Quoted 11 lines

Description: [meta-python,v2] python3-pint: upgrade 0.9 -> 0.11
Applying: python3-pint: upgrade 0.9 -> 0.11
error: patch failed: meta-python/recipes-devtools/python/python-pint.inc:9
error: meta-python/recipes-devtools/python/python-pint.inc: patch does not apply Patch failed at 0001 python3-pint: upgrade 0.9 -> 0.11
hint: Use 'git am --show-current-patch=diff' to see the failed patch When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort". 'git am' failed with exit status 128

I see now, it appears that git am is pickier about auto-merging than git rebase is, as it's failing while git rebase worked fine. I sent a v3 rebased onto master-next, and I confirmed that git am succeeds.

Quoted 34 lines
Quoted 34 lines
Quoted 33 lines
Quoted 33 lines
---
   meta-python/recipes-devtools/python/python-pint.inc         | 6 ++++--
   .../python/{python3-pint_0.9.bb => python3-pint_0.11.bb}    | 0
   2 files changed, 4 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pint_0.9.bb =>
python3-pint_0.11.bb} (100%)

meta-python/recipes-devtools/python/python-pint.inc +0 -2
index 0900d91d7..4a9300900 100644
@@ -9,7 +9,9 @@ PYPI_PACKAGE := "Pint"
   inherit pypi
-SRC_URI[md5sum] = "d0681cb7cfaca9fc68ce7edab0d08d88"
-SRC_URI[sha256sum] =

"32d8a9a9d63f4f81194c0014b3b742679dce81a26d45127d9810a68a561fe4e2"

meta-python/recipes-devtools/python/python-pint.inc +2 -0
+SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965"
+SRC_URI[sha256sum] =

"308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d"

meta-python/recipes-devtools/python/python-pint.inc +2 -0
+
+DEPENDS += "python3-setuptools-scm-native"
   BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python3-pint_0.11.bb renamed from meta-python/recipes-devtools/python/python3-pint_0.9.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-pint_0.9.bb
rename to meta-python/recipes-devtools/python/python3-pint_0.11.bb