1
0
forked from pool/python-distro

Accepting request 910038 from home:brejoc:branches:devel:languages:python

- Update to version 1.6.0
  * Deprecated the distro.linux_distribution() function. Use distro.id(), distro.version() and distro.name() instead [#296]
  * Deprecated Python 2.7, 3.4 and 3.5 support. Further releases will only support Python 3.6+
  * Added type hints to distro module [#269]
  * Added __version__ for checking distro version [#292]
  * Added support for arbitrary rootfs via the root_dir parameter [#247]
  * Added the --root-dir option to CLI [#161]
  * Added fallback to /usr/lib/os-release when /etc/os-release isn't available [#262]
  * Fixed subprocess.CalledProcessError when running lsb_release [#261]
  * Ignore /etc/iredmail-release file while parsing distribution [#268]
  * Use a binary file for /dev/null to avoid TextIOWrapper overhead [#271]

OBS-URL: https://build.opensuse.org/request/show/910038
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=25
This commit is contained in:
Markéta Machová 2021-08-06 07:11:14 +00:00 committed by Git OBS Bridge
parent 051fa3fd29
commit 009ed7d97d
4 changed files with 19 additions and 4 deletions

BIN
distro-1.5.0.tar.gz (Stored with Git LFS)

Binary file not shown.

3
distro-1.6.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83f5e5a09f9c5f68f60173de572930effbcc0287bb84fdc4426cb4168c088424
size 53518

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Aug 3 12:19:39 UTC 2021 - brejoc@gmail.com
- Update to version 1.6.0
* Deprecated the distro.linux_distribution() function. Use distro.id(), distro.version() and distro.name() instead [#296]
* Deprecated Python 2.7, 3.4 and 3.5 support. Further releases will only support Python 3.6+
* Added type hints to distro module [#269]
* Added __version__ for checking distro version [#292]
* Added support for arbitrary rootfs via the root_dir parameter [#247]
* Added the --root-dir option to CLI [#161]
* Added fallback to /usr/lib/os-release when /etc/os-release isn't available [#262]
* Fixed subprocess.CalledProcessError when running lsb_release [#261]
* Ignore /etc/iredmail-release file while parsing distribution [#268]
* Use a binary file for /dev/null to avoid TextIOWrapper overhead [#271]
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 18 10:55:49 UTC 2021 - pgajdos@suse.com Tue May 18 10:55:49 UTC 2021 - pgajdos@suse.com

View File

@ -20,7 +20,7 @@
%{!?license: %global license %doc} %{!?license: %global license %doc}
%bcond_without test %bcond_without test
Name: python-distro Name: python-distro
Version: 1.5.0 Version: 1.6.0
Release: 0 Release: 0
Summary: Linux Distribution - a Linux OS platform information API Summary: Linux Distribution - a Linux OS platform information API
License: Apache-2.0 License: Apache-2.0