Distro

Latest version: v1.9.0

Safety actively analyzes 629564 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

1.0.1

ENHANCEMENTS:
* Prettify distro -j's output and add more elaborate docs [[147](https://github.com/python-distro/distro/issues/147)]
* Decode output of `lsb_release` as utf-8 [[144](https://github.com/python-distro/distro/issues/144)]
* Logger now uses `message %s, string` form to not-evaulate log messages if unnecessary [[145](https://github.com/python-distro/distro/issues/145)]

TESTS:
* Increase code-coverage [[146](https://github.com/python-distro/distro/issues/146)]
* Fix landscape code-quality warnings [[145](https://github.com/python-distro/distro/issues/145)]

RELEASE:
* Add CONTRIBUTING.md

1.0.0

BACKWARD COMPATIBILITY:
* raise exception when importing on non-supported platforms [[129](https://github.com/python-distro/distro/issues/129)]

ENHANCEMENTS:
* Use `bytes` invariantly [[135](https://github.com/python-distro/distro/issues/135)]
* Some minor code adjustments plus a CLI [[134](https://github.com/python-distro/distro/issues/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

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

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.