Overview

Request 910038 accepted

- Update to version 1.6.0
* Deprecated the distro.linux_distribution() function. Use distro.id(), distro.version() and distro.name() instead [#296]
* Deprecated Python 2.7, 3.4 and 3.5 support. Further releases will only support Python 3.6+
* Added type hints to distro module [#269]
* Added __version__ for checking distro version [#292]
* Added support for arbitrary rootfs via the root_dir parameter [#247]
* Added the --root-dir option to CLI [#161]
* Added fallback to /usr/lib/os-release when /etc/os-release isn't available [#262]
* Fixed subprocess.CalledProcessError when running lsb_release [#261]
* Ignore /etc/iredmail-release file while parsing distribution [#268]
* Use a binary file for /dev/null to avoid TextIOWrapper overhead [#271]


Jochen Breuer's avatar

I can see that there is a build for SLE_15_SP2. While this build is not failing, version 1.6.0 is deprecating support for Python 2.7 and even 3.4 and 3.5. So maybe there shouldn't even be a build for Python 2 anymore or you might want to reconsider not pulling in version 1.6.0 right now.


Jochen Breuer's avatar

Please see discussion here: https://lists.opensuse.org/archives/list/python@lists.opensuse.org/thread/ZBVJ7H7R7OBIIXMKBWFXZHAEC6BCHO5U/

tl;dr: We should be fine for now, since no change that breaks Python 2.7 has landed yet.


Sebastian Wagner's avatar

I see no reason to withhold this update. Leap has the old version anyway, this is a devel repository.

Request History
Jochen Breuer's avatar

brejoc created request

- Update to version 1.6.0
* Deprecated the distro.linux_distribution() function. Use distro.id(), distro.version() and distro.name() instead [#296]
* Deprecated Python 2.7, 3.4 and 3.5 support. Further releases will only support Python 3.6+
* Added type hints to distro module [#269]
* Added __version__ for checking distro version [#292]
* Added support for arbitrary rootfs via the root_dir parameter [#247]
* Added the --root-dir option to CLI [#161]
* Added fallback to /usr/lib/os-release when /etc/os-release isn't available [#262]
* Fixed subprocess.CalledProcessError when running lsb_release [#261]
* Ignore /etc/iredmail-release file while parsing distribution [#268]
* Use a binary file for /dev/null to avoid TextIOWrapper overhead [#271]


Markéta Machová's avatar

mcalabkova accepted request

ok

openSUSE Build Service is sponsored by