Skip to contentSkip to conversation

AUH python3-* upgrades

PATCH New Tim Orling 1 participant 5 messages Jan 24, 2022

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

cover AUH python3-* upgrades

Upgrades with the help of AUH for:
* python3-hypothesis
* python3-importlib-metadata
* python3-pyparsing
* python3-setuptools-scm

The following changes since commit 27ff420543f0195dab024698d804aca33f2ae139:

build-appliance-image: Update to master head revision (2022-01-22 11:28:56 +0000)

are available in the Git repository at:

git://git.yoctoproject.org/git/poky-contrib timo/auh-upgrades-2022-01-24
http://git.yoctoproject.org/cgit.cgi/git/poky-contrib/log/?h=timo/auh-upgrades-2022-01-24

Tim Orling (4):
python3-hypothesis: upgrade 6.35.0 -> 6.36.0 python3-importlib-metadata: upgrade 4.10.0 -> 4.10.1
python3-setuptools-scm: upgrade 6.3.2 -> 6.4.2
python3-pyparsing: upgrade 3.0.6 -> 3.0.7

 ...othesis_6.35.0.bb => python3-hypothesis_6.36.0.bb} |  2 +-
 ...4.10.0.bb => python3-importlib-metadata_4.10.1.bb} |  2 +-
 ...-pyparsing_3.0.6.bb => python3-pyparsing_3.0.7.bb} | 11 +++++++++--
 ...s-scm_6.3.2.bb => python3-setuptools-scm_6.4.2.bb} |  2 +-
 4 files changed, 12 insertions(+), 5 deletions(-)
 rename meta/recipes-devtools/python/{python3-hypothesis_6.35.0.bb => python3-hypothesis_6.36.0.bb} (91%)
 rename meta/recipes-devtools/python/{python3-importlib-metadata_4.10.0.bb => python3-importlib-metadata_4.10.1.bb} (88%)
 rename meta/recipes-devtools/python/{python3-pyparsing_3.0.6.bb => python3-pyparsing_3.0.7.bb} (47%)
 rename meta/recipes-devtools/python/{python3-setuptools-scm_6.3.2.bb => python3-setuptools-scm_6.4.2.bb} (89%)
Signature · 1 line
2.30.2
author
#1 lore raw

PATCH 1/4 python3-hypothesis: upgrade 6.35.0 -> 6.36.0

6.36.0 - 2022-01-19
* This release disallows using typing.Final with from_type() and register_type_strategy().
- Why? Because Final can only be used during class definition. We don’t generate class attributes.
- It also does not make sense as a runtime type on its own.

---
 ...ython3-hypothesis_6.35.0.bb => python3-hypothesis_6.36.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-hypothesis_6.35.0.bb => python3-hypothesis_6.36.0.bb} (91%)
meta/recipes-devtools/python/python3-hypothesis_6.36.0.bb renamed from meta/recipes-devtools/python/python3-hypothesis_6.35.0.bb +1 -1
similarity index 91%
rename from meta/recipes-devtools/python/python3-hypothesis_6.35.0.bb
rename to meta/recipes-devtools/python/python3-hypothesis_6.36.0.bb
index 246ff84f61a..3918d7d15cd 100644
@@ -13,7 +13,7 @@ SRC_URI += " \
     file://test_rle.py \
     "
 
-SRC_URI[sha256sum] = "ce3961fff61e7353d022608788cbc9876c293d2468749eeba27511adc9565131"
+SRC_URI[sha256sum] = "2b9c56faa067d660f0802679689f825bf142eec8261ab9e2e6ea916b1d8278a1"
 
 RDEPENDS:${PN} += " \
     python3-attrs \
Signature · 1 line
2.30.2
author
#2 lore raw

PATCH 2/4 python3-importlib-metadata: upgrade 4.10.0 -> 4.10.1

In reply to Tim Orling

v4.10.1
* 361: Avoid potential REDoS in EntryPoint.pattern.

References:
https://github.com/python/importlib_metadata/issues/361

---
 ...-metadata_4.10.0.bb => python3-importlib-metadata_4.10.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-importlib-metadata_4.10.0.bb => python3-importlib-metadata_4.10.1.bb} (88%)
meta/recipes-devtools/python/python3-importlib-metadata_4.10.1.bb renamed from meta/recipes-devtools/python/python3-importlib-metadata_4.10.0.bb +1 -1
similarity index 88%
rename from meta/recipes-devtools/python/python3-importlib-metadata_4.10.0.bb
rename to meta/recipes-devtools/python/python3-importlib-metadata_4.10.1.bb
index ea19afc0c23..ff40def563f 100644
@@ -8,7 +8,7 @@ inherit pypi setuptools3
 PYPI_PACKAGE = "importlib_metadata"
 UPSTREAM_CHECK_REGEX = "/importlib-metadata/(?P<pver>(\d+[\.\-_]*)+)/"
 
-SRC_URI[sha256sum] = "92a8b58ce734b2a4494878e0ecf7d79ccd7a128b5fc6014c401e0b61f006f0f6"
+SRC_URI[sha256sum] = "951f0d8a5b7260e9db5e41d429285b5f451e928479f19d80818878527d36e95e"
 
 S = "${WORKDIR}/importlib_metadata-${PV}"
 
Signature · 1 line
2.30.2
author
#3 lore raw

PATCH 3/4 python3-setuptools-scm: upgrade 6.3.2 -> 6.4.2

In reply to Tim Orling

v6.4.2
* fix #671 : NoReturn is not avaliable in painfully dead python 3.6

v6.4.1
* fix regression #669: restore get_version signature
* fix #668: harden the selftest for distribution extras

v6.4.0
* compatibility adjustments for setuptools >58
* only put minimal setuptools version into toml extra to warn people with old strict pins
* coorectly handle hg-git self-use
* better mercurial detection
* modernize packaging setup
* python 3.10 support
* better handling of setuptools install command deprecation
* consider pyproject.tomls when running as command
* use list in git describe command to avoid shell expansions while supporting both windows and posix
* add --strip-dev flag to python -m setuptools_scm to print the next guessed version cleanly
* ensure no-guess-dev will fail on bad tags instead of generating invalid versions
* ensure we use utc everywhere to avoid confusion

References:
https://github.com/pypa/setuptools_scm/issues/668
https://github.com/pypa/setuptools_scm/issues/669
https://github.com/pypa/setuptools_scm/issues/671

---
 ...-setuptools-scm_6.3.2.bb => python3-setuptools-scm_6.4.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-setuptools-scm_6.3.2.bb => python3-setuptools-scm_6.4.2.bb} (89%)
meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb renamed from meta/recipes-devtools/python/python3-setuptools-scm_6.3.2.bb +1 -1
similarity index 89%
rename from meta/recipes-devtools/python/python3-setuptools-scm_6.3.2.bb
rename to meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb
index bc594d96201..10dad5a37be 100644
@@ -4,7 +4,7 @@ DESCRIPTION = "setuptools_scm handles managing your Python package versions in S
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
 
-SRC_URI[sha256sum] = "a49aa8081eeb3514eb9728fa5040f2eaa962d6c6f4ec9c32f6c1fba88f88a0f2"
+SRC_URI[sha256sum] = "6833ac65c6ed9711a4d5d2266f8024cfa07c533a0e55f4c12f6eff280a5a9e30"
 
 PYPI_PACKAGE = "setuptools_scm"
 inherit pypi setuptools3
Signature · 1 line
2.30.2
author
#4 lore raw

PATCH 4/4 python3-pyparsing: upgrade 3.0.6 -> 3.0.7

In reply to Tim Orling

* Update HOMEPAGE to reflect move to github (in 2018)
* Add DESCRIPTION and BUGTRACKER

This upgrade includes bug fixes and minor enhancements.

For changes, see:
https://github.com/pyparsing/pyparsing/blob/master/CHANGES

---
 ...-pyparsing_3.0.6.bb => python3-pyparsing_3.0.7.bb} | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-pyparsing_3.0.6.bb => python3-pyparsing_3.0.7.bb} (47%)
meta/recipes-devtools/python/python3-pyparsing_3.0.7.bb renamed from meta/recipes-devtools/python/python3-pyparsing_3.0.6.bb +9 -2
similarity index 47%
rename from meta/recipes-devtools/python/python3-pyparsing_3.0.6.bb
rename to meta/recipes-devtools/python/python3-pyparsing_3.0.7.bb
index d15ff33e9b9..14faea6590b 100644
@@ -1,9 +1,16 @@
 SUMMARY = "Python parsing module"
-HOMEPAGE = "http://pyparsing.wikispaces.com/"
+DESCRIPTION = "The pyparsing module is an alternative approach to creating \
+and executing simple grammars, vs. the traditional lex/yacc approach, or \
+the use of regular expressions. The pyparsing module provides a library of \
+classes that client code uses to construct the grammar directly in Python \
+code."
+HOMEPAGE = "https://github.com/pyparsing/pyparsing/"
+BUGTRACKER = "https://github.com/pyparsing/pyparsing/issues"
+
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1"
 
-SRC_URI[sha256sum] = "d9bdec0013ef1eb5a84ab39a3b3868911598afa494f5faa038647101504e2b81"
+SRC_URI[sha256sum] = "18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea"
 
 UPSTREAM_CHECK_REGEX = "pyparsing-(?P<pver>.*)\.tar"
 
Signature · 1 line
2.30.2