Hello community, here is the log from the commit of package python-oslo.log for openSUSE:Factory checked in at 2018-09-07 15:40:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.log (Old) and /work/SRC/openSUSE:Factory/.python-oslo.log.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.log" Fri Sep 7 15:40:24 2018 rev:13 rq:633514 version:3.39.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.log/python-oslo.log.changes 2018-03-22 12:09:16.444733529 +0100 +++ /work/SRC/openSUSE:Factory/.python-oslo.log.new/python-oslo.log.changes 2018-09-07 15:40:33.790461556 +0200 @@ -1,0 +2,29 @@ +Mon Sep 3 09:09:26 UTC 2018 - [email protected] + +- update to version 3.39.0 + - Fix file permissions + - Update reno for stable/queens + - Increase sleep time in testsuite to make it more robust + - Imported Translations from Zanata + - Add release notes link to README + - Fix sphinx-docs job + - Automatically append reset_color to log lines + - Provide reset_color key on log record + - Zuul: Remove project name + - Add ROCKY to deprecated releases + - Remove stale pip-missing-reqs tox test + - Add Stein release to versionutils + - Update links in README + - Add Rocky release to versionutils._RELEASES + - Trivial: Update pypi url to new url + - tox: Group targets and tool configuration together + - tox: Don't set basepython in testenv + - set default python to python3 + - fix tox python3 overrides + - update structured logging tests to prove context id is included + - Fix Formatter subclasses for Python 3.2+ + - Updated from global requirements + - add lower-constraints job +- remove 0001-Increase-sleep-time-in-testsuite-to-make-it-more-rob.patch (upstream) + +------------------------------------------------------------------- Old: ---- 0001-Increase-sleep-time-in-testsuite-to-make-it-more-rob.patch oslo.log-3.36.0.tar.gz New: ---- oslo.log-3.39.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.log.spec ++++++ --- /var/tmp/diff_new_pack.dPrAqC/_old 2018-09-07 15:40:34.494460802 +0200 +++ /var/tmp/diff_new_pack.dPrAqC/_new 2018-09-07 15:40:34.498460797 +0200 @@ -17,59 +17,57 @@ Name: python-oslo.log -Version: 3.36.0 +Version: 3.39.0 Release: 0 Summary: OpenStack log library License: Apache-2.0 Group: Development/Languages/Python -Url: https://launchpad.net/oslo.log -Source0: https://files.pythonhosted.org/packages/source/o/oslo.log/oslo.log-3.36.0.tar.gz -# https://review.openstack.org/#/c/554180/ -Patch0: 0001-Increase-sleep-time-in-testsuite-to-make-it-more-rob.patch +URL: https://launchpad.net/oslo.log +Source0: https://files.pythonhosted.org/packages/source/o/oslo.log/oslo.log-3.39.0.tar.gz BuildRequires: openstack-macros BuildRequires: python-devel -BuildRequires: python2-mock >= 2.0.0 +BuildRequires: python2-mock BuildRequires: python2-monotonic >= 0.6 -BuildRequires: python2-oslo.config >= 5.1.0 +BuildRequires: python2-oslo.config >= 5.2.0 BuildRequires: python2-oslo.context >= 2.19.2 BuildRequires: python2-oslo.i18n >= 3.15.3 BuildRequires: python2-oslo.serialization >= 2.18.0 BuildRequires: python2-oslo.utils >= 3.33.0 -BuildRequires: python2-oslotest >= 3.2.0 +BuildRequires: python2-oslotest BuildRequires: python2-pbr >= 2.0.0 BuildRequires: python2-pyinotify >= 0.9.6 -BuildRequires: python2-python-dateutil >= 2.4.2 -BuildRequires: python2-python-subunit >= 1.0.0 +BuildRequires: python2-python-dateutil >= 2.5.3 +BuildRequires: python2-python-subunit BuildRequires: python2-six >= 1.10.0 -BuildRequires: python2-testrepository >= 0.0.18 -BuildRequires: python2-testscenarios >= 0.4 -BuildRequires: python2-testtools >= 2.2.0 +BuildRequires: python2-testrepository +BuildRequires: python2-testscenarios +BuildRequires: python2-testtools BuildRequires: python3-devel -BuildRequires: python3-mock >= 2.0.0 +BuildRequires: python3-mock BuildRequires: python3-monotonic >= 0.6 -BuildRequires: python3-oslo.config >= 5.1.0 +BuildRequires: python3-oslo.config >= 5.2.0 BuildRequires: python3-oslo.context >= 2.19.2 BuildRequires: python3-oslo.i18n >= 3.15.3 BuildRequires: python3-oslo.serialization >= 2.18.0 BuildRequires: python3-oslo.utils >= 3.33.0 -BuildRequires: python3-oslotest >= 3.2.0 +BuildRequires: python3-oslotest BuildRequires: python3-pbr >= 2.0.0 BuildRequires: python3-pyinotify >= 0.9.6 -BuildRequires: python3-python-dateutil >= 2.4.2 -BuildRequires: python3-python-subunit >= 1.0.0 +BuildRequires: python3-python-dateutil >= 2.5.3 +BuildRequires: python3-python-subunit BuildRequires: python3-six >= 1.10.0 -BuildRequires: python3-testrepository >= 0.0.18 -BuildRequires: python3-testscenarios >= 0.4 -BuildRequires: python3-testtools >= 2.2.0 +BuildRequires: python3-testrepository +BuildRequires: python3-testscenarios +BuildRequires: python3-testtools Requires: python-debtcollector >= 1.2.0 Requires: python-monotonic >= 0.6 -Requires: python-oslo.config >= 5.1.0 +Requires: python-oslo.config >= 5.2.0 Requires: python-oslo.context >= 2.19.2 Requires: python-oslo.i18n >= 3.15.3 Requires: python-oslo.serialization >= 2.18.0 Requires: python-oslo.utils >= 3.33.0 Requires: python-pyinotify >= 0.9.6 -Requires: python-python-dateutil >= 2.4.2 +Requires: python-python-dateutil >= 2.5.3 Requires: python-six >= 1.10.0 BuildArch: noarch %if 0%{?suse_version} @@ -91,13 +89,13 @@ Summary: Documentation for OpenStack log library Group: Development/Languages/Python BuildRequires: python-Sphinx -BuildRequires: python-openstackdocstheme >= 1.18.1 +BuildRequires: python-openstackdocstheme %description -n python-oslo.log-doc Documentation for the oslo.log library. %prep -%autosetup -p1 -n oslo.log-3.36.0 +%autosetup -p1 -n oslo.log-3.39.0 %py_req_cleanup sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg ++++++ _service ++++++ --- /var/tmp/diff_new_pack.dPrAqC/_old 2018-09-07 15:40:34.522460772 +0200 +++ /var/tmp/diff_new_pack.dPrAqC/_new 2018-09-07 15:40:34.526460767 +0200 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/openstack/oslo.log/oslo.log.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/rocky/openstack/oslo.log/oslo.log.spec.j2</param> <param name="output-name">python-oslo.log.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/oslo.log/stable/rocky/requirements.txt</param> <param name="changelog-email">[email protected]</param> <param name="changelog-provider">gh,openstack,oslo.log</param> </service> ++++++ oslo.log-3.36.0.tar.gz -> oslo.log-3.39.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/.zuul.yaml new/oslo.log-3.39.0/.zuul.yaml --- old/oslo.log-3.36.0/.zuul.yaml 2018-01-08 15:13:47.000000000 +0100 +++ new/oslo.log-3.39.0/.zuul.yaml 2018-06-27 10:26:18.000000000 +0200 @@ -14,8 +14,11 @@ timeout: 10800 - project: - name: openstack/oslo.log check: jobs: - oslo.log-src-grenade-devstack + - openstack-tox-lower-constraints + gate: + jobs: + - openstack-tox-lower-constraints diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/AUTHORS new/oslo.log-3.39.0/AUTHORS --- old/oslo.log-3.36.0/AUTHORS 2018-01-08 15:15:56.000000000 +0100 +++ new/oslo.log-3.39.0/AUTHORS 2018-06-27 10:29:41.000000000 +0200 @@ -50,6 +50,7 @@ Flavio Percoco <[email protected]> Flavio Percoco <[email protected]> Francois Deppierraz <[email protected]> +Gage Hugo <[email protected]> Gary Kotton <[email protected]> Gorka Eguileor <[email protected]> Ian Cordasco <[email protected]> @@ -74,6 +75,7 @@ Joshua Harlow <[email protected]> Juan Antonio Osorio Robles <[email protected]> Julien Danjou <[email protected]> +Kenneth Giusti <[email protected]> Kevin Benton <[email protected]> Kevin Rasmussen <[email protected]> Kiall Mac Innes <[email protected]> @@ -93,6 +95,7 @@ Michael Basnight <[email protected]> Michael Kerrin <[email protected]> Michael Still <[email protected]> +MichaĆ Dulko <[email protected]> Michel Nederlof <[email protected]> Min Pae <[email protected]> Monty Taylor <[email protected]> @@ -119,6 +122,7 @@ Steve Martinelli <[email protected]> Steve Martinelli <[email protected]> Stuart McLaren <[email protected]> +Suff <[email protected]> Thomas Bechtold <[email protected]> Thomas Herve <[email protected]> Thomas Herve <[email protected]> @@ -139,6 +143,7 @@ Zuul <[email protected]> abhishekkekane <[email protected]> avnish <[email protected]> +eeldill <[email protected]> gecong1973 <[email protected]> gengchc2 <[email protected]> gtt116 <[email protected]> @@ -147,9 +152,11 @@ loooosy <[email protected]> malei <[email protected]> melanie witt <[email protected]> +melissaml <[email protected]> ricolin <[email protected]> sonu.kumar <[email protected]> tanlin <[email protected]> venkatamahesh <[email protected]> +wangqi <[email protected]> yan.haifeng <[email protected]> zhang-jinnan <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/ChangeLog new/oslo.log-3.39.0/ChangeLog --- old/oslo.log-3.36.0/ChangeLog 2018-01-08 15:15:56.000000000 +0100 +++ new/oslo.log-3.39.0/ChangeLog 2018-06-27 10:29:41.000000000 +0200 @@ -1,6 +1,53 @@ CHANGES ======= +3.39.0 +------ + +* Add release notes link to README +* Automatically append reset\_color to log lines +* fix tox python3 overrides +* Provide reset\_color key on log record +* tox: Group targets and tool configuration together +* tox: Don't set basepython in testenv + +3.38.1 +------ + +* Fix Formatter subclasses for Python 3.2+ +* Fix file permissions +* Remove stale pip-missing-reqs tox test +* Trivial: Update pypi url to new url +* Fix sphinx-docs job +* set default python to python3 + +3.38.0 +------ + +* Add Stein release to versionutils +* Add ROCKY to deprecated releases +* add lower-constraints job +* Increase sleep time in testsuite to make it more robust +* Updated from global requirements + +3.37.0 +------ + +* Add Rocky release to versionutils.\_RELEASES +* Updated from global requirements +* Update links in README +* Imported Translations from Zanata +* Zuul: Remove project name +* Imported Translations from Zanata +* Zuul: Remove project name +* Update reno for stable/queens +* Updated from global requirements +* Imported Translations from Zanata +* update structured logging tests to prove context id is included +* Updated from global requirements +* Updated from global requirements +* Updated from global requirements + 3.36.0 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/PKG-INFO new/oslo.log-3.39.0/PKG-INFO --- old/oslo.log-3.36.0/PKG-INFO 2018-01-08 15:15:56.000000000 +0100 +++ new/oslo.log-3.39.0/PKG-INFO 2018-06-27 10:29:43.000000000 +0200 @@ -1,18 +1,17 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: oslo.log -Version: 3.36.0 +Version: 3.39.0 Summary: oslo.log library Home-page: https://docs.openstack.org/oslo.log/latest Author: OpenStack Author-email: [email protected] License: UNKNOWN -Description-Content-Type: UNKNOWN Description: ======================== Team and repository tags ======================== - .. image:: https://governance.openstack.org/badges/oslo.log.svg - :target: https://governance.openstack.org/reference/tags/index.html + .. image:: https://governance.openstack.org/tc/badges/oslo.log.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html .. Change things from this point on @@ -21,11 +20,11 @@ ================================ .. image:: https://img.shields.io/pypi/v/oslo.log.svg - :target: https://pypi.python.org/pypi/oslo.log/ + :target: https://pypi.org/project/oslo.log/ :alt: Latest Version .. image:: https://img.shields.io/pypi/dm/oslo.log.svg - :target: https://pypi.python.org/pypi/oslo.log/ + :target: https://pypi.org/project/oslo.log/ :alt: Downloads The oslo.log (logging) configuration library provides standardized @@ -34,9 +33,10 @@ logging (like resource id's etc). * Free software: Apache license - * Documentation: https://docs.openstack.org/oslo.log/latest + * Documentation: https://docs.openstack.org/oslo.log/latest/ * Source: https://git.openstack.org/cgit/openstack/oslo.log * Bugs: https://bugs.launchpad.net/oslo.log + * Release notes: https://docs.openstack.org/releasenotes/oslo.log/ Platform: UNKNOWN @@ -50,3 +50,6 @@ Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.5 +Provides-Extra: fixtures +Provides-Extra: test +Provides-Extra: systemd diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/README.rst new/oslo.log-3.39.0/README.rst --- old/oslo.log-3.36.0/README.rst 2018-01-08 15:13:47.000000000 +0100 +++ new/oslo.log-3.39.0/README.rst 2018-06-27 10:26:18.000000000 +0200 @@ -2,8 +2,8 @@ Team and repository tags ======================== -.. image:: https://governance.openstack.org/badges/oslo.log.svg - :target: https://governance.openstack.org/reference/tags/index.html +.. image:: https://governance.openstack.org/tc/badges/oslo.log.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html .. Change things from this point on @@ -12,11 +12,11 @@ ================================ .. image:: https://img.shields.io/pypi/v/oslo.log.svg - :target: https://pypi.python.org/pypi/oslo.log/ + :target: https://pypi.org/project/oslo.log/ :alt: Latest Version .. image:: https://img.shields.io/pypi/dm/oslo.log.svg - :target: https://pypi.python.org/pypi/oslo.log/ + :target: https://pypi.org/project/oslo.log/ :alt: Downloads The oslo.log (logging) configuration library provides standardized @@ -25,6 +25,7 @@ logging (like resource id's etc). * Free software: Apache license -* Documentation: https://docs.openstack.org/oslo.log/latest +* Documentation: https://docs.openstack.org/oslo.log/latest/ * Source: https://git.openstack.org/cgit/openstack/oslo.log * Bugs: https://bugs.launchpad.net/oslo.log +* Release notes: https://docs.openstack.org/releasenotes/oslo.log/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/RELEASENOTES.rst new/oslo.log-3.39.0/RELEASENOTES.rst --- old/oslo.log-3.36.0/RELEASENOTES.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.log-3.39.0/RELEASENOTES.rst 2018-06-27 10:29:43.000000000 +0200 @@ -0,0 +1,3 @@ +======== +oslo.log +======== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/doc/source/admin/journal.rst new/oslo.log-3.39.0/doc/source/admin/journal.rst --- old/oslo.log-3.36.0/doc/source/admin/journal.rst 2018-01-08 15:13:47.000000000 +0100 +++ new/oslo.log-3.39.0/doc/source/admin/journal.rst 2018-06-27 10:26:18.000000000 +0200 @@ -29,7 +29,7 @@ There are also many non official systemd python modules on pypi, with confusingly close names. Make sure you install `systemd-python - <https://pypi.python.org/pypi/systemd-python>`_. + <https://pypi.org/project/systemd-python>`_. After the package is installed, you must enable journald support manually in all services that will be using it. Add the following to diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/lower-constraints.txt new/oslo.log-3.39.0/lower-constraints.txt --- old/oslo.log-3.36.0/lower-constraints.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.log-3.39.0/lower-constraints.txt 2018-06-27 10:26:18.000000000 +0200 @@ -0,0 +1,68 @@ +alabaster==0.7.10 +appdirs==1.4.3 +Babel==2.5.3 +bandit==1.4.0 +certifi==2018.1.18 +chardet==3.0.4 +coverage==4.5.1 +debtcollector==1.19.0 +docutils==0.14 +dulwich==0.19.0 +extras==1.0.0 +fixtures==3.0.0 +flake8==2.5.5 +gitdb2==2.0.3 +GitPython==2.1.8 +hacking==0.12.0 +idna==2.6 +imagesize==1.0.0 +iso8601==0.1.12 +Jinja2==2.10 +keystoneauth1==3.4.0 +linecache2==1.0.0 +MarkupSafe==1.0 +mccabe==0.2.1 +mock==2.0.0 +monotonic==1.4 +mox3==0.25.0 +msgpack==0.5.6 +netaddr==0.7.19 +netifaces==0.10.6 +openstack-requirements==1.2.0 +openstackdocstheme==1.20.0 +os-client-config==1.29.0 +oslo.config==5.2.0 +oslo.context==2.20.0 +oslo.i18n==3.20.0 +oslo.serialization==2.25.0 +oslo.utils==3.36.0 +oslotest==3.3.0 +packaging==17.1 +Parsley==1.3 +pbr==3.1.1 +pep8==1.5.7 +pyflakes==0.8.1 +Pygments==2.2.0 +pyinotify==0.9.6 +pyparsing==2.2.0 +python-dateutil==2.7.0 +python-mimeparse==1.6.0 +python-subunit==1.2.0 +pytz==2018.3 +PyYAML==3.12 +reno==2.7.0 +requests==2.18.4 +requestsexceptions==1.4.0 +rfc3986==1.1.0 +six==1.11.0 +smmap2==2.0.3 +snowballstemmer==1.2.1 +Sphinx==1.6.5 +sphinxcontrib-websupport==1.0.1 +stevedore==1.28.0 +testrepository==0.0.20 +testtools==2.3.0 +traceback2==1.4.0 +unittest2==1.1.0 +urllib3==1.22 +wrapt==1.10.11 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/oslo.log.egg-info/PKG-INFO new/oslo.log-3.39.0/oslo.log.egg-info/PKG-INFO --- old/oslo.log-3.36.0/oslo.log.egg-info/PKG-INFO 2018-01-08 15:15:56.000000000 +0100 +++ new/oslo.log-3.39.0/oslo.log.egg-info/PKG-INFO 2018-06-27 10:29:41.000000000 +0200 @@ -1,18 +1,17 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: oslo.log -Version: 3.36.0 +Version: 3.39.0 Summary: oslo.log library Home-page: https://docs.openstack.org/oslo.log/latest Author: OpenStack Author-email: [email protected] License: UNKNOWN -Description-Content-Type: UNKNOWN Description: ======================== Team and repository tags ======================== - .. image:: https://governance.openstack.org/badges/oslo.log.svg - :target: https://governance.openstack.org/reference/tags/index.html + .. image:: https://governance.openstack.org/tc/badges/oslo.log.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html .. Change things from this point on @@ -21,11 +20,11 @@ ================================ .. image:: https://img.shields.io/pypi/v/oslo.log.svg - :target: https://pypi.python.org/pypi/oslo.log/ + :target: https://pypi.org/project/oslo.log/ :alt: Latest Version .. image:: https://img.shields.io/pypi/dm/oslo.log.svg - :target: https://pypi.python.org/pypi/oslo.log/ + :target: https://pypi.org/project/oslo.log/ :alt: Downloads The oslo.log (logging) configuration library provides standardized @@ -34,9 +33,10 @@ logging (like resource id's etc). * Free software: Apache license - * Documentation: https://docs.openstack.org/oslo.log/latest + * Documentation: https://docs.openstack.org/oslo.log/latest/ * Source: https://git.openstack.org/cgit/openstack/oslo.log * Bugs: https://bugs.launchpad.net/oslo.log + * Release notes: https://docs.openstack.org/releasenotes/oslo.log/ Platform: UNKNOWN @@ -50,3 +50,6 @@ Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.5 +Provides-Extra: fixtures +Provides-Extra: test +Provides-Extra: systemd diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/oslo.log.egg-info/SOURCES.txt new/oslo.log-3.39.0/oslo.log.egg-info/SOURCES.txt --- old/oslo.log-3.36.0/oslo.log.egg-info/SOURCES.txt 2018-01-08 15:15:56.000000000 +0100 +++ new/oslo.log-3.39.0/oslo.log.egg-info/SOURCES.txt 2018-06-27 10:29:42.000000000 +0200 @@ -9,6 +9,7 @@ LICENSE README.rst babel.cfg +lower-constraints.txt requirements.txt setup.cfg setup.py @@ -107,6 +108,7 @@ releasenotes/source/newton.rst releasenotes/source/ocata.rst releasenotes/source/pike.rst +releasenotes/source/queens.rst releasenotes/source/unreleased.rst releasenotes/source/_static/.placeholder releasenotes/source/_templates/.placeholder diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/oslo.log.egg-info/pbr.json new/oslo.log-3.39.0/oslo.log.egg-info/pbr.json --- old/oslo.log-3.36.0/oslo.log.egg-info/pbr.json 2018-01-08 15:15:56.000000000 +0100 +++ new/oslo.log-3.39.0/oslo.log.egg-info/pbr.json 2018-06-27 10:29:41.000000000 +0200 @@ -1 +1 @@ -{"git_version": "e29dc73", "is_release": true} \ No newline at end of file +{"git_version": "3b43002", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/oslo.log.egg-info/requires.txt new/oslo.log-3.39.0/oslo.log.egg-info/requires.txt --- old/oslo.log-3.36.0/oslo.log.egg-info/requires.txt 2018-01-08 15:15:56.000000000 +0100 +++ new/oslo.log-3.39.0/oslo.log.egg-info/requires.txt 2018-06-27 10:29:41.000000000 +0200 @@ -1,13 +1,13 @@ pbr!=2.1.0,>=2.0.0 six>=1.10.0 -oslo.config>=5.1.0 +oslo.config>=5.2.0 oslo.context>=2.19.2 oslo.i18n>=3.15.3 oslo.utils>=3.33.0 oslo.serialization!=2.19.1,>=2.18.0 debtcollector>=1.2.0 pyinotify>=0.9.6 -python-dateutil>=2.4.2 +python-dateutil>=2.5.3 monotonic>=0.6 [fixtures] @@ -15,3 +15,15 @@ [systemd] systemd-python>=234 + +[test] +hacking!=0.13.0,<0.14,>=0.12.0 +testrepository>=0.0.18 +testtools>=2.2.0 +mock>=2.0.0 +oslotest>=3.2.0 +coverage!=4.4,>=4.0 +sphinx!=1.6.6,!=1.6.7,>=1.6.2 +openstackdocstheme>=1.18.1 +reno>=2.5.0 +bandit>=1.1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/oslo_log/formatters.py new/oslo.log-3.39.0/oslo_log/formatters.py --- old/oslo.log-3.36.0/oslo_log/formatters.py 2018-01-08 15:13:56.000000000 +0100 +++ new/oslo.log-3.39.0/oslo_log/formatters.py 2018-06-27 10:26:18.000000000 +0200 @@ -181,9 +181,10 @@ class JSONFormatter(logging.Formatter): - def __init__(self, fmt=None, datefmt=None): - # NOTE(jkoelker) we ignore the fmt argument, but its still there - # since logging.config.fileConfig passes it. + def __init__(self, fmt=None, datefmt=None, style='%'): + # NOTE(sfinucan) we ignore the fmt and style arguments, but they're + # still there since logging.config.fileConfig passes the former in + # Python < 3.2 and both in Python >= 3.2 self.datefmt = datefmt try: self.hostname = socket.gethostname() @@ -277,9 +278,9 @@ .. versionadded:: 3.17 """ - def __init__(self, fmt=None, datefmt=None): - # NOTE(masaki) we ignore the fmt argument because of the same reason - # with JSONFormatter. + def __init__(self, fmt=None, datefmt=None, style='%s'): + # NOTE(sfinucan) we ignore the fmt and style arguments for the same + # reason as JSONFormatter. self.datefmt = datefmt try: self.hostname = socket.gethostname() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/oslo_log/handlers.py new/oslo.log-3.39.0/oslo_log/handlers.py --- old/oslo.log-3.36.0/oslo_log/handlers.py 2018-01-08 15:13:47.000000000 +0100 +++ new/oslo.log-3.39.0/oslo_log/handlers.py 2018-06-27 10:26:18.000000000 +0200 @@ -146,6 +146,12 @@ class ColorHandler(logging.StreamHandler): + """Log handler that sets the 'color' key based on the level + + To use, include a '%(color)s' entry in the logging_context_format_string. + There is also a '%(reset_color)s' key that can be used to manually reset + the color within a log line. + """ LEVEL_COLORS = { _TRACE: '\033[00;35m', # MAGENTA logging.DEBUG: '\033[00;32m', # GREEN @@ -158,4 +164,5 @@ def format(self, record): record.color = self.LEVEL_COLORS[record.levelno] - return logging.StreamHandler.format(self, record) + record.reset_color = '\033[00m' + return logging.StreamHandler.format(self, record) + record.reset_color diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/oslo_log/locale/en_GB/LC_MESSAGES/oslo_log.po new/oslo.log-3.39.0/oslo_log/locale/en_GB/LC_MESSAGES/oslo_log.po --- old/oslo.log-3.36.0/oslo_log/locale/en_GB/LC_MESSAGES/oslo_log.po 2018-01-08 15:13:47.000000000 +0100 +++ new/oslo.log-3.39.0/oslo_log/locale/en_GB/LC_MESSAGES/oslo_log.po 2018-06-27 10:26:18.000000000 +0200 @@ -1,17 +1,17 @@ # Andi Chandler <[email protected]>, 2016. #zanata msgid "" msgstr "" -"Project-Id-Version: oslo.log 3.11.1.dev4\n" +"Project-Id-Version: oslo.log VERSION\n" "Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n" -"POT-Creation-Date: 2016-07-01 03:32+0000\n" +"POT-Creation-Date: 2018-02-09 00:09+0000\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "PO-Revision-Date: 2016-06-28 05:56+0000\n" "Last-Translator: Andi Chandler <[email protected]>\n" "Language-Team: English (United Kingdom)\n" -"Language: en-GB\n" -"X-Generator: Zanata 3.7.3\n" +"Language: en_GB\n" +"X-Generator: Zanata 4.3.3\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" #, python-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/oslo_log/tests/unit/test_log.py new/oslo.log-3.39.0/oslo_log/tests/unit/test_log.py --- old/oslo.log-3.36.0/oslo_log/tests/unit/test_log.py 2018-01-08 15:13:56.000000000 +0100 +++ new/oslo.log-3.39.0/oslo_log/tests/unit/test_log.py 2018-06-27 10:26:18.000000000 +0200 @@ -448,6 +448,10 @@ self.assertEqual(ctx.user_name, context['user_name']) self.assertEqual(ctx.project_name, context['project_name']) self.assertEqual('test-json', data['name']) + self.assertIn('request_id', context) + self.assertEqual(ctx.request_id, context['request_id']) + self.assertIn('global_request_id', context) + self.assertEqual(ctx.global_request_id, context['global_request_id']) self.assertEqual(test_msg % test_data, data['message']) self.assertEqual(test_msg, data['msg']) @@ -634,6 +638,12 @@ self.assertEqual(local_context.user, context['user']) self.assertEqual('test-fluent', data['name']) + self.assertIn('request_id', context) + self.assertEqual(local_context.request_id, context['request_id']) + self.assertIn('global_request_id', context) + self.assertEqual(local_context.global_request_id, + context['global_request_id']) + self.assertEqual(test_msg % test_data, data['message']) self.assertEqual('test_log.py', data['filename']) @@ -1030,7 +1040,7 @@ fake_resource = {'name': resource} message = 'info' self.colorlog.info(message, context=ctxt, resource=fake_resource) - expected = ('%s [%s]: [%s] %s\n' % + expected = ('%s [%s]: [%s] %s\033[00m\n' % (color, ctxt.request_id, resource, message)) self.assertEqual(expected, self.stream.getvalue()) @@ -1043,7 +1053,7 @@ 'id': resource_id} message = 'info' self.colorlog.info(message, context=ctxt, resource=fake_resource) - expected = ('%s [%s]: [%s-%s] %s\n' % + expected = ('%s [%s]: [%s-%s] %s\033[00m\n' % (color, ctxt.request_id, type, resource_id, message)) self.assertEqual(expected, self.stream.getvalue()) @@ -1345,7 +1355,7 @@ mock_fileConfig.reset_mock() # No thread sync going on here, just ensure the mtimes are different - time.sleep(0.1) + time.sleep(1) os.utime(logini, None) self.CONF.mutate_config_files() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/oslo_log/versionutils.py new/oslo.log-3.39.0/oslo_log/versionutils.py --- old/oslo.log-3.36.0/oslo_log/versionutils.py 2018-01-08 15:13:47.000000000 +0100 +++ new/oslo.log-3.39.0/oslo_log/versionutils.py 2018-06-27 10:26:18.000000000 +0200 @@ -70,6 +70,8 @@ 'O': 'Ocata', 'P': 'Pike', 'Q': 'Queens', + 'R': 'Rocky', + 'S': 'Stein', } @@ -144,6 +146,8 @@ OCATA = 'O' PIKE = 'P' QUEENS = 'Q' + ROCKY = 'R' + STEIN = 'S' def __init__(self, as_of, in_favor_of=None, remove_in=2, what=None): """Initialize decorator diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/releasenotes/notes/reno.cache new/oslo.log-3.39.0/releasenotes/notes/reno.cache --- old/oslo.log-3.36.0/releasenotes/notes/reno.cache 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.log-3.39.0/releasenotes/notes/reno.cache 2018-06-27 10:29:43.000000000 +0200 @@ -0,0 +1,3 @@ +--- +file-contents: {} +notes: [] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/releasenotes/source/index.rst new/oslo.log-3.39.0/releasenotes/source/index.rst --- old/oslo.log-3.36.0/releasenotes/source/index.rst 2018-01-08 15:13:47.000000000 +0100 +++ new/oslo.log-3.39.0/releasenotes/source/index.rst 2018-06-27 10:26:18.000000000 +0200 @@ -6,6 +6,7 @@ :maxdepth: 1 unreleased + queens pike ocata newton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po new/oslo.log-3.39.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po --- old/oslo.log-3.36.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po 2018-01-08 15:13:47.000000000 +0100 +++ new/oslo.log-3.39.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po 2018-06-27 10:26:18.000000000 +0200 @@ -1,18 +1,19 @@ # Andi Chandler <[email protected]>, 2016. #zanata # Andi Chandler <[email protected]>, 2017. #zanata +# Andi Chandler <[email protected]>, 2018. #zanata msgid "" msgstr "" "Project-Id-Version: oslo.log Release Notes\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-11-30 11:20+0000\n" +"POT-Creation-Date: 2018-02-09 00:09+0000\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2017-12-05 10:30+0000\n" +"PO-Revision-Date: 2018-02-06 11:15+0000\n" "Last-Translator: Andi Chandler <[email protected]>\n" "Language-Team: English (United Kingdom)\n" -"Language: en-GB\n" -"X-Generator: Zanata 3.9.6\n" +"Language: en_GB\n" +"X-Generator: Zanata 4.3.3\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" msgid "3.1.0" @@ -36,14 +37,17 @@ msgid "3.27.0" msgstr "3.27.0" +msgid "3.30.2" +msgstr "3.30.2" + msgid "3.33.0" msgstr "3.33.0" msgid "3.34.0" msgstr "3.34.0" -msgid "3.34.0-2" -msgstr "3.34.0-2" +msgid "3.35.0" +msgstr "3.35.0" msgid "3.8.0" msgstr "3.8.0" @@ -99,6 +103,9 @@ msgid "Pike Series Release Notes" msgstr "Pike Series Release Notes" +msgid "Queens Series Release Notes" +msgstr "Queens Series Release Notes" + msgid "Switch to reno for managing release notes." msgstr "Switch to reno for managing release notes." @@ -120,6 +127,15 @@ msgid "" "The JSONFormatter formatter now converts unserializable objects with repr() " +"to prevent JSON serialization errors on logging. The fix requires oslo." +"serialization 2.20.2 or newer. (Bug #1593641)" +msgstr "" +"The JSONFormatter formatter now converts un-serialisable objects with repr() " +"to prevent JSON serialisation errors on logging. The fix requires oslo." +"serialisation 2.20.2 or newer. (Bug #1593641)" + +msgid "" +"The JSONFormatter formatter now converts unserializable objects with repr() " "to prevent JSON serialization errors on logging. The fix requires oslo." "serialization 2.21.1 or newer. (Bug #1593641)" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/releasenotes/source/queens.rst new/oslo.log-3.39.0/releasenotes/source/queens.rst --- old/oslo.log-3.36.0/releasenotes/source/queens.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.log-3.39.0/releasenotes/source/queens.rst 2018-06-27 10:26:18.000000000 +0200 @@ -0,0 +1,6 @@ +=================================== + Queens Series Release Notes +=================================== + +.. release-notes:: + :branch: stable/queens diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/requirements.txt new/oslo.log-3.39.0/requirements.txt --- old/oslo.log-3.36.0/requirements.txt 2018-01-08 15:13:47.000000000 +0100 +++ new/oslo.log-3.39.0/requirements.txt 2018-06-27 10:26:18.000000000 +0200 @@ -4,12 +4,12 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 six>=1.10.0 # MIT -oslo.config>=5.1.0 # Apache-2.0 +oslo.config>=5.2.0 # Apache-2.0 oslo.context>=2.19.2 # Apache-2.0 oslo.i18n>=3.15.3 # Apache-2.0 oslo.utils>=3.33.0 # Apache-2.0 oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0 debtcollector>=1.2.0 # Apache-2.0 pyinotify>=0.9.6;sys_platform!='win32' and sys_platform!='darwin' and sys_platform!='sunos5' # MIT -python-dateutil>=2.4.2 # BSD +python-dateutil>=2.5.3 # BSD monotonic>=0.6 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/test-requirements.txt new/oslo.log-3.39.0/test-requirements.txt --- old/oslo.log-3.36.0/test-requirements.txt 2018-01-08 15:13:56.000000000 +0100 +++ new/oslo.log-3.39.0/test-requirements.txt 2018-06-27 10:26:18.000000000 +0200 @@ -7,7 +7,7 @@ testrepository>=0.0.18 # Apache-2.0/BSD testtools>=2.2.0 # MIT mock>=2.0.0 # BSD -oslotest>=1.10.0 # Apache-2.0 +oslotest>=3.2.0 # Apache-2.0 # when we can require tox>= 1.4, this can go into tox.ini: # [testenv:cover] @@ -15,8 +15,8 @@ coverage!=4.4,>=4.0 # Apache-2.0 # this is required for the docs build jobs -sphinx>=1.6.2 # BSD -openstackdocstheme>=1.17.0 # Apache-2.0 +sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD +openstackdocstheme>=1.18.1 # Apache-2.0 reno>=2.5.0 # Apache-2.0 # Bandit security code scanner diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/tools/tox_install.sh new/oslo.log-3.39.0/tools/tox_install.sh --- old/oslo.log-3.36.0/tools/tox_install.sh 2018-01-08 15:13:47.000000000 +0100 +++ new/oslo.log-3.39.0/tools/tox_install.sh 2018-06-27 10:26:18.000000000 +0200 @@ -26,5 +26,10 @@ # install will be constrained and we need to unconstrain it. edit-constraints "$localfile" -- "$CLIENT_NAME" +if [ -z "$@" ]; then + echo "No packages to be installed." + exit 0 +fi + pip install -c"$localfile" -U "$@" exit $? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-3.36.0/tox.ini new/oslo.log-3.39.0/tox.ini --- old/oslo.log-3.36.0/tox.ini 2018-01-08 15:13:47.000000000 +0100 +++ new/oslo.log-3.39.0/tox.ini 2018-06-27 10:26:18.000000000 +0200 @@ -15,25 +15,41 @@ coverage report --show-missing [testenv:pep8] +basepython = python3 commands = flake8 # Run security linter bandit -r oslo_log -x tests -n5 [testenv:venv] +basepython = python3 commands = {posargs} [testenv:docs] +basepython = python3 commands = python setup.py build_sphinx +[testenv:releasenotes] +basepython = python3 +commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html + [testenv:cover] +basepython = python3 commands = python setup.py test --coverage --coverage-package-name=oslo_log --testr-args='{posargs}' coverage report --show-missing [testenv:bandit] +basepython = python3 commands = bandit -r oslo_log -x tests -n5 +[testenv:lower-constraints] +basepython = python3 +deps = + -c{toxinidir}/lower-constraints.txt + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/requirements.txt + [flake8] # E123, E125 skipped as they are invalid PEP-8. @@ -43,15 +59,3 @@ [hacking] import_exceptions = oslo_log._i18n - -[testenv:pip-missing-reqs] -# do not install test-requirements as that will pollute the virtualenv for -# determining missing packages -# this also means that pip-missing-reqs must be installed separately, outside -# of the requirements.txt files -deps = pip_missing_reqs -commands = pip-missing-reqs -d --ignore-module=oslo_log* --ignore-file=oslo_log/tests/* --ignore-file=tests/ oslo_log - -[testenv:releasenotes] -commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html -
