From 83372c00d6390c32eb84a32b74b2e231e5cc82cc25e9f90ca13034270c5aa597 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 16 Nov 2021 20:42:23 +0000 Subject: [PATCH] Accepting request 931852 from home:ecsos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to 15.0.1 - Bug fix: Restore :class:`.StandardErrorHandler` functionality - The :class:`.StandardErrorHandler` class is responsible for dynamically resolving (looking up the value of) sys.stderr for each logged message instead of once when :func:`coloredlogs.install()` is called. - This was unintentionally broken by changes in `release 14.1`_. - _Release 15.0.1: https://github.com/xolox/python-coloredlogs/compare/15.0...15.0.1 - Update to 15.0 - Don't enable system logging on MacOS and Windows anymore. - This is backwards incompatible (which is why I'm bumping the major version number) however the old behavior has been reported to be rather problematic (see :func:`~coloredlogs.syslog.is_syslog_supported()` for details) so this seems like the best choice. - _Release 15.0: https://github.com/xolox/python-coloredlogs/compare/14.2...15.0 - Update to 14.3 * Merged pull request `#89`_ which enhances :func:`coloredlogs.install()` to preserve the filters on handlers that are replaced by :pypi:`coloredlogs`. * _Release 14.3: https://github.com/xolox/python-coloredlogs/compare/14.2...14.3 * _#89: https://github.com/xolox/python-coloredlogs/pull/89 - Update to 14.2 * Honor the ``$NO_COLOR`` environment variable as suggested in issue `#88`_. * _Release 14.2: https://github.com/xolox/python-coloredlogs/compare/14.1...14.2 * _#88: https://github.com/xolox/python-coloredlogs/issues/88 - Update to 14.1 **Bug fixes:** - Don't allow interactive terminal detection to disable colored text when colored text is being forced by the caller (reported in issue `#84`_). - Automatically disable colored text when logging output is being redirected to a file in such a way that it actually works 😬 (reported in issue `#100`_). **Other changes:** - Start testing on PyPy 3 (because why not?) - _Release 14.1: https://github.com/xolox/python-coloredlogs/compare/14.0...14.1 - _#84: https://github.com/xolox/python-coloredlogs/issues/84 - _#100: https://github.com/xolox/python-coloredlogs/issues/100 - Fix minimum dependency version of python-humanfriendly - Update to 14.0 * Merged pull request `#80`_ that drops support for Python 3.4 which has gone end-of-life and now represents less than 1% of PyPI downloads. * Improved compatibility with the Python standard library by changing the order of positional arguments received by the initializer of the :class:`~coloredlogs.ColoredFormatter` class (as suggested in `#64`_ and `#75`_). * Add support for the ``%(username)s`` field (requested in `#76`_) and properly document supported custom fields. * Consistently use ``console`` highlighting in documentation. * Fix a broken link in the readme. * Merge pull request `#79`_ which adds support for Python 3.8. * Fix support for custom log record factories and add a test to avoid regressions (`#47`_, `#59`_). * Change ``make screenshots`` to be Python 3 compatible and document additional requirements (`#65`_). - Update to 11.0: - This is a maintenance release that drops Python 2.6 support, adds Python 3.7 support and merges quite a few minor pull requests. The major version number was bumped because of the compatibility changes. Complete list of (really small) changes is on https://github.com/xolox/python-coloredlogs/blob/master/CHANGELOG.rst#release-11-0-2020-02-14 - Update test_cli_conversion_test.patch - Add test_cli_conversion_test.patch, because we don't have versionless coloredlogs in time of %check. - Disable one flaky test - Remove superfluous devel dependency for noarch package - Version update to 10.0: * Many upstream changes to enumerate, see CHANGELOG.rst - Enable testsuite - Use %license tag - Update to version 7.3 * No changelog - Implement single-spec version - initial package, version 5.1.1 OBS-URL: https://build.opensuse.org/request/show/931852 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coloredlogs?expand=0&rev=18 --- coloredlogs-14.0.tar.gz | 3 --- coloredlogs-15.0.1.tar.gz | 3 +++ python-coloredlogs.changes | 39 +++++++++++++++++++++++++++++++++++++- python-coloredlogs.spec | 4 ++-- 4 files changed, 43 insertions(+), 6 deletions(-) delete mode 100644 coloredlogs-14.0.tar.gz create mode 100644 coloredlogs-15.0.1.tar.gz diff --git a/coloredlogs-14.0.tar.gz b/coloredlogs-14.0.tar.gz deleted file mode 100644 index a696460..0000000 --- a/coloredlogs-14.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a1fab193d2053aa6c0a97608c4342d031f1f93a3d1218432c59322441d31a505 -size 275863 diff --git a/coloredlogs-15.0.1.tar.gz b/coloredlogs-15.0.1.tar.gz new file mode 100644 index 0000000..af0280b --- /dev/null +++ b/coloredlogs-15.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c991aa71a4577af2f82600d8f8f3a89f936baeaf9b50a9c197da014e5bf16b0 +size 278520 diff --git a/python-coloredlogs.changes b/python-coloredlogs.changes index a3164f5..46e4215 100644 --- a/python-coloredlogs.changes +++ b/python-coloredlogs.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Tue Nov 16 13:00:38 UTC 2021 - ecsos + +- Update to 15.0.1 + - Bug fix: Restore :class:`.StandardErrorHandler` functionality + - The :class:`.StandardErrorHandler` class is responsible for dynamically + resolving (looking up the value of) sys.stderr for each logged message instead + of once when :func:`coloredlogs.install()` is called. + - This was unintentionally broken by changes in `release 14.1`_. + - _Release 15.0.1: https://github.com/xolox/python-coloredlogs/compare/15.0...15.0.1 +- Update to 15.0 + - Don't enable system logging on MacOS and Windows anymore. + - This is backwards incompatible (which is why I'm bumping the major version + number) however the old behavior has been reported to be rather problematic + (see :func:`~coloredlogs.syslog.is_syslog_supported()` for details) so this + seems like the best choice. + - _Release 15.0: https://github.com/xolox/python-coloredlogs/compare/14.2...15.0 +- Update to 14.3 + * Merged pull request `#89`_ which enhances :func:`coloredlogs.install()` to + preserve the filters on handlers that are replaced by :pypi:`coloredlogs`. + * _Release 14.3: https://github.com/xolox/python-coloredlogs/compare/14.2...14.3 + * _#89: https://github.com/xolox/python-coloredlogs/pull/89 +- Update to 14.2 + * Honor the ``$NO_COLOR`` environment variable as suggested in issue `#88`_. + * _Release 14.2: https://github.com/xolox/python-coloredlogs/compare/14.1...14.2 + * _#88: https://github.com/xolox/python-coloredlogs/issues/88 +- Update to 14.1 + **Bug fixes:** + - Don't allow interactive terminal detection to disable colored text when + colored text is being forced by the caller (reported in issue `#84`_). + - Automatically disable colored text when logging output is being redirected to + a file in such a way that it actually works 😬 (reported in issue `#100`_). + **Other changes:** + - Start testing on PyPy 3 (because why not?) + - _Release 14.1: https://github.com/xolox/python-coloredlogs/compare/14.0...14.1 + - _#84: https://github.com/xolox/python-coloredlogs/issues/84 + - _#100: https://github.com/xolox/python-coloredlogs/issues/100 + ------------------------------------------------------------------- Sat Aug 1 07:23:57 UTC 2020 - John Vandenberg @@ -74,4 +112,3 @@ Wed Sep 6 18:00:41 UTC 2017 - toddrme2178@gmail.com Mon Oct 10 20:41:08 UTC 2016 - mardnh@gmx.de - initial package, version 5.1.1 - diff --git a/python-coloredlogs.spec b/python-coloredlogs.spec index dc903d6..fda7ef0 100644 --- a/python-coloredlogs.spec +++ b/python-coloredlogs.spec @@ -1,7 +1,7 @@ # # spec file for package python-coloredlogs # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2016, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-coloredlogs -Version: 14.0 +Version: 15.0.1 Release: 0 Summary: Colored terminal output for Python's logging module License: MIT