Skip to content

Commit

Permalink
Release 21.1: Parse /etc/lsb-release when `lsb_release' unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed Oct 7, 2018
1 parent d3451a9 commit 37b39ad
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ to `semantic versioning`_.
.. _Keep a Changelog: http://keepachangelog.com/
.. _semantic versioning: http://semver.org/

`Release 21.1`_ (2018-10-07)
----------------------------

Improve compatibility with "vanilla Ubuntu 18.04 docker images" by parsing the
file ``/etc/lsb-release`` when the program ``/usr/bin/lsb_release`` isn't
installed (fixes `#10`_).

This enables the ``distributor_id`` and ``distribution_codename`` properties to
work even when the ``/usr/bin/lsb_release`` program isn't installed, by parsing
the ``/etc/lsb-release`` file instead. Tested on Ubuntu 14.04, 16.04 and 18.04.

.. _Release 21.1: https://github.com/xolox/python-executor/compare/21.0...21.1
.. _#10: https://github.com/xolox/python-executor/issues/10

`Release 21.0`_ (2018-10-07)
----------------------------

Expand Down
2 changes: 1 addition & 1 deletion executor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
from executor.process import ControllableProcess

# Semi-standard module versioning.
__version__ = '21.0'
__version__ = '21.1'

# Initialize a logger.
logger = logging.getLogger(__name__)
Expand Down

0 comments on commit 37b39ad

Please sign in to comment.