summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-distro_1.6.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-distro: Upgrade 1.6.0 -> 1.7.0Leon Anavi2022-02-241-12/+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 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-distro: Upgrade 1.5.0 -> 1.6.0Leon Anavi2021-08-161-0/+12
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> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>