Skip to content

Releases: python-distro/distro

Merge pull request #173 from nir0s/v1.0.3

19 Mar 10:20
Compare
Choose a tag to compare

1.0.3 (2017.03.19)

  • Add manual mapping for redhatenterpriseserver (previously only redhatenterpriseworkstation was mapped)
  • Return empty information when failing to read a seemingly version related file due to IO or OS errors.
  • When using the CLI without providing the -j flag, printout keys even if their values are empty.
  • Replace nose with pytest
  • Add RHEL5 test case
  • Add OpenELEC test case
  • Update supported Python versions (with py36)
  • Update classifiers

Merge pull request #155 from nir0s/update-CHANGES-for-v1.0.2

12 Jan 10:08
Compare
Choose a tag to compare
  • Add MANIFEST file (which also includes the LICENSE as part of Issue #139)
  • Default to releasing using Twine (as per Issue #121)
  • Update license in setup.py
  • Test on py33, py36 and py3 based flake8
  • Add setup.cfg file

AdHoc v1.0.0 Release

12 Jan 08:59
Compare
Choose a tag to compare
  • Add a CLI and a distro entry point. For Python 2.6, argparse will be installed
  • Add many test cases (e.g. Raspbian 8, CoreOS, Amazon Linux, Scientific Linux, Gentoo, Manjaro)
  • Make distro non-importable on non-compatible platforms (e.g. Windows and tested via AppVeyor)
  • Completely redo the testing framework to make it easier to add tests
  • Remove six as a dependency
  • Emit stderr if lsb_release fails
  • Fix some encoding related issues
  • We now use bytes invariantly
  • Test on pypy

v1.0.1

12 Jan 09:00
Compare
Choose a tag to compare
  • Prettify output when running distro -j
  • Decode output of lsb_release as utf-8
  • Mend code coverage
  • Logger now uses message %s, string form to not-evaulate log messages if unnecessary
  • Add landscape.io code-quality monitoring
  • Add CONTRIBUTING.md

v0.6.0

21 Apr 06:29
Compare
Choose a tag to compare
  • Introduces a new name.
  • No longer a package. constants.py has been removed and distro is now a single module.
  • Documentation fixes.
  • distro.info() now receives best and pretty flags.
  • Added Linux Mint test case.
  • Removed get_ prefix from get_*_release_attr functions.
  • Now testing on Python 3.4.
  • Codename is now passed in distro.info()

Release v0.5.0

23 Mar 15:36
Compare
Choose a tag to compare

This release contains most enhancements that were in the pipe, and is ready for serious use. A few open discussions points exist though, and this is why this release is marked as a pre-release.

API documentation does exist and is complete.

This version is available on PyPI:

pip install ld

Testing could still be improved (see the test-related open issues), but the unit tests at this point cover the major distros and are fairly complete.

0.2.9

28 Jan 17:20
Compare
Choose a tag to compare
0.2.9 Pre-release
Pre-release
  • Redhat should now work
  • Full Test Coverage and a more organized testing framework
  • Added some tests for additional distros and
  • Fixed some minor bugs
  • Preparations for first stable release.

v0.2.1: Merge pull request #15 from nir0s/various-fixes-and-optimizations

25 Dec 09:39
Compare
Choose a tag to compare
  • Added missing docstrings
  • Basing LSB info on lsb_release -a instead of /etc/lsb-release. Apparently, the file is not a part of the standard.. but the command is.
  • ld.info() no longer contains name and codename fields as they're not machine readable by default.
  • ld.name() and ld.version() implementations are now more consistent between types of lookup mechanisms. Overall consistency improved.
  • Testing coverage is now 96%
  • Python3 fixes applied.

v0.1.2: Merge pull request #2 from nir0s/docs-and-python-versions-coverage

13 Dec 07:45
Compare
Choose a tag to compare

This is the first official release of ld.

  • It is currently tested on Python 2.6, 2.7 and 3.5 - from here on out, contributions are welcome for additional versions, if required.
  • There are still inconsistencies and other caveats stated in the README. Read these before using.
  • Functionality is there in terms of retrieving the relevant types of information. Now, we need to expand it to support as many distro-specific cases.