Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-colorlog for openSUSE:Factory 
checked in at 2024-01-30 18:26:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-colorlog (Old)
 and      /work/SRC/openSUSE:Factory/.python-colorlog.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-colorlog"

Tue Jan 30 18:26:53 2024 rev:12 rq:1142776 version:6.8.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-colorlog/python-colorlog.changes  
2023-12-05 17:04:48.564671147 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-colorlog.new.1815/python-colorlog.changes    
    2024-01-30 18:27:01.173415098 +0100
@@ -1,0 +2,8 @@
+Tue Jan 30 12:20:13 UTC 2024 - Dirk Müller <[email protected]>
+
+- update to 6.8.2:
+  * Update package links in README
+  * Added docs/CONTRIBUTING.md.
+  * Documented "bright" colours in the README.
+
+-------------------------------------------------------------------

Old:
----
  colorlog-6.8.0.tar.gz

New:
----
  colorlog-6.8.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-colorlog.spec ++++++
--- /var/tmp/diff_new_pack.7Cq8yP/_old  2024-01-30 18:27:01.725435012 +0100
+++ /var/tmp/diff_new_pack.7Cq8yP/_new  2024-01-30 18:27:01.729435157 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-colorlog
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-colorlog
-Version:        6.8.0
+Version:        6.8.2
 Release:        0
 Summary:        Log formatting with colors
 License:        MIT

++++++ colorlog-6.8.0.tar.gz -> colorlog-6.8.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/colorlog-6.8.0/PKG-INFO new/colorlog-6.8.2/PKG-INFO
--- old/colorlog-6.8.0/PKG-INFO 2023-12-02 17:46:56.393011800 +0100
+++ new/colorlog-6.8.2/PKG-INFO 2024-01-26 14:59:23.768913700 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: colorlog
-Version: 6.8.0
+Version: 6.8.2
 Summary: Add colours to the output of Python's logging module.
 Home-page: https://github.com/borntyping/python-colorlog
 Author: Sam Clements
@@ -25,20 +25,17 @@
 Provides-Extra: development
 License-File: LICENSE
 
