Skip to contentSkip to conversation

python3-chardet: Upgrade 3.0.4 -> 4.0.0

PATCH In review Leon Anavi 2 participants 4 messages Dec 22, 2020 – Jan 4, 2021

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/2 python3-chardet: Upgrade 3.0.4 -> 4.0.0

Upgrade to release 4.0.0:

- Single-byte charset probers now use nested dictionaries under the hood, so they are usually a little faster than before.
- The CharsetGroupProber class now properly short-circuits when one of the probers in the group is considered a definite match. This lead to a substantial speedup.
- There is now a chardet.detect_all function that returns a list of possible encodings for the input with associated confidences.
- Support for Python 2.6, 3.4, and 3.5 was dropped as they are all past end-of-life.

---
 .../{python3-chardet_3.0.4.bb => python3-chardet_4.0.0.bb}     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-chardet_3.0.4.bb => python3-chardet_4.0.0.bb} (77%)
meta-python/recipes-devtools/python/python3-chardet_4.0.0.bb renamed from meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb +1 -2
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb
rename to meta-python/recipes-devtools/python/python3-chardet_4.0.0.bb
index 80785b8d4e..4caf33cb25 100644
@@ -2,8 +2,7 @@ SUMMARY = "Universal encoding detector for Python 2 and 3"
 LICENSE = "LGPL-2.1"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343"
 
-SRC_URI[md5sum] = "7dd1ba7f9c77e32351b0a0cfacf4055c"
-SRC_URI[sha256sum] = "84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"
+SRC_URI[sha256sum] = "0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa"
 
 # setup.py of chardet needs this.
 DEPENDS += "${PYTHON_PN}-pytest-runner-native"
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/2 python3-watchdog: Upgrade 0.10.3 -> 1.0.2

Upgrade to release 1.0.2:

- Versioning is now following the semver
- Drop support for Python 2.7, 3.4 and 3.5
- Use pathlib from the standard library, instead of pathtools
- Allow file paths on Unix that don't follow the file system encoding
- Removed the long-time deprecated events.LoggingFileSystemEventHandler class, use LoggingEventHandler instead
- Wheels are published for GNU/Linux, macOS and Windows
- Uniformize event for deletion of watched dir

---
 .../{python3-watchdog_0.10.3.bb => python3-watchdog_1.0.2.bb}  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-watchdog_0.10.3.bb => python3-watchdog_1.0.2.bb} (72%)
meta-python/recipes-devtools/python/python3-watchdog_1.0.2.bb renamed from meta-python/recipes-devtools/python/python3-watchdog_0.10.3.bb +1 -2
similarity index 72%
rename from meta-python/recipes-devtools/python/python3-watchdog_0.10.3.bb
rename to meta-python/recipes-devtools/python/python3-watchdog_1.0.2.bb
index 2108cbb93b..698dfe7704 100644
@@ -4,8 +4,7 @@ DEPENDS = "${PYTHON_PN}-argh"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRC_URI[md5sum] = "9a5c9134e943b534b9f8b51d78338cf8"
-SRC_URI[sha256sum] = "4214e1379d128b0588021880ccaf40317ee156d4603ac388b9adcf29165e0c04"
+SRC_URI[sha256sum] = "376cbc2a35c0392b0fe7ff16fbc1b303fd99d4dd9911ab5581ee9d69adc88982"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 2/2
#2 lore raw

Re: [oe] [meta-python][PATCH 2/2] python3-watchdog: Upgrade 0.10.3 -> 1.0.2

Quoted 11 lines · Leon Anavi

- Versioning is now following the semver
- Drop support for Python 2.7, 3.4 and 3.5
- Use pathlib from the standard library, instead of pathtools
- Allow file paths on Unix that don't follow the file system encoding
- Removed the long-time deprecated events.LoggingFileSystemEventHandler class, use LoggingEventHandler instead
- Wheels are published for GNU/Linux, macOS and Windows
- Uniformize event for deletion of watched dir

Quoted 25 lines
---
  .../{python3-watchdog_0.10.3.bb => python3-watchdog_1.0.2.bb}  | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-watchdog_0.10.3.bb => python3-watchdog_1.0.2.bb} (72%)

meta-python/recipes-devtools/python/python3-watchdog_1.0.2.bb renamed from meta-python/recipes-devtools/python/python3-watchdog_0.10.3.bb +1 -2
similarity index 72%
rename from meta-python/recipes-devtools/python/python3-watchdog_0.10.3.bb
rename to meta-python/recipes-devtools/python/python3-watchdog_1.0.2.bb
index 2108cbb93b..698dfe7704 100644
@@ -4,8 +4,7 @@ DEPENDS = "${PYTHON_PN}-argh"
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRC_URI[md5sum] = "9a5c9134e943b534b9f8b51d78338cf8"
-SRC_URI[sha256sum] = "4214e1379d128b0588021880ccaf40317ee156d4603ac388b9adcf29165e0c04"
+SRC_URI[sha256sum] = "376cbc2a35c0392b0fe7ff16fbc1b303fd99d4dd9911ab5581ee9d69adc88982"
 
  inherit pypi setuptools3
 
Acked-by on v1 1/2
#3 lore raw
In reply to Leon Anavi
Quoted 11 lines · Leon Anavi

- Single-byte charset probers now use nested dictionaries under the hood, so they are usually a little faster than before.
- The CharsetGroupProber class now properly short-circuits when one of the probers in the group is considered a definite match. This lead to a substantial speedup.
- There is now a chardet.detect_all function that returns a list of possible encodings for the input with associated confidences.
- Support for Python 2.6, 3.4, and 3.5 was dropped as they are all past end-of-life.

Quoted 25 lines
---
  .../{python3-chardet_3.0.4.bb => python3-chardet_4.0.0.bb}     | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-chardet_3.0.4.bb => python3-chardet_4.0.0.bb} (77%)

meta-python/recipes-devtools/python/python3-chardet_4.0.0.bb renamed from meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb +1 -2
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb
rename to meta-python/recipes-devtools/python/python3-chardet_4.0.0.bb
index 80785b8d4e..4caf33cb25 100644
@@ -2,8 +2,7 @@ SUMMARY = "Universal encoding detector for Python 2 and 3"
  LICENSE = "LGPL-2.1"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343"
 
-SRC_URI[md5sum] = "7dd1ba7f9c77e32351b0a0cfacf4055c"
-SRC_URI[sha256sum] = "84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"
+SRC_URI[sha256sum] = "0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa"
 
  # setup.py of chardet needs this.
  DEPENDS += "${PYTHON_PN}-pytest-runner-native"