Skip to contentSkip to conversation

python3-nocaselist: Upgrade 1.0.6 -> 1.1.0

PATCH New Leon Anavi 1 participant 2 messages Jan 24, 2023

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/2 python3-nocaselist: Upgrade 1.0.6 -> 1.1.0

Upgrade to release 1.1.0:

- The default casefolding method on Python 3 was changed from str.lower() to str.casefold(). This changes the matching of the case-insensitive values. This shold normally be an improvement, but in case you find that you are negatively affected by this change, you can go back to the str.lower() method by overriding the NocaseDict.__casefold__() method with a method that calls str.lower().
- Added support for Python 3.11.
- Changed the default casefolding method on Python 3 to be str.casefold() in order to improve Unicode support. On Python 2, it remains str.lower(). Added support for user-defined casefolding.
- Added support for storing None as a value in a NocaseList. Previously, that was rejected with AttributeError since the casefold method was attempted to be called on the None value.

---
 ...hon3-nocaselist_1.0.6.bb => python3-nocaselist_1.1.0.bb} | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-nocaselist_1.0.6.bb => python3-nocaselist_1.1.0.bb} (63%)
meta-python/recipes-devtools/python/python3-nocaselist_1.1.0.bb renamed from meta-python/recipes-devtools/python/python3-nocaselist_1.0.6.bb +5 -1
similarity index 63%
rename from meta-python/recipes-devtools/python/python3-nocaselist_1.0.6.bb
rename to meta-python/recipes-devtools/python/python3-nocaselist_1.1.0.bb
index 9e6842961..4b93ca98f 100644
@@ -3,6 +3,10 @@ HOMEPAGE = "https://nocaselist.readthedocs.io/en/latest/"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
 
-SRC_URI[sha256sum] = "48f067f8cb841245f34d03120bc1ba9900f13b19cb51bcc6c7bee017f7c874da"
+SRC_URI[sha256sum] = "a99384abc700c409e9def7143763e18dfad332fdff7e30fae1f6d1a30b372772"
 
 inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+	${PYTHON_PN}-six \
+"
Signature · 1 line
2.30.2
author
#1 lore raw

PATCH 2/2 python3-nocasedict: Upgrade 1.0.4 -> 1.1.0

Upgrade to release 1.1.0:

- The default casefolding method on Python 3 was changed from str.lower() to str.casefold(). This changes the matching of the case-insensitive keys. This shold normally be an improvement, but in case you find that you are negatively affected by this change, you can go back to the str.lower() method by overriding the NocaseDict.__casefold__() method with a method that calls str.lower().
- Added support for Python 3.11.
- Changed the default casefolding method on Python 3 to be str.casefold() in order to improve Unicode support. On Python 2, it remains str.lower(). Added support for user-defined casefolding.

---
 ...{python3-nocasedict_1.0.4.bb => python3-nocasedict_1.1.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-nocasedict_1.0.4.bb => python3-nocasedict_1.1.0.bb} (76%)
meta-python/recipes-devtools/python/python3-nocasedict_1.1.0.bb renamed from meta-python/recipes-devtools/python/python3-nocasedict_1.0.4.bb +1 -1
similarity index 76%
rename from meta-python/recipes-devtools/python/python3-nocasedict_1.0.4.bb
rename to meta-python/recipes-devtools/python/python3-nocasedict_1.1.0.bb
index 006799c8b..319598e3b 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pywbem/nocasedict"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
 
-SRC_URI[sha256sum] = "7c111da4cefd244433cb63377aff081a40f84bddae9e6f376c67f086c0f806da"
+SRC_URI[sha256sum] = "ac551de692be6aea5b43ac3f2c33780df940013ac6dd0718fb552c8b560ba661"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.30.2