forked from pool/python-loguru
		
	- update to 0.7.0:
* Update `InterceptHandler` recipe to make it compatible with
    Python 3.11 (#654).
  * Add a new `watch` optional argument to file sinks in order to
    automatically re-create possibly deleted or changed file
    (#471).
  * Make `patch()` calls cumulative instead of overriding the
    possibly existing patching function (#462).
  * Make sinks added with `enqueue=True` and `catch=False` still
    process logged messages in case of internal exception (#833).
  * Avoid possible deadlocks caused by re-using the logger inside
    a sink, a signal handler or a `__del__` method. Since the
    logger is not re-entrant, such misuse will be detected and
    will now generate a `RuntimeError` (#712, thanks
    @jacksmith15).
  * Fix file sink rotation using an aware `datetime.time` for
    which the timezone was ignored (#697).
  * Fix logs colorization not automatically enabled for Jupyter
    Notebook and Google Colab (#494).
  * Fix logs colorization not automatically enabled for Github
    Actions and others CI platforms (#604).
  * Fix `logger.complete()` possibly hanging forever when
    `enqueue=True` and `catch=False` if internal thread killed
    due to `Exception` raised by sink (#647).
  * Fix incompatibility with `freezegun` library used to simulate
    time (#600).
  * Raise exception if `logger.catch()` is used to wrap a class
    instead of a function to avoid unexpected behavior (#623).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-loguru?expand=0&rev=21
			
			
This commit is contained in:
		@@ -1,3 +0,0 @@
 | 
				
			|||||||
version https://git-lfs.github.com/spec/v1
 | 
					 | 
				
			||||||
oid sha256:066bd06758d0a513e9836fd9c6b5a75bfb3fd36841f4b996bc60b547a309d41c
 | 
					 | 
				
			||||||
size 123158
 | 
					 | 
				
			||||||
							
								
								
									
										3
									
								
								loguru-0.7.0.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								loguru-0.7.0.tar.gz
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					version https://git-lfs.github.com/spec/v1
 | 
				
			||||||
 | 
					oid sha256:1612053ced6ae84d7959dd7d5e431a0532642237ec21f7fd83ac73fe539e03e1
 | 
				
			||||||
 | 
					size 131961
 | 
				
			||||||
@@ -1,3 +1,35 @@
 | 
				
			|||||||
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
 | 
					Fri May  5 12:35:44 UTC 2023 - Dirk Müller <dmueller@suse.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- update to 0.7.0:
 | 
				
			||||||
 | 
					  * Update `InterceptHandler` recipe to make it compatible with
 | 
				
			||||||
 | 
					    Python 3.11 (#654).
 | 
				
			||||||
 | 
					  * Add a new `watch` optional argument to file sinks in order to
 | 
				
			||||||
 | 
					    automatically re-create possibly deleted or changed file
 | 
				
			||||||
 | 
					    (#471).
 | 
				
			||||||
 | 
					  * Make `patch()` calls cumulative instead of overriding the
 | 
				
			||||||
 | 
					    possibly existing patching function (#462).
 | 
				
			||||||
 | 
					  * Make sinks added with `enqueue=True` and `catch=False` still
 | 
				
			||||||
 | 
					    process logged messages in case of internal exception (#833).
 | 
				
			||||||
 | 
					  * Avoid possible deadlocks caused by re-using the logger inside
 | 
				
			||||||
 | 
					    a sink, a signal handler or a `__del__` method. Since the
 | 
				
			||||||
 | 
					    logger is not re-entrant, such misuse will be detected and
 | 
				
			||||||
 | 
					    will now generate a `RuntimeError` (#712, thanks
 | 
				
			||||||
 | 
					    @jacksmith15).
 | 
				
			||||||
 | 
					  * Fix file sink rotation using an aware `datetime.time` for
 | 
				
			||||||
 | 
					    which the timezone was ignored (#697).
 | 
				
			||||||
 | 
					  * Fix logs colorization not automatically enabled for Jupyter
 | 
				
			||||||
 | 
					    Notebook and Google Colab (#494).
 | 
				
			||||||
 | 
					  * Fix logs colorization not automatically enabled for Github
 | 
				
			||||||
 | 
					    Actions and others CI platforms (#604).
 | 
				
			||||||
 | 
					  * Fix `logger.complete()` possibly hanging forever when
 | 
				
			||||||
 | 
					    `enqueue=True` and `catch=False` if internal thread killed
 | 
				
			||||||
 | 
					    due to `Exception` raised by sink (#647).
 | 
				
			||||||
 | 
					  * Fix incompatibility with `freezegun` library used to simulate
 | 
				
			||||||
 | 
					    time (#600).
 | 
				
			||||||
 | 
					  * Raise exception if `logger.catch()` is used to wrap a class
 | 
				
			||||||
 | 
					    instead of a function to avoid unexpected behavior (#623).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-------------------------------------------------------------------
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
Fri Apr 21 12:28:02 UTC 2023 - Dirk Müller <dmueller@suse.com>
 | 
					Fri Apr 21 12:28:02 UTC 2023 - Dirk Müller <dmueller@suse.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -21,18 +21,16 @@
 | 
				
			|||||||
%define skip_python36 1
 | 
					%define skip_python36 1
 | 
				
			||||||
%{?sle15_python_module_pythons}
 | 
					%{?sle15_python_module_pythons}
 | 
				
			||||||
Name:           python-loguru
 | 
					Name:           python-loguru
 | 
				
			||||||
Version:        0.6.0
 | 
					Version:        0.7.0
 | 
				
			||||||
Release:        0
 | 
					Release:        0
 | 
				
			||||||
Summary:        Python logging component with a simple interface
 | 
					Summary:        Python logging component with a simple interface
 | 
				
			||||||
License:        MIT
 | 
					License:        MIT
 | 
				
			||||||
Group:          Development/Languages/Python
 | 
					Group:          Development/Languages/Python
 | 
				
			||||||
URL:            https://github.com/Delgan/loguru
 | 
					URL:            https://github.com/Delgan/loguru
 | 
				
			||||||
Source:         https://files.pythonhosted.org/packages/source/l/loguru/loguru-%{version}.tar.gz
 | 
					Source:         https://files.pythonhosted.org/packages/source/l/loguru/loguru-%{version}.tar.gz
 | 
				
			||||||
# PATCH-FIX-UPSTREAM loguru-fix-repr-tests.patch https://github.com/Delgan/loguru/commit/4fe21f6 -- Fix "repr()" tests failing on Python 3.11 and Python 3.10.6
 | 
					 | 
				
			||||||
Patch1:         loguru-fix-repr-tests.patch
 | 
					 | 
				
			||||||
# PATCH-FIX-UPSTREAM https://github.com/Delgan/loguru/commit/5b77724ca75aa8f4b1c8866e0b786c3cbe30ca99
 | 
					 | 
				
			||||||
Patch2:         python311.patch
 | 
					 | 
				
			||||||
BuildRequires:  %{python_module colorama}
 | 
					BuildRequires:  %{python_module colorama}
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module freezegun}
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module mypy}
 | 
				
			||||||
BuildRequires:  %{python_module pytest}
 | 
					BuildRequires:  %{python_module pytest}
 | 
				
			||||||
BuildRequires:  %{python_module setuptools}
 | 
					BuildRequires:  %{python_module setuptools}
 | 
				
			||||||
BuildRequires:  fdupes
 | 
					BuildRequires:  fdupes
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user