[meta-python,5/5] python3-distro: Upgrade 1.5.0 -> 1.6.0

Submitted by Leon Anavi on Aug. 10, 2021, 8:30 a.m. | Patch ID: 180025

Details

Message ID 20210810083058.29524-5-leon.anavi@konsulko.com
State Accepted
Commit 82c9ddd853c44b1f2e349657f32e6b8555a77704
Headers show

Commit Message

Leon Anavi Aug. 10, 2021, 8:30 a.m.
Upgrade to release:

BACKWARDS COMPATIBILITY:
- Deprecated the distro.linux_distribution() function. Use
  distro.id(), distro.version() and distro.name() instead
- Deprecated Python 2.7, 3.4 and 3.5 support. Further releases
  will only support Python 3.6+
ENHANCEMENTS:
- Added type hints to distro module
- Added __version__ for checking distro version
- Added support for arbitrary rootfs via the root_dir parameter
- Added the --root-dir option to CLI
- Added fallback to /usr/lib/os-release when /etc/os-release isn't
  available
BUG FIXES:
- Fixed subprocess.CalledProcessError when running lsb_release
- Ignore /etc/iredmail-release file while parsing distribution
- Use a binary file for /dev/null to avoid TextIOWrapper overhead
RELEASE:
- Moved repository from nir0s/distro to python-distro/distro on
  GitHub.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{python3-distro_1.5.0.bb => python3-distro_1.6.0.bb}       | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-distro_1.5.0.bb => python3-distro_1.6.0.bb} (65%)

Patch hide | download patch | download mbox

diff --git a/meta-python/recipes-devtools/python/python3-distro_1.5.0.bb b/meta-python/recipes-devtools/python/python3-distro_1.6.0.bb
similarity index 65%
rename from meta-python/recipes-devtools/python/python3-distro_1.5.0.bb
rename to meta-python/recipes-devtools/python/python3-distro_1.6.0.bb
index aaaee0deee..8aa2255670 100644
--- a/meta-python/recipes-devtools/python/python3-distro_1.5.0.bb
+++ b/meta-python/recipes-devtools/python/python3-distro_1.6.0.bb
@@ -5,8 +5,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
 
 PYPI_PACKAGE = "distro"
 
-SRC_URI[md5sum] = "0ed68b4064709bdaaf6cce69780ddc51"
-SRC_URI[sha256sum] = "0e58756ae38fbd8fc3020d54badb8eae17c5b9dcbed388b17bb55b8a5928df92"
+SRC_URI[sha256sum] = "83f5e5a09f9c5f68f60173de572930effbcc0287bb84fdc4426cb4168c088424"
 
 inherit pypi setuptools3