forked from pool/python-structlog
Accepting request 785908 from home:pgajdos:python
- version update to 20.1.0 - This is the last version to support Python 2.7 (including PyPy) and 3.5. All following versions will only support Python 3.6 or later. - Added a new module ``structlog.contextvars`` that allows to have a global but context-local ``structlog`` context the same way as with ``structlog.threadlocal`` since 19.2.0. `#201 <https://github.com/hynek/structlog/issues/201>`_, `#236 <https://github.com/hynek/structlog/pull/236>`_ - Added a new module ``structlog.testing`` for first class testing support. The first entry is the context manager ``capture_logs()`` that allows to make assertions about structured log calls. `#14 <https://github.com/hynek/structlog/issues/14>`_, `#234 <https://github.com/hynek/structlog/pull/234>`_ - Added ``structlog.threadlocal.unbind_threadlocal()``. `#239 <https://github.com/hynek/structlog/pull/239>`_ - The logger created by ``structlog.get_logger()`` is not detected as an abstract method anymore, when attached to an abstract base class. `#229 <https://github.com/hynek/structlog/issues/229>`_ - ``colorama`` isn't initialized lazily on Windows anymore because it breaks rendering. `#232 <https://github.com/hynek/structlog/issues/232>`_, `#242 <https://github.com/hynek/structlog/pull/242>`_ OBS-URL: https://build.opensuse.org/request/show/785908 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-structlog?expand=0&rev=5
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:736acf9cd273ad7ac6b34a9e2e8e0648eed7c34488d979683d192654fd50b2c2
|
||||
size 320238
|
3
20.1.0.tar.gz
Normal file
3
20.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5e4f4e672cd8586cfbb96a6e62cb423f563dfa98f29364a4074e2520b2f6b394
|
||||
size 324210
|
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 17 11:33:05 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
- version update to 20.1.0
|
||||
- This is the last version to support Python 2.7 (including PyPy) and 3.5.
|
||||
All following versions will only support Python 3.6 or later.
|
||||
- Added a new module ``structlog.contextvars`` that allows to have a global but context-local ``structlog`` context the same way as with ``structlog.threadlocal`` since 19.2.0.
|
||||
`#201 <https://github.com/hynek/structlog/issues/201>`_,
|
||||
`#236 <https://github.com/hynek/structlog/pull/236>`_
|
||||
- Added a new module ``structlog.testing`` for first class testing support.
|
||||
The first entry is the context manager ``capture_logs()`` that allows to make assertions about structured log calls.
|
||||
`#14 <https://github.com/hynek/structlog/issues/14>`_,
|
||||
`#234 <https://github.com/hynek/structlog/pull/234>`_
|
||||
- Added ``structlog.threadlocal.unbind_threadlocal()``.
|
||||
`#239 <https://github.com/hynek/structlog/pull/239>`_
|
||||
- The logger created by ``structlog.get_logger()`` is not detected as an abstract method anymore, when attached to an abstract base class.
|
||||
`#229 <https://github.com/hynek/structlog/issues/229>`_
|
||||
- ``colorama`` isn't initialized lazily on Windows anymore because it breaks rendering.
|
||||
`#232 <https://github.com/hynek/structlog/issues/232>`_,
|
||||
`#242 <https://github.com/hynek/structlog/pull/242>`_
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 17 06:35:14 UTC 2019 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-structlog
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,8 +17,10 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# because of acyncio for tests
|
||||
%define skip_python2 1
|
||||
Name: python-structlog
|
||||
Version: 19.2.0
|
||||
Version: 20.1.0
|
||||
Release: 0
|
||||
Summary: Structured Logging for Python
|
||||
License: Apache-2.0 OR MIT
|
||||
@@ -30,6 +32,8 @@ BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module freezegun >= 0.2.8}
|
||||
BuildRequires: %{python_module pretend}
|
||||
BuildRequires: %{python_module pytest >= 3.3.0}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module python-rapidjson}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module simplejson}
|
||||
BuildRequires: %{python_module six}
|
||||
@@ -37,9 +41,6 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
%if %{python_version_nodots} >= 36
|
||||
BuildRequires: python3-rapidjson
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
Reference in New Issue
Block a user