-Log formatting with colors!
-===========================
+# Log formatting with colors!
 
 
[![](https://img.shields.io/pypi/v/colorlog.svg)](https://pypi.org/project/colorlog/)
 
[![](https://img.shields.io/pypi/l/colorlog.svg)](https://pypi.org/project/colorlog/)
-[![](https://img.shields.io/travis/borntyping/python-colorlog/master.svg)](https://travis-ci.org/borntyping/python-colorlog)
 
 Add colours to the output of Python's `logging` module.
 
 * [Source on GitHub](https://github.com/borntyping/python-colorlog)
 * [Packages on PyPI](https://pypi.org/pypi/colorlog/)
 
-Status
-------
+## Status
 
 colorlog currently requires Python 3.6 or higher. Older versions (below 5.x.x) 
 support Python 2.6 and above.
@@ -50,7 +47,7 @@
 [colorama] is included as a required dependency and initialised when using 
 colorlog on Windows.
 
-This library is almost a decade old and supported a wide set of Python versions
+This library is over a decade old and supported a wide set of Python versions
 for most of its life, which has made it a difficult library to add new features
 to. colorlog 6 may break backwards compatibility so that newer features
 can be added more easily, but may still not accept all changes or feature
@@ -58,8 +55,7 @@
 considered actively maintained and will not accept any major changes or new
 features.
 
-Installation
-------------
+## Installation
 
 Install from PyPI with:
 
@@ -67,12 +63,11 @@
 pip install colorlog
 ```
 
-Several Linux distributions provide official packages ([Debian], [Fedora], 
+Several Linux distributions provide official packages ([Debian], [Arch], 
[Fedora], 
 [Gentoo], [OpenSuse] and [Ubuntu]), and others have user provided packages
-([Arch AUR], [BSD ports], [Conda]).
+([BSD ports], [Conda]).
 
-Usage
------
+## Usage
 
 ```python
 import colorlog
@@ -112,13 +107,32 @@
 - `thin`, `thin_{color}`, `fg_thin_{color}`: Thin colors (terminal dependent).
 - `reset`: Clear all formatting (both foreground and background colors).
 
-The available color names are `black`, `red`, `green`, `yellow`, `blue`,
-`purple`, `cyan` and `white`.
+The available color names are:
 
-Examples
---------
+- `black`
+- `red`
+- `green`
+- `yellow`
+- `blue`,
+- `purple`
+- `cyan`
+- `white`
+
+You can also use "bright" colors. These aren't standard ANSI codes, and
+support for these varies wildly across different terminals.
+
+- `light_black`
+- `light_red`
+- `light_green`
+- `light_yellow`
+- `light_blue`
+- `light_purple`
+- `light_cyan`
+- `light_white`
 
-![Example output](doc/example.png)
+## Examples
+
+![Example output](docs/example.png)
 
 The following code creates a `ColoredFormatter` for use in a logging setup,
 using the default values for each argument.
@@ -219,21 +233,18 @@
 logger.log(TRACE, 'a message using a custom level')
 ```
 
-Tests
------
+## Tests
 
 Tests similar to the above examples are found in `tests/test_colorlog.py`.
 
-Status
-------
+## Status
 
 colorlog is in maintenance mode. I try and ensure bugfixes are published,
 but compatibility with Python 2.6+ and Python 3+ makes this a difficult
 codebase to add features to. Any changes that might break backwards
 compatibility for existing users will not be considered.
 
-Alternatives
-------------
+## Alternatives
 
 There are some more modern libraries for improving Python logging you may
 find useful.
@@ -241,15 +252,13 @@
 - [structlog]
 - [jsonlog]
 
-Projects using colorlog
------------------------
+## Projects using colorlog
 
 GitHub provides [a list of projects that depend on colorlog][dependents].
 
 Some early adopters included [Errbot], [Pythran], and [zenlog].
 
-Licence
--------
+## Licence
 
 Copyright (c) 2012-2021 Sam Clements <[email protected]>
 
@@ -275,11 +284,11 @@
 [addLevelName]: 
https://docs.python.org/3/library/logging.html#logging.addLevelName
 [Formatter]: http://docs.python.org/3/library/logging.html#logging.Formatter
 [tox]: http://tox.readthedocs.org/
-[Arch AUR]: https://aur.archlinux.org/packages/python-colorlog/
+[Arch]: https://archlinux.org/packages/extra/any/python-colorlog/
 [BSD ports]: https://www.freshports.org/devel/py-colorlog/
 [colorama]: https://pypi.python.org/pypi/colorama
 [Conda]: https://anaconda.org/conda-forge/colorlog
-[Debian]: https://packages.debian.org/buster/python3-colorlog
+[Debian]: 
[https://packages.debian.org/buster/python3-colorlog](https://packages.debian.org/buster/python3-colorlog)
 [Errbot]: http://errbot.io/
 [Fedora]: https://src.fedoraproject.org/rpms/python-colorlog
 [Gentoo]: https://packages.gentoo.org/packages/dev-python/colorlog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/colorlog-6.8.0/README.md new/colorlog-6.8.2/README.md
--- old/colorlog-6.8.0/README.md        2023-12-02 17:46:54.000000000 +0100
+++ new/colorlog-6.8.2/README.md        2024-01-26 14:59:21.000000000 +0100
@@ -1,17 +1,14 @@
-Log formatting with colors!
-===========================
+# Log formatting with colors!
 
 
[![](https://img.shields.io/pypi/v/colorlog.svg)](https://pypi.org/project/colorlog/)
 
[![](https://img.shields.io/pypi/l/colorlog.svg)](https://pypi.org/project/colorlog/)
-[![](https://img.shields.io/travis/borntyping/python-colorlog/master.svg)](https://travis-ci.org/borntyping/python-colorlog)
 
 Add colours to the output of Python's `logging` module.
 
 * [Source on GitHub](https://github.com/borntyping/python-colorlog)
 * [Packages on PyPI](https://pypi.org/pypi/colorlog/)
 
-Status
-------
+## Status
 
 colorlog currently requires Python 3.6 or higher. Older versions (below 5.x.x) 
 support Python 2.6 and above.
@@ -23,7 +20,7 @@
 [colorama] is included as a required dependency and initialised when using 
 colorlog on Windows.
 
-This library is almost a decade old and supported a wide set of Python versions
+This library is over a decade old and supported a wide set of Python versions
 for most of its life, which has made it a difficult library to add new features
 to. colorlog 6 may break backwards compatibility so that newer features
 can be added more easily, but may still not accept all changes or feature
@@ -31,8 +28,7 @@
 considered actively maintained and will not accept any major changes or new
 features.
 
-Installation
-------------
+## Installation
 
 Install from PyPI with:
 
@@ -40,12 +36,11 @@
 pip install colorlog
 ```
 
-Several Linux distributions provide official packages ([Debian], [Fedora], 
+Several Linux distributions provide official packages ([Debian], [Arch], 
[Fedora], 
 [Gentoo], [OpenSuse] and [Ubuntu]), and others have user provided packages
-([Arch AUR], [BSD ports], [Conda]).
+([BSD ports], [Conda]).
 
-Usage
------
+## Usage
 
 ```python
 import colorlog
@@ -85,13 +80,32 @@
 - `thin`, `thin_{color}`, `fg_thin_{color}`: Thin colors (terminal dependent).
 - `reset`: Clear all formatting (both foreground and background colors).
 
-The available color names are `black`, `red`, `green`, `yellow`, `blue`,
-`purple`, `cyan` and `white`.
+The available color names are:
 
-Examples
---------
+- `black`
+- `red`
+- `green`
+- `yellow`
+- `blue`,
+- `purple`
+- `cyan`
+- `white`
+
+You can also use "bright" colors. These aren't standard ANSI codes, and
+support for these varies wildly across different terminals.
+
+- `light_black`
+- `light_red`
+- `light_green`
+- `light_yellow`
+- `light_blue`
+- `light_purple`
+- `light_cyan`
+- `light_white`
 
-![Example output](doc/example.png)
+## Examples
+
+![Example output](docs/example.png)
 
 The following code creates a `ColoredFormatter` for use in a logging setup,
 using the default values for each argument.
@@ -192,21 +206,18 @@
 logger.log(TRACE, 'a message using a custom level')
 ```
 
-Tests
------
+## Tests
 
 Tests similar to the above examples are found in `tests/test_colorlog.py`.
 
-Status
-------
+## Status
 
 colorlog is in maintenance mode. I try and ensure bugfixes are published,
 but compatibility with Python 2.6+ and Python 3+ makes this a difficult
 codebase to add features to. Any changes that might break backwards
 compatibility for existing users will not be considered.
 
-Alternatives
-------------
+## Alternatives
 
 There are some more modern libraries for improving Python logging you may
 find useful.
@@ -214,15 +225,13 @@
 - [structlog]
 - [jsonlog]
 
-Projects using colorlog
------------------------
+## Projects using colorlog
 
 GitHub provides [a list of projects that depend on colorlog][dependents].
 
 Some early adopters included [Errbot], [Pythran], and [zenlog].
 
-Licence
--------
+## Licence
 
 Copyright (c) 2012-2021 Sam Clements <[email protected]>
 
@@ -248,11 +257,11 @@
 [addLevelName]: 
https://docs.python.org/3/library/logging.html#logging.addLevelName
 [Formatter]: http://docs.python.org/3/library/logging.html#logging.Formatter
 [tox]: http://tox.readthedocs.org/
-[Arch AUR]: https://aur.archlinux.org/packages/python-colorlog/
+[Arch]: https://archlinux.org/packages/extra/any/python-colorlog/
 [BSD ports]: https://www.freshports.org/devel/py-colorlog/
 [colorama]: https://pypi.python.org/pypi/colorama
 [Conda]: https://anaconda.org/conda-forge/colorlog
-[Debian]: https://packages.debian.org/buster/python3-colorlog
+[Debian]: 
[https://packages.debian.org/buster/python3-colorlog](https://packages.debian.org/buster/python3-colorlog)
 [Errbot]: http://errbot.io/
 [Fedora]: https://src.fedoraproject.org/rpms/python-colorlog
 [Gentoo]: https://packages.gentoo.org/packages/dev-python/colorlog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/colorlog-6.8.0/colorlog/escape_codes.py 
new/colorlog-6.8.2/colorlog/escape_codes.py
--- old/colorlog-6.8.0/colorlog/escape_codes.py 2023-12-02 17:46:54.000000000 
+0100
+++ new/colorlog-6.8.2/colorlog/escape_codes.py 2024-01-26 14:59:21.000000000 
+0100
@@ -5,6 +5,7 @@
 
 Uses colorama as an optional dependency to support color on Windows
 """
+
 import sys
 
 try:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/colorlog-6.8.0/colorlog.egg-info/PKG-INFO 
new/colorlog-6.8.2/colorlog.egg-info/PKG-INFO
--- old/colorlog-6.8.0/colorlog.egg-info/PKG-INFO       2023-12-02 
17:46:56.000000000 +0100
+++ new/colorlog-6.8.2/colorlog.egg-info/PKG-INFO       2024-01-26 
14:59:23.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: colorlog
-Version: 6.8.0
+Version: 6.8.2
 Summary: Add colours to the output of Python's logging module.
 Home-page: https://github.com/borntyping/python-colorlog
 Author: Sam Clements
@@ -25,20 +25,17 @@
 Provides-Extra: development
 License-File: LICENSE
 
-Log formatting with colors!
-===========================
+# Log formatting with colors!
 
 
[![](https://img.shields.io/pypi/v/colorlog.svg)](https://pypi.org/project/colorlog/)
 
[![](https://img.shields.io/pypi/l/colorlog.svg)](https://pypi.org/project/colorlog/)
-[![](https://img.shields.io/travis/borntyping/python-colorlog/master.svg)](https://travis-ci.org/borntyping/python-colorlog)
 
 Add colours to the output of Python's `logging` module.
 
 * [Source on GitHub](https://github.com/borntyping/python-colorlog)
 * [Packages on PyPI](https://pypi.org/pypi/colorlog/)
 
-Status
-------
+## Status
 
 colorlog currently requires Python 3.6 or higher. Older versions (below 5.x.x) 
 support Python 2.6 and above.
@@ -50,7 +47,7 @@
 [colorama] is included as a required dependency and initialised when using 
 colorlog on Windows.
 
-This library is almost a decade old and supported a wide set of Python versions
+This library is over a decade old and supported a wide set of Python versions
 for most of its life, which has made it a difficult library to add new features
 to. colorlog 6 may break backwards compatibility so that newer features
 can be added more easily, but may still not accept all changes or feature
@@ -58,8 +55,7 @@
 considered actively maintained and will not accept any major changes or new
 features.
 
-Installation
-------------
+## Installation
 
 Install from PyPI with:
 
@@ -67,12 +63,11 @@
 pip install colorlog
 ```
 
-Several Linux distributions provide official packages ([Debian], [Fedora], 
+Several Linux distributions provide official packages ([Debian], [Arch], 
[Fedora], 
 [Gentoo], [OpenSuse] and [Ubuntu]), and others have user provided packages
-([Arch AUR], [BSD ports], [Conda]).
+([BSD ports], [Conda]).
 
-Usage
------
+## Usage
 
 ```python
 import colorlog
@@ -112,13 +107,32 @@
 - `thin`, `thin_{color}`, `fg_thin_{color}`: Thin colors (terminal dependent).
 - `reset`: Clear all formatting (both foreground and background colors).
 
-The available color names are `black`, `red`, `green`, `yellow`, `blue`,
-`purple`, `cyan` and `white`.
+The available color names are:
 
-Examples
---------
+- `black`
+- `red`
+- `green`
+- `yellow`
+- `blue`,
+- `purple`
+- `cyan`
+- `white`
+
+You can also use "bright" colors. These aren't standard ANSI codes, and
+support for these varies wildly across different terminals.
+
+- `light_black`
+- `light_red`
+- `light_green`
+- `light_yellow`
+- `light_blue`
+- `light_purple`
+- `light_cyan`
+- `light_white`
 
-![Example output](doc/example.png)
+## Examples
+
+![Example output](docs/example.png)
 
 The following code creates a `ColoredFormatter` for use in a logging setup,
 using the default values for each argument.
@@ -219,21 +233,18 @@
 logger.log(TRACE, 'a message using a custom level')
 ```
 
-Tests
------
+## Tests
 
 Tests similar to the above examples are found in `tests/test_colorlog.py`.
 
-Status
-------
+## Status
 
 colorlog is in maintenance mode. I try and ensure bugfixes are published,
 but compatibility with Python 2.6+ and Python 3+ makes this a difficult
 codebase to add features to. Any changes that might break backwards
 compatibility for existing users will not be considered.
 
-Alternatives
-------------
+## Alternatives
 
 There are some more modern libraries for improving Python logging you may
 find useful.
@@ -241,15 +252,13 @@
 - [structlog]
 - [jsonlog]
 
-Projects using colorlog
------------------------
+## Projects using colorlog
 
 GitHub provides [a list of projects that depend on colorlog][dependents].
 
 Some early adopters included [Errbot], [Pythran], and [zenlog].
 
-Licence
--------
+## Licence
 
 Copyright (c) 2012-2021 Sam Clements <[email protected]>
 
@@ -275,11 +284,11 @@
 [addLevelName]: 
https://docs.python.org/3/library/logging.html#logging.addLevelName
 [Formatter]: http://docs.python.org/3/library/logging.html#logging.Formatter
 [tox]: http://tox.readthedocs.org/
-[Arch AUR]: https://aur.archlinux.org/packages/python-colorlog/
+[Arch]: https://archlinux.org/packages/extra/any/python-colorlog/
 [BSD ports]: https://www.freshports.org/devel/py-colorlog/
 [colorama]: https://pypi.python.org/pypi/colorama
 [Conda]: https://anaconda.org/conda-forge/colorlog
-[Debian]: https://packages.debian.org/buster/python3-colorlog
+[Debian]: 
[https://packages.debian.org/buster/python3-colorlog](https://packages.debian.org/buster/python3-colorlog)
 [Errbot]: http://errbot.io/
 [Fedora]: https://src.fedoraproject.org/rpms/python-colorlog
 [Gentoo]: https://packages.gentoo.org/packages/dev-python/colorlog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/colorlog-6.8.0/colorlog.egg-info/SOURCES.txt 
new/colorlog-6.8.2/colorlog.egg-info/SOURCES.txt
--- old/colorlog-6.8.0/colorlog.egg-info/SOURCES.txt    2023-12-02 
17:46:56.000000000 +0100
+++ new/colorlog-6.8.2/colorlog.egg-info/SOURCES.txt    2024-01-26 
14:59:23.000000000 +0100
@@ -20,9 +20,4 @@
 colorlog/tests/test_escape_codes.py
 colorlog/tests/test_example.py
 colorlog/tests/test_exports.py
-colorlog/tests/test_wrappers.py
-doc/colors.py
-doc/custom_level.py
-doc/example.png
-doc/example.py
-doc/yaml_example.py
\ No newline at end of file
+colorlog/tests/test_wrappers.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/colorlog-6.8.0/doc/colors.py 
new/colorlog-6.8.2/doc/colors.py
--- old/colorlog-6.8.0/doc/colors.py    2023-12-02 17:46:54.000000000 +0100
+++ new/colorlog-6.8.2/doc/colors.py    1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-"""
-Print every color code supported by colorlog in it's own color.
-"""
-
-import colorlog.escape_codes
-
-if __name__ == "__main__":
-    for key, value in colorlog.escape_codes.escape_codes.items():
-        print(value, key, colorlog.escape_codes.escape_codes["reset"])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/colorlog-6.8.0/doc/custom_level.py 
new/colorlog-6.8.2/doc/custom_level.py
--- old/colorlog-6.8.0/doc/custom_level.py      2023-12-02 17:46:54.000000000 
+0100
+++ new/colorlog-6.8.2/doc/custom_level.py      1970-01-01 01:00:00.000000000 
+0100
@@ -1,23 +0,0 @@
-import logging
-
-from colorlog import ColoredFormatter
-
-logging.addLevelName(5, "TRACE")
-
-
-def main():
-    """Create and use a logger."""
-    formatter = ColoredFormatter(log_colors={"TRACE": "yellow"})
-
-    handler = logging.StreamHandler()
-    handler.setFormatter(formatter)
-
-    logger = logging.getLogger("example")
-    logger.addHandler(handler)
-    logger.setLevel("TRACE")
-
-    logger.log(5, "a message using a custom level")
-
-
-if __name__ == "__main__":
-    main()
Binary files old/colorlog-6.8.0/doc/example.png and 
new/colorlog-6.8.2/doc/example.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/colorlog-6.8.0/doc/example.py 
new/colorlog-6.8.2/doc/example.py
--- old/colorlog-6.8.0/doc/example.py   2023-12-02 17:46:54.000000000 +0100
+++ new/colorlog-6.8.2/doc/example.py   1970-01-01 01:00:00.000000000 +0100
@@ -1,44 +0,0 @@
-#!/usr/bin/env python
-"""python-colorlog example."""
-
-import logging
-from colorlog import ColoredFormatter
-
-
-def setup_logger():
-    """Return a logger with a default ColoredFormatter."""
-    formatter = ColoredFormatter(
-        "%(log_color)s%(levelname)-8s%(reset)s %(blue)s%(message)s",
-        datefmt=None,
-        reset=True,
-        log_colors={
-            "DEBUG": "cyan",
-            "INFO": "green",
-            "WARNING": "yellow",
-            "ERROR": "red",
-            "CRITICAL": "red",
-        },
-    )
-
-    logger = logging.getLogger("example")
-    handler = logging.StreamHandler()
-    handler.setFormatter(formatter)
-    logger.addHandler(handler)
-    logger.setLevel(logging.DEBUG)
-
-    return logger
-
-
-def main():
-    """Create and use a logger."""
-    logger = setup_logger()
-
-    logger.debug("a debug message")
-    logger.info("an info message")
-    logger.warning("a warning message")
-    logger.error("an error message")
-    logger.critical("a critical message")
-
-
-if __name__ == "__main__":
-    main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/colorlog-6.8.0/doc/yaml_example.py 
new/colorlog-6.8.2/doc/yaml_example.py
--- old/colorlog-6.8.0/doc/yaml_example.py      2023-12-02 17:46:54.000000000 
+0100
+++ new/colorlog-6.8.2/doc/yaml_example.py      1970-01-01 01:00:00.000000000 
+0100
@@ -1,53 +0,0 @@
-"""
-Based on an example provided by Ricardo Reis.
-https://github.com/ricardo-reis-1970/colorlog-YAML
-
-This configures the `logging` module from a YAML file, and provides specific
-configuration for the loggers named 'application' and 'example'.
-"""
-
-import logging.config
-import pathlib
-
-import yaml
-
-
-def config():
-    """
-    Configure `logging` from a YAML file. You might adjust this function to
-    provide the configuration path as an argument.
-    """
-    path = pathlib.Path(__file__).with_suffix(".yaml")
-    logging.config.dictConfig(yaml.safe_load(path.read_text()))
-
-
-if __name__ == "__main__":
-    config()
-
-    root = logging.getLogger()
-    root.debug("Root logs debug example")
-    root.info("Root logs written to console without colours")
-    root.warning("Root logs warning")
-    root.error("Root logs error")
-    root.critical("Root logs critical")
-
-    unknown = logging.getLogger("unknown")
-    unknown.debug("Unknown logs debug example")
-    unknown.info("Unknown logs propagated to root logger")
-    unknown.warning("Unknown logs warning")
-    unknown.error("Unknown logs error")
-    unknown.critical("Unknown logs critical")
-
-    application = logging.getLogger("application")
-    application.debug("Application logs debug filtered by log level")
-    application.info("Application logs written to console and file")
-    application.warning("Application logs not propagated to the root logger")
-    application.error("Application logs error example")
-    application.critical("Application logs critical example")
-
-    example = logging.getLogger("example")
-    example.debug("Example logs debug filtered by log level")
-    example.info("Example logs configured to write to file")
-    example.warning("Example logs propagated to the root logger")
-    example.error("Example logs error example")
-    example.critical("Example logs critical example")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/colorlog-6.8.0/setup.py new/colorlog-6.8.2/setup.py
--- old/colorlog-6.8.0/setup.py 2023-12-02 17:46:54.000000000 +0100
+++ new/colorlog-6.8.2/setup.py 2024-01-26 14:59:21.000000000 +0100
@@ -2,7 +2,7 @@
 
 setup(
     name="colorlog",
-    version="6.8.0",
+    version="6.8.2",
     description="Add colours to the output of Python's logging module.",
     long_description=open("README.md").read(),
     long_description_content_type="text/markdown",

Reply via email to