Releases: python-distro/distro
Releases · python-distro/distro
Merge pull request #173 from nir0s/v1.0.3
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
AdHoc v1.0.0 Release
- 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
v0.6.0
- 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 fromget_*_release_attr
functions. - Now testing on Python 3.4.
- Codename is now passed in
distro.info()
Release v0.5.0
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
v0.2.1: Merge pull request #15 from nir0s/various-fixes-and-optimizations
- 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 containsname
andcodename
fields as they're not machine readable by default.ld.name()
andld.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
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.