Skip to contentSkip to conversation

python3-distro: Upgrade 1.6.0 -> 1.7.0

PATCH New Leon Anavi 1 participant 2 messages Feb 22, 2022

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/2 python3-distro: Upgrade 1.6.0 -> 1.7.0

Upgrade to release 1.7.0:

- Dropped support for EOL Pythons 2.7, 3.4 and 3.5
- Dropped support for LSB and uname back-ends when --root-dir is specified
- Moved distro.py to src/distro/distro.py
- Documented that distro.version() can return an empty string on rolling releases
- Documented support for Python 3.10
- Added official support for Rocky Linux distribution
- Added a shebang to distro.py to allow standalone execution
- Added support for AIX platforms
- Added compliance for PEP-561
- Fixed include_uname parameter oversight
- Fixed crash when uname -rs output is empty
- Fixed Amazon Linux identifier in distro.id() documentation
- Fixed OpenSuse >= 15 support
- Fixed encoding issues when opening distro release files
- Fixed linux_distribution regression

---
 .../{python3-distro_1.6.0.bb => python3-distro_1.7.0.bb} | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-distro_1.6.0.bb => python3-distro_1.7.0.bb} (56%)
meta-python/recipes-devtools/python/python3-distro_1.7.0.bb renamed from meta-python/recipes-devtools/python/python3-distro_1.6.0.bb +8 -1
similarity index 56%
rename from meta-python/recipes-devtools/python/python3-distro_1.6.0.bb
rename to meta-python/recipes-devtools/python/python3-distro_1.7.0.bb
index 8aa225567..f069234d1 100644
@@ -5,8 +5,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
 
 PYPI_PACKAGE = "distro"
 
-SRC_URI[sha256sum] = "83f5e5a09f9c5f68f60173de572930effbcc0287bb84fdc4426cb4168c088424"
+SRC_URI[sha256sum] = "151aeccf60c216402932b52e40ee477a939f8d58898927378a02abbe852c1c39"
 
 inherit pypi setuptools3
 
+RDEPENDS:${PN} = "\
+	${PYTHON_PN}-core \
+	${PYTHON_PN}-json \
+	${PYTHON_PN}-logging \
+	${PYTHON_PN}-shell \
+"
+
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.30.2
author
#1 lore raw

PATCH 2/2 python3-click: Upgrade 8.0.3 -> 8.0.4

Upgrade to release 8.0.4:

- open_file recognizes Path("-") as a standard stream, the same as the string "-".
- The option and argument decorators preserve the type annotation of the decorated function.
- A callable default value can customize its help text by overriding __str__ instead of always showing (dynamic).
- Fix a typo in the Bash completion script that affected file and directory completion. If this script was generated by a previous version, it should be regenerated.
- Fix typing for echo and secho file argument.

---
 .../python/{python3-click_8.0.3.bb => python3-click_8.0.4.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-click_8.0.3.bb => python3-click_8.0.4.bb} (92%)
meta-python/recipes-devtools/python/python3-click_8.0.4.bb renamed from meta-python/recipes-devtools/python/python3-click_8.0.3.bb +1 -1
similarity index 92%
rename from meta-python/recipes-devtools/python/python3-click_8.0.3.bb
rename to meta-python/recipes-devtools/python/python3-click_8.0.4.bb
index c31d06567..76f7a8e65 100644
@@ -8,7 +8,7 @@ HOMEPAGE = "http://click.pocoo.org/"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=1fa98232fd645608937a0fdc82e999b8"
 
-SRC_URI[sha256sum] = "410e932b050f5eed773c4cda94de75971c89cdb3155a72a0831139a79e5ecb5b"
+SRC_URI[sha256sum] = "8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb"
 
 inherit pypi setuptools3 ptest
 
Signature · 1 line
2.30.2