pypi distro 1.6.0
v1.6.0

latest releases: 1.9.0, 1.8.0, 1.7.0...
3 years ago

BACKWARDS COMPATIBILITY:

  • 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+

ENHANCEMENTS:

  • 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]

BUG FIXES:

  • 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]

RELEASE:

Don't miss a new distro release

NewReleases is sending notifications on new releases.