gecko-dev/third_party/python/distro/CHANGELOG.md

5.4 KiB

1.4.0 (2019.2.4)

BACKWARD COMPATIBILITY:

  • Prefer the VERSION_CODENAME field of os-release to parsing it from VERSION [#230]

BUG FIXES:

  • Return _uname_info from the uname_info() method [#233]
  • Fixed CloudLinux id discovery [#234]
  • Update Oracle matching [#224]

DOCS:

  • Update Fedora package link [#225]
  • Distro is the recommended replacement for platform.linux_distribution [#220]

RELEASE:

  • Use Markdown for long description in setup.py [#219]

Additionally, The Python2.6 branch was fixed and rebased on top of master. It is now passing all tests. Thanks abadger!

1.3.0 (2018.05.09)

ENHANCEMENTS:

  • Added support for OpenBSD, FreeBSD, and NetBSD [#207]

TESTS:

  • Add test for Kali Linux Rolling [#214]

DOCS:

  • Update docs with regards to #207 [#209]
  • Add Ansible reference implementation and fix arch-linux link [#213]
  • Add facter reference implementation [#213]

1.2.0 (2017.12.24)

BACKWARD COMPATIBILITY:

  • Don't raise ImportError on non-linux platforms [#202]

ENHANCEMENTS:

  • Lazily load the LinuxDistribution data [#201]

BUG FIXES:

  • Stdout of shell should be decoded with sys.getfilesystemencoding() [#203]

TESTS:

  • Explicitly set Python versions on Travis for flake [#204]

1.1.0 (2017.11.28)

BACKWARD COMPATIBILITY:

  • Drop python3.3 support [#199]
  • Remove Official Python26 support [#195]

TESTS:

  • Add MandrivaLinux test case [#181]
  • Add test cases for CloudLinux 5, 6, and 7 [#180]

RELEASE:

  • Modify MANIFEST to include resources for tests and docs in source tarballs [97c91a1]

1.0.4 (2017.04.01)

BUG FIXES:

  • Guess common *-release files if /etc not readable [#175]

1.0.3 (2017.03.19)

ENHANCEMENTS:

  • Show keys for empty values when running distro from the CLI [#160]
  • Add manual mapping for redhatenterpriseserver (previously only redhatenterpriseworkstation was mapped) [#148]
  • Race condition in _parse_distro_release_file [#163]

TESTS:

  • Add RHEL5 test case [#165]
  • Add OpenELEC test case [#166]
  • Replace nose with pytest [#158]

RELEASE:

  • Update classifiers
  • Update supported Python versions (with py36)

1.0.2 (2017.01.12)

TESTS:

  • Test on py33, py36 and py3 based flake8

RELEASE:

  • Add MANIFEST file (which also includes the LICENSE as part of Issue [#139])
  • Default to releasing using Twine [#121]
  • Add setup.cfg file [#145]
  • Update license in setup.py

1.0.1 (2016-11-03)

ENHANCEMENTS:

  • Prettify distro -j's output and add more elaborate docs [#147]
  • Decode output of lsb_release as utf-8 [#144]
  • Logger now uses message %s, string form to not-evaulate log messages if unnecessary [#145]

TESTS:

  • Increase code-coverage [#146]
  • Fix landscape code-quality warnings [#145]

RELEASE:

  • Add CONTRIBUTING.md

1.0.0 (2016-09-25)

BACKWARD COMPATIBILITY:

  • raise exception when importing on non-supported platforms [#129]

ENHANCEMENTS:

  • Use bytes invariantly [#135]
  • Some minor code adjustments plus a CLI [#134]
  • Emit stderr if lsb_release fails

BUG FIXES:

  • Fix some encoding related issues

TESTS:

  • Add many test cases (e.g. Raspbian 8, CoreOS, Amazon Linux, Scientific Linux, Gentoo, Manjaro)
  • Completely redo the testing framework to make it easier to add tests
  • Test on pypy

RELEASE:

  • Remove six as a dependency

0.6.0 (2016-04-21)

This is the first release of distro. All previous work was done on ld and therefore unmentioned here. See the release log in GitHub if you want the entire log.

BACKWARD COMPATIBILITY:

  • No longer a package. constants.py has been removed and distro is now a single module

ENHANCEMENTS:

  • distro.info() now receives best and pretty flags
  • Removed get_ prefix from get_*_release_attr functions
  • Codename is now passed in distro.info()

TESTS:

  • Added Linux Mint test case
  • Now testing on Python 3.4

DOCS:

  • Documentation fixes