Hello community, here is the log from the commit of package python-oslo.log for openSUSE:Factory checked in at 2017-02-21 13:46:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.log (Old) and /work/SRC/openSUSE:Factory/.python-oslo.log.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-oslo.log" Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.log/python-oslo.log.changes 2016-09-30 15:29:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-oslo.log.new/python-oslo.log.changes 2017-02-21 13:46:37.407827261 +0100 @@ -1,0 +2,30 @@ +Mon Feb 13 18:10:47 UTC 2017 - tbechtold@suse.com + +- Add 0001-Must-not-go-underneath-the-context-object-and-access.patch + +------------------------------------------------------------------- +Fri Feb 10 14:34:11 UTC 2017 - cloud-devel@suse.de + +- update to version 3.20.0: + - Add a json reformatter command + - Add support for P and Q release names + - Update reno for stable/newton + - Avoid converting to unicode if not needed + - Imported Translations from Zanata + - standardize release note page ordering + - Add Constraints support + - Implement FluentFormatter + - modify the home-page info with the developer documentation + - Show team and repo badges on README + - Default use_stderr to False + - Use six.wraps instead of functools + - Fix typos + - Fix races in unit tests + - Enable release notes translation + - Add a filter to rate limit logs + - Modify use of assertTrue(A in B) + - Change assertTrue(isinstance()) by optimal assert + - Replace method attr in vars() to hasattr + - Updated from global requirements + +------------------------------------------------------------------- Old: ---- oslo.log-3.16.0.tar.gz New: ---- 0001-Must-not-go-underneath-the-context-object-and-access.patch oslo.log-3.20.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.log.spec ++++++ --- /var/tmp/diff_new_pack.ZBNt14/_old 2017-02-21 13:46:37.899757861 +0100 +++ /var/tmp/diff_new_pack.ZBNt14/_new 2017-02-21 13:46:37.899757861 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-oslo.log # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,23 +18,26 @@ %global sname oslo.log Name: python-oslo.log -Version: 3.16.0 +Version: 3.20.0 Release: 0 Summary: OpenStack log library License: Apache-2.0 Group: Development/Languages/Python Url: https://launchpad.net/%{sname} Source0: https://pypi.io/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz +# 0001-Must-not-go-underneath-the-context-object-and-access.patch -- https://review.openstack.org/#/c/426587/ +Patch1: 0001-Must-not-go-underneath-the-context-object-and-access.patch BuildRequires: openstack-macros BuildRequires: python-devel BuildRequires: python-mock >= 2.0 +BuildRequires: python-monotonic >= 0.6 BuildRequires: python-oslo.config >= 3.14.0 -BuildRequires: python-oslo.context >= 2.6.0 +BuildRequires: python-oslo.context >= 2.9.0 BuildRequires: python-oslo.i18n >= 2.1.0 BuildRequires: python-oslo.serialization >= 1.10.0 -BuildRequires: python-oslo.utils >= 3.16.0 +BuildRequires: python-oslo.utils >= 3.18.0 BuildRequires: python-oslotest >= 1.10.0 -BuildRequires: python-pbr >= 1.6 +BuildRequires: python-pbr >= 1.8 BuildRequires: python-pyinotify >= 0.9.6 BuildRequires: python-python-dateutil >= 2.4.2 BuildRequires: python-python-subunit >= 0.0.18 @@ -43,11 +46,12 @@ BuildRequires: python-testscenarios >= 0.4 BuildRequires: python-testtools >= 1.4.0 Requires: python-debtcollector >= 1.2.0 +Requires: python-monotonic >= 0.6 Requires: python-oslo.config >= 3.14.0 -Requires: python-oslo.context >= 2.6.0 +Requires: python-oslo.context >= 2.9.0 Requires: python-oslo.i18n >= 2.1.0 Requires: python-oslo.serialization >= 1.10.0 -Requires: python-oslo.utils >= 3.16.0 +Requires: python-oslo.utils >= 3.18.0 Requires: python-pyinotify >= 0.9.6 Requires: python-python-dateutil >= 2.4.2 Requires: python-six >= 1.9.0 @@ -62,13 +66,14 @@ Summary: Documentation for OpenStack log library Group: Development/Languages/Python BuildRequires: python-Sphinx -BuildRequires: python-oslosphinx >= 2.5.0 +BuildRequires: python-oslosphinx >= 4.7.0 %description doc Documentation for the oslo.log library. %prep -%setup -q -n %{sname}-%{version} +%autosetup -n %{sname}-%{version} -p1 +%py_req_cleanup %build %{py2_build} @@ -88,6 +93,7 @@ %doc ChangeLog README.rst %{python2_sitelib}/oslo_log %{python2_sitelib}/*.egg-info +%{_bindir}/convert-json %files doc %license LICENSE ++++++ 0001-Must-not-go-underneath-the-context-object-and-access.patch ++++++
From 60d66d2a7f517ff22da40824cb840e6697d78dba Mon Sep 17 00:00:00 2001 From: Joshua Harlow
Date: Wed, 25 Jan 2017 12:32:17 -0800 Subject: [PATCH] Must not go underneath the context object and access __dict__
We have moved properties that no longer make directly accessing the __dict__ a good practice to go forward with (because those properties redirect to other members) so prefer to go through the correct conversion method to get at the dict that represents a context. Change-Id: I6fbf2192f477f62b1843321d2ec2147a3536a888 (cherry picked from commit 1640564dd15bda135ea37be3b76d5ae0ac28b7bc) --- oslo_log/formatters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oslo_log/formatters.py b/oslo_log/formatters.py index b66654d..275ceac 100644 --- a/oslo_log/formatters.py +++ b/oslo_log/formatters.py @@ -337,7 +337,7 @@ class ContextFormatter(logging.Formatter): if context: record.user_identity = ( self.conf.logging_user_identity_format % - _ReplaceFalseValue(context.__dict__) + _ReplaceFalseValue(_dictify_context(context)) ) if record.__dict__.get('request_id'): -- 2.11.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.ZBNt14/_old 2017-02-21 13:46:37.943751655 +0100 +++ /var/tmp/diff_new_pack.ZBNt14/_new 2017-02-21 13:46:37.943751655 +0100 @@ -1,14 +1,12 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/o...</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/opens...</param> <param name="output-name">python-oslo.log.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/global-requ...</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/globa...</param> + <param name="changelog-email">cloud-devel@suse.de</param> + <param name="changelog-provider">gh,openstack,oslo.log</param> </service> <service mode="disabled" name="download_files"> - <param name="changesgenerate">enable</param> - <param name="changeslinesmax">300</param> - </service> - <service name="refresh_patches" mode="disabled"> - <param name="changesgenerate">enable</param> </service> + <service name="format_spec_file" mode="disabled"/> </services> ++++++ oslo.log-3.16.0.tar.gz -> oslo.log-3.20.0.tar.gz ++++++ ++++ 1604 lines of diff (skipped)