Hello community, here is the log from the commit of package python-oslo.utils for openSUSE:Factory checked in at 2018-01-06 18:48:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.utils (Old) and /work/SRC/openSUSE:Factory/.python-oslo.utils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.utils" Sat Jan 6 18:48:28 2018 rev:12 rq:561668 version:3.32.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.utils/python-oslo.utils.changes 2017-08-28 15:31:13.402172630 +0200 +++ /work/SRC/openSUSE:Factory/.python-oslo.utils.new/python-oslo.utils.changes 2018-01-06 18:48:29.301196633 +0100 @@ -1,0 +2,20 @@ +Wed Dec 13 16:29:00 UTC 2017 - [email protected] + +- update to version 3.32.0 + - Fix some reST field lists in docstrings + - Remove setting of version/release from releasenotes + - Updated from global requirements + - Avoid tox_install.sh for constraints support + +------------------------------------------------------------------- +Fri Nov 24 22:59:23 UTC 2017 - [email protected] + +- update to version 3.31.0 + - Update reno for stable/pike + - Imported Translations from Zanata + - Prevent deprecation error messages from pkg_resources + - Add method to compute a file's checksum to fileutils + - Use six.binary_type to point to the right type + - Updated from global requirements + +------------------------------------------------------------------- Old: ---- oslo.utils-3.28.0.tar.gz New: ---- oslo.utils-3.32.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.utils.spec ++++++ --- /var/tmp/diff_new_pack.Wc81IX/_old 2018-01-06 18:48:29.789173832 +0100 +++ /var/tmp/diff_new_pack.Wc81IX/_new 2018-01-06 18:48:29.793173645 +0100 @@ -16,66 +16,82 @@ # -%global sname oslo.utils Name: python-oslo.utils -Version: 3.28.0 +Version: 3.32.0 Release: 0 Summary: OpenStack Utils 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 +Url: https://launchpad.net/oslo.utils +Source0: https://files.pythonhosted.org/packages/source/o/oslo.utils/oslo.utils-3.32.0.tar.gz BuildRequires: openstack-macros -BuildRequires: python-Babel >= 2.3.4 -BuildRequires: python-debtcollector >= 1.2.0 -BuildRequires: python-fixtures >= 3.0.0 -BuildRequires: python-iso8601 >= 0.1.11 -BuildRequires: python-mock >= 2.0 -BuildRequires: python-monotonic >= 0.6 -BuildRequires: python-netaddr >= 0.7.13 -BuildRequires: python-netifaces >= 0.10.4 -BuildRequires: python-oslo.i18n >= 2.1.0 -BuildRequires: python-oslotest >= 1.10.0 -BuildRequires: python-pbr >= 2.0.0 -BuildRequires: python-pyparsing >= 2.1.0 -BuildRequires: python-python-subunit >= 0.0.18 -BuildRequires: python-testrepository >= 0.0.18 -BuildRequires: python-testscenarios >= 0.4 -BuildRequires: python-testtools >= 1.4.0 -Requires: python-debtcollector >= 1.2.0 -Requires: python-iso8601 >= 0.1.11 -Requires: python-monotonic >= 0.6 -Requires: python-netaddr >= 0.7.13 -Requires: python-netifaces >= 0.10.4 -Requires: python-oslo.i18n >= 2.1.0 -Requires: python-pyparsing >= 2.1.0 -Requires: python-pytz >= 2013.6 -Requires: python-six >= 1.9.0 +BuildRequires: python2-Babel +BuildRequires: python2-debtcollector +BuildRequires: python2-fixtures >= 3.0.0 +BuildRequires: python2-iso8601 +BuildRequires: python2-mock +BuildRequires: python2-monotonic +BuildRequires: python2-netaddr +BuildRequires: python2-netifaces +BuildRequires: python2-oslo.i18n +BuildRequires: python2-oslotest +BuildRequires: python2-pbr +BuildRequires: python2-pyparsing +BuildRequires: python2-python-subunit +BuildRequires: python2-testrepository +BuildRequires: python2-testscenarios +BuildRequires: python2-testtools +BuildRequires: python3-Babel +BuildRequires: python3-debtcollector +BuildRequires: python3-fixtures >= 3.0.0 +BuildRequires: python3-iso8601 +BuildRequires: python3-mock +BuildRequires: python3-monotonic +BuildRequires: python3-netaddr +BuildRequires: python3-netifaces +BuildRequires: python3-oslo.i18n +BuildRequires: python3-oslotest +BuildRequires: python3-pbr +BuildRequires: python3-pyparsing +BuildRequires: python3-python-subunit +BuildRequires: python3-testrepository +BuildRequires: python3-testscenarios +BuildRequires: python3-testtools +Requires: python-debtcollector +Requires: python-iso8601 +Requires: python-monotonic +Requires: python-netaddr +Requires: python-netifaces +Requires: python-oslo.i18n +Requires: python-pyparsing +Requires: python-pytz +Requires: python-six >= 1.10.0 BuildArch: noarch +%python_subpackages %description The oslo.utils library provides support for common utility type functions, such as encoding, exception handling, string manipulation, and time handling. -%package doc +%package -n python-oslo.utils-doc Summary: Documentation for OpenStack utils library Group: Development/Languages/Python BuildRequires: python-Sphinx -BuildRequires: python-openstackdocstheme >= 1.11.0 +BuildRequires: python-openstackdocstheme -%description doc +%description -n python-oslo.utils-doc Documentation for OpenStack utils library. %prep -%autosetup -n %{sname}-%{version} +%autosetup -p1 -n oslo.utils-3.32.0 sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %py_req_cleanup %build -%{py2_build} +%python_build %install -%{py2_install} +%python_install # generate html docs %{__python2} setup.py build_sphinx @@ -83,15 +99,14 @@ rm -rf doc/build/html/.{doctrees,buildinfo} %check -%{__python2} setup.py test -%files +%files %{python_files} %license LICENSE %doc ChangeLog README.rst %{python2_sitelib}/oslo_utils %{python2_sitelib}/*.egg-info -%files doc +%files -n python-oslo.utils-doc %doc doc/build/html %license LICENSE ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Wc81IX/_old 2018-01-06 18:48:29.829171963 +0100 +++ /var/tmp/diff_new_pack.Wc81IX/_new 2018-01-06 18:48:29.829171963 +0100 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/openstack/oslo.utils/oslo.utils.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/oslo.utils/oslo.utils.spec.j2</param> <param name="output-name">python-oslo.utils.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/requirements/stable/pike/global-requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/requirements/master/requirements.txt</param> <param name="changelog-email">[email protected]</param> <param name="changelog-provider">gh,openstack,oslo.utils</param> </service> @@ -12,4 +12,5 @@ <service name="refresh_patches" mode="disabled"> <param name="changesgenerate">enable</param> </service> + <service name="format_spec_file" mode="disabled"/> </services> ++++++ oslo.utils-3.28.0.tar.gz -> oslo.utils-3.32.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/AUTHORS new/oslo.utils-3.32.0/AUTHORS --- old/oslo.utils-3.28.0/AUTHORS 2017-07-18 15:09:55.000000000 +0200 +++ new/oslo.utils-3.32.0/AUTHORS 2017-12-04 11:38:16.000000000 +0100 @@ -12,6 +12,7 @@ Amaury Medeiros <[email protected]> Amrith Kumar <[email protected]> Amrith Kumar <[email protected]> +Andreas Jaeger <[email protected]> Andreas Jaeger <[email protected]> Angus Lees <[email protected]> Ann Kamyshnikova <[email protected]> @@ -85,6 +86,7 @@ OpenStack Release Bot <[email protected]> Paul Belanger <[email protected]> Rahul Nair <[email protected]> +Rajath Agasthya <[email protected]> Raymond Pekowski <[email protected]> Rick Harris <[email protected]> Ronald Bradford <[email protected]> @@ -116,6 +118,7 @@ ZhiQiang Fan <[email protected]> Zhongyue Luo <[email protected]> Zhongyue Luo <[email protected]> +Zuul <[email protected]> avnish <[email protected]> dharmendra <[email protected]> ekudryashova <[email protected]> @@ -124,6 +127,7 @@ howardlee <[email protected]> kgriffs <[email protected]> lin-hua-cheng <[email protected]> +lingyongxu <[email protected]> lvdongbing <[email protected]> melissaml <[email protected]> paul-carlton2 <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/ChangeLog new/oslo.utils-3.32.0/ChangeLog --- old/oslo.utils-3.28.0/ChangeLog 2017-07-18 15:09:54.000000000 +0200 +++ new/oslo.utils-3.32.0/ChangeLog 2017-12-04 11:38:16.000000000 +0100 @@ -1,6 +1,37 @@ CHANGES ======= +3.32.0 +------ + +* Avoid tox\_install.sh for constraints support +* Updated from global requirements +* Remove setting of version/release from releasenotes +* Updated from global requirements + +3.31.0 +------ + +* Add method to compute a file's checksum to fileutils +* Imported Translations from Zanata + +3.30.0 +------ + +* Updated from global requirements +* Use six.binary\_type to point to the right type +* Updated from global requirements +* Fix some reST field lists in docstrings + +3.29.0 +------ + +* Imported Translations from Zanata +* Updated from global requirements +* Update reno for stable/pike +* Updated from global requirements +* Prevent deprecation error messages from pkg\_resources + 3.28.0 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/PKG-INFO new/oslo.utils-3.32.0/PKG-INFO --- old/oslo.utils-3.28.0/PKG-INFO 2017-07-18 15:09:55.000000000 +0200 +++ new/oslo.utils-3.32.0/PKG-INFO 2017-12-04 11:38:17.000000000 +0100 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: oslo.utils -Version: 3.28.0 +Version: 3.32.0 Summary: Oslo Utility library Home-page: https://docs.openstack.org/oslo.utils/latest/ Author: OpenStack Author-email: [email protected] License: UNKNOWN +Description-Content-Type: UNKNOWN Description: ======================== Team and repository tags ======================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo.utils.egg-info/PKG-INFO new/oslo.utils-3.32.0/oslo.utils.egg-info/PKG-INFO --- old/oslo.utils-3.28.0/oslo.utils.egg-info/PKG-INFO 2017-07-18 15:09:55.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo.utils.egg-info/PKG-INFO 2017-12-04 11:38:16.000000000 +0100 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: oslo.utils -Version: 3.28.0 +Version: 3.32.0 Summary: Oslo Utility library Home-page: https://docs.openstack.org/oslo.utils/latest/ Author: OpenStack Author-email: [email protected] License: UNKNOWN +Description-Content-Type: UNKNOWN Description: ======================== Team and repository tags ======================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo.utils.egg-info/SOURCES.txt new/oslo.utils-3.32.0/oslo.utils.egg-info/SOURCES.txt --- old/oslo.utils-3.28.0/oslo.utils.egg-info/SOURCES.txt 2017-07-18 15:09:55.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo.utils.egg-info/SOURCES.txt 2017-12-04 11:38:17.000000000 +0100 @@ -65,19 +65,9 @@ oslo_utils/units.py oslo_utils/uuidutils.py oslo_utils/versionutils.py -oslo_utils/locale/de/LC_MESSAGES/oslo_utils-log-info.po -oslo_utils/locale/de/LC_MESSAGES/oslo_utils-log-warning.po oslo_utils/locale/de/LC_MESSAGES/oslo_utils.po -oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-error.po -oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-info.po -oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-warning.po oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils.po -oslo_utils/locale/es/LC_MESSAGES/oslo_utils-log-error.po -oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-error.po -oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-info.po -oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-warning.po oslo_utils/locale/fr/LC_MESSAGES/oslo_utils.po -oslo_utils/locale/pt_BR/LC_MESSAGES/oslo_utils-log-error.po oslo_utils/tests/__init__.py oslo_utils/tests/base.py oslo_utils/tests/test_dictutils.py @@ -106,8 +96,9 @@ releasenotes/source/index.rst releasenotes/source/newton.rst releasenotes/source/ocata.rst +releasenotes/source/pike.rst releasenotes/source/unreleased.rst releasenotes/source/_static/.placeholder releasenotes/source/_templates/.placeholder -tools/perf_test_mask_password.py -tools/tox_install.sh \ No newline at end of file +releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po +tools/perf_test_mask_password.py \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo.utils.egg-info/pbr.json new/oslo.utils-3.32.0/oslo.utils.egg-info/pbr.json --- old/oslo.utils-3.28.0/oslo.utils.egg-info/pbr.json 2017-07-18 15:09:55.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo.utils.egg-info/pbr.json 2017-12-04 11:38:16.000000000 +0100 @@ -1 +1 @@ -{"git_version": "dd1ceea", "is_release": true} \ No newline at end of file +{"git_version": "464a948", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo.utils.egg-info/requires.txt new/oslo.utils-3.32.0/oslo.utils.egg-info/requires.txt --- old/oslo.utils-3.28.0/oslo.utils.egg-info/requires.txt 2017-07-18 15:09:55.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo.utils.egg-info/requires.txt 2017-12-04 11:38:16.000000000 +0100 @@ -1,11 +1,11 @@ pbr!=2.1.0,>=2.0.0 -six>=1.9.0 -funcsigs>=0.4 +six>=1.10.0 +funcsigs>=1.0.0 iso8601>=0.1.11 -oslo.i18n!=3.15.2,>=2.1.0 +oslo.i18n>=3.15.3 monotonic>=0.6 pytz>=2013.6 -netaddr!=0.7.16,>=0.7.13 +netaddr>=0.7.18 netifaces>=0.10.4 debtcollector>=1.2.0 pyparsing>=2.1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/encodeutils.py new/oslo.utils-3.32.0/oslo_utils/encodeutils.py --- old/oslo.utils-3.28.0/oslo_utils/encodeutils.py 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/encodeutils.py 2017-12-04 11:35:47.000000000 +0100 @@ -111,7 +111,7 @@ .. versionadded:: 3.5 """ - if isinstance(text, bytes): + if isinstance(text, six.binary_type): return text elif isinstance(text, six.text_type): return text.encode('utf-8') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/eventletutils.py new/oslo.utils-3.32.0/oslo_utils/eventletutils.py --- old/oslo.utils-3.28.0/oslo_utils/eventletutils.py 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/eventletutils.py 2017-12-04 11:35:47.000000000 +0100 @@ -132,7 +132,7 @@ def is_monkey_patched(module): """Determines safely is eventlet patching for module enabled or not :param module: String, module name - :return Bool, True if module is patched, False otherwise + :return Bool: True if module is patched, False otherwise """ if _patcher is None: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/fileutils.py new/oslo.utils-3.32.0/oslo_utils/fileutils.py --- old/oslo.utils-3.28.0/oslo_utils/fileutils.py 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/fileutils.py 2017-12-04 11:35:47.000000000 +0100 @@ -21,6 +21,7 @@ import contextlib import errno +import hashlib import os import stat import tempfile @@ -103,3 +104,23 @@ finally: os.close(fd) return path + + +def compute_file_checksum(path, read_chunksize=65536, algorithm='sha256'): + """Compute checksum of a file's contents. + + :param path: Path to the file + :param read_chunksize: Maximum number of bytes to be read from the file + at once. Default is 65536 bytes or 64KB + :param algorithm: The hash algorithm name to use. For example, 'md5', + 'sha256', 'sha512' and so on. Default is 'sha256'. Refer to + hashlib.algorithms_available for available algorithms + :return: Hex digest string of the checksum + + .. versionadded:: 3.31.0 + """ + checksum = hashlib.new(algorithm) # Raises appropriate exceptions. + with open(path, 'rb') as f: + for chunk in iter(lambda: f.read(read_chunksize), b''): + checksum.update(chunk) + return checksum.hexdigest() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/locale/de/LC_MESSAGES/oslo_utils-log-info.po new/oslo.utils-3.32.0/oslo_utils/locale/de/LC_MESSAGES/oslo_utils-log-info.po --- old/oslo.utils-3.28.0/oslo_utils/locale/de/LC_MESSAGES/oslo_utils-log-info.po 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/locale/de/LC_MESSAGES/oslo_utils-log-info.po 1970-01-01 01:00:00.000000000 +0100 @@ -1,39 +0,0 @@ -# Translations template for oslo.utils. -# Copyright (C) 2015 ORGANIZATION -# This file is distributed under the same license as the oslo.utils project. -# -# Translators: -# Andreas Jaeger <[email protected]>, 2014 -# Andreas Jaeger <[email protected]>, 2016. #zanata -msgid "" -msgstr "" -"Project-Id-Version: oslo.utils 3.7.1.dev13\n" -"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n" -"POT-Creation-Date: 2016-05-02 20:03+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2014-12-07 06:44+0000\n" -"Last-Translator: Andreas Jaeger <[email protected]>\n" -"Language: de\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Generated-By: Babel 2.0\n" -"X-Generator: Zanata 3.7.3\n" -"Language-Team: German\n" - -#, python-format -msgid "Could not determine IPv4 address for interface %(interface)s: %(error)s" -msgstr "" -"Konnte IPv4 Adresse für Interface %(interface)s nicht bestimmen: %(error)s" - -#, python-format -msgid "Could not determine IPv4 address for interface %s, using 127.0.0.1" -msgstr "" -"Konnte IPv4 Adresse für Interface %s nicht bestimmen, verwende 127.0.0.1" - -msgid "" -"Could not determine default network interface, using 127.0.0.1 for IPv4 " -"address" -msgstr "" -"Konnte default Network Interface nicht bestimmen, 127.0.0.1 wird als IPv4 " -"Adresse benutzt." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/locale/de/LC_MESSAGES/oslo_utils-log-warning.po new/oslo.utils-3.32.0/oslo_utils/locale/de/LC_MESSAGES/oslo_utils-log-warning.po --- old/oslo.utils-3.28.0/oslo_utils/locale/de/LC_MESSAGES/oslo_utils-log-warning.po 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/locale/de/LC_MESSAGES/oslo_utils-log-warning.po 1970-01-01 01:00:00.000000000 +0100 @@ -1,24 +0,0 @@ -# Andreas Jaeger <[email protected]>, 2016. #zanata -msgid "" -msgstr "" -"Project-Id-Version: oslo.utils 3.7.1.dev13\n" -"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n" -"POT-Creation-Date: 2016-05-02 20:03+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2016-01-31 08:11+0000\n" -"Last-Translator: Andreas Jaeger <[email protected]>\n" -"Language-Team: German\n" -"Language: de\n" -"X-Generator: Zanata 3.7.3\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" - -msgid "tcp_keepcnt not available on your system" -msgstr "tcp_keepcnt ist nicht verfügbar auf ihrem System" - -msgid "tcp_keepidle not available on your system" -msgstr "tcp_keepidle ist nicht verfügbar auf ihrem System" - -msgid "tcp_keepintvl not available on your system" -msgstr "tcp_keepintvl ist nicht verfügbar auf ihrem System" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-error.po new/oslo.utils-3.32.0/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-error.po --- old/oslo.utils-3.28.0/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-error.po 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-error.po 1970-01-01 01:00:00.000000000 +0100 @@ -1,30 +0,0 @@ -# Translations template for oslo.utils. -# Copyright (C) 2015 ORGANIZATION -# This file is distributed under the same license as the oslo.utils project. -# -# Translators: -# Andi Chandler <[email protected]>, 2014 -# Andreas Jaeger <[email protected]>, 2016. #zanata -msgid "" -msgstr "" -"Project-Id-Version: oslo.utils 3.7.1.dev13\n" -"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n" -"POT-Creation-Date: 2016-05-02 20:03+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2014-09-02 09:07+0000\n" -"Last-Translator: Andi Chandler <[email protected]>\n" -"Language: en-GB\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Generated-By: Babel 2.0\n" -"X-Generator: Zanata 3.7.3\n" -"Language-Team: English (United Kingdom)\n" - -#, python-format -msgid "Original exception being dropped: %s" -msgstr "Original exception being dropped: %s" - -#, python-format -msgid "Unexpected exception occurred %d time(s)... retrying." -msgstr "Unexpected exception occurred %d time(s)... retrying." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-info.po new/oslo.utils-3.32.0/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-info.po --- old/oslo.utils-3.28.0/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-info.po 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-info.po 1970-01-01 01:00:00.000000000 +0100 @@ -1,38 +0,0 @@ -# Translations template for oslo.utils. -# Copyright (C) 2015 ORGANIZATION -# This file is distributed under the same license as the oslo.utils project. -# -# Translators: -# Andi Chandler <[email protected]>, 2014-2015 -# Andreas Jaeger <[email protected]>, 2016. #zanata -msgid "" -msgstr "" -"Project-Id-Version: oslo.utils 3.7.1.dev13\n" -"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n" -"POT-Creation-Date: 2016-05-02 20:03+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2015-04-22 05:28+0000\n" -"Last-Translator: Andi Chandler <[email protected]>\n" -"Language: en-GB\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Generated-By: Babel 2.0\n" -"X-Generator: Zanata 3.7.3\n" -"Language-Team: English (United Kingdom)\n" - -#, python-format -msgid "Could not determine IPv4 address for interface %(interface)s: %(error)s" -msgstr "" -"Could not determine IPv4 address for interface %(interface)s: %(error)s" - -#, python-format -msgid "Could not determine IPv4 address for interface %s, using 127.0.0.1" -msgstr "Could not determine IPv4 address for interface %s, using 127.0.0.1" - -msgid "" -"Could not determine default network interface, using 127.0.0.1 for IPv4 " -"address" -msgstr "" -"Could not determine default network interface, using 127.0.0.1 for IPv4 " -"address" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-warning.po new/oslo.utils-3.32.0/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-warning.po --- old/oslo.utils-3.28.0/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-warning.po 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-warning.po 1970-01-01 01:00:00.000000000 +0100 @@ -1,31 +0,0 @@ -# Translations template for oslo.utils. -# Copyright (C) 2015 ORGANIZATION -# This file is distributed under the same license as the oslo.utils project. -# -# Translators: -# Andi Chandler <[email protected]>, 2014 -# Andreas Jaeger <[email protected]>, 2016. #zanata -msgid "" -msgstr "" -"Project-Id-Version: oslo.utils 3.7.1.dev13\n" -"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n" -"POT-Creation-Date: 2016-05-02 20:03+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2014-09-02 09:08+0000\n" -"Last-Translator: Andi Chandler <[email protected]>\n" -"Language: en-GB\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Generated-By: Babel 2.0\n" -"X-Generator: Zanata 3.7.3\n" -"Language-Team: English (United Kingdom)\n" - -msgid "tcp_keepcnt not available on your system" -msgstr "tcp_keepcnt not available on your system" - -msgid "tcp_keepidle not available on your system" -msgstr "tcp_keepidle not available on your system" - -msgid "tcp_keepintvl not available on your system" -msgstr "tcp_keepintvl not available on your system" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/locale/es/LC_MESSAGES/oslo_utils-log-error.po new/oslo.utils-3.32.0/oslo_utils/locale/es/LC_MESSAGES/oslo_utils-log-error.po --- old/oslo.utils-3.28.0/oslo_utils/locale/es/LC_MESSAGES/oslo_utils-log-error.po 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/locale/es/LC_MESSAGES/oslo_utils-log-error.po 1970-01-01 01:00:00.000000000 +0100 @@ -1,24 +0,0 @@ -# Alex Eng <[email protected]>, 2016. #zanata -# KATO Tomoyuki <[email protected]>, 2016. #zanata -msgid "" -msgstr "" -"Project-Id-Version: oslo.utils 3.15.1.dev4\n" -"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n" -"POT-Creation-Date: 2016-07-11 23:17+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2016-07-02 08:15+0000\n" -"Last-Translator: KATO Tomoyuki <[email protected]>\n" -"Language-Team: Spanish\n" -"Language: es\n" -"X-Generator: Zanata 3.7.3\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" - -#, python-format -msgid "Original exception being dropped: %s" -msgstr "Se está descartando la excepción original: %s" - -#, python-format -msgid "Unexpected exception occurred %d time(s)... retrying." -msgstr "Ocurrió una excepción inesperada... reintentando %d vez(veces)." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-error.po new/oslo.utils-3.32.0/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-error.po --- old/oslo.utils-3.28.0/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-error.po 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-error.po 1970-01-01 01:00:00.000000000 +0100 @@ -1,31 +0,0 @@ -# Translations template for oslo.utils. -# Copyright (C) 2015 ORGANIZATION -# This file is distributed under the same license as the oslo.utils project. -# -# Translators: -# Corina Roe <[email protected]>, 2014 -# Jonathan Dupart <[email protected]>, 2014 -# Andreas Jaeger <[email protected]>, 2016. #zanata -msgid "" -msgstr "" -"Project-Id-Version: oslo.utils 3.7.1.dev13\n" -"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n" -"POT-Creation-Date: 2016-05-02 20:03+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2014-10-08 05:32+0000\n" -"Last-Translator: Corina Roe <[email protected]>\n" -"Language: fr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" -"Generated-By: Babel 2.0\n" -"X-Generator: Zanata 3.7.3\n" -"Language-Team: French\n" - -#, python-format -msgid "Original exception being dropped: %s" -msgstr "Exception d'origine abandonnée : %s" - -#, python-format -msgid "Unexpected exception occurred %d time(s)... retrying." -msgstr "Une exception inattendue s'est produite %d foi(s) ... nouvel essai." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-info.po new/oslo.utils-3.32.0/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-info.po --- old/oslo.utils-3.28.0/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-info.po 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-info.po 1970-01-01 01:00:00.000000000 +0100 @@ -1,41 +0,0 @@ -# Translations template for oslo.utils. -# Copyright (C) 2015 ORGANIZATION -# This file is distributed under the same license as the oslo.utils project. -# -# Translators: -# Maxime COQUEREL <[email protected]>, 2014-2015 -# Andreas Jaeger <[email protected]>, 2016. #zanata -msgid "" -msgstr "" -"Project-Id-Version: oslo.utils 3.7.1.dev13\n" -"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n" -"POT-Creation-Date: 2016-05-02 20:03+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2015-03-08 04:45+0000\n" -"Last-Translator: Maxime COQUEREL <[email protected]>\n" -"Language: fr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" -"Generated-By: Babel 2.0\n" -"X-Generator: Zanata 3.7.3\n" -"Language-Team: French\n" - -#, python-format -msgid "Could not determine IPv4 address for interface %(interface)s: %(error)s" -msgstr "" -"Impossible de déterminer l'adresse IPv4 utilisé par l'interface " -"%(interface)s: %(error)s" - -#, python-format -msgid "Could not determine IPv4 address for interface %s, using 127.0.0.1" -msgstr "" -"Impossible de déterminer l'adresse IPv4 utilisé par l'interface %s pour " -"l'adresse 127.0.0.1" - -msgid "" -"Could not determine default network interface, using 127.0.0.1 for IPv4 " -"address" -msgstr "" -"Impossible de déterminer l'interface de réseau par défaut, utilisé pour " -"l'adresse IPv4 127.0.0.1" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-warning.po new/oslo.utils-3.32.0/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-warning.po --- old/oslo.utils-3.28.0/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-warning.po 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-warning.po 1970-01-01 01:00:00.000000000 +0100 @@ -1,31 +0,0 @@ -# Translations template for oslo.utils. -# Copyright (C) 2015 ORGANIZATION -# This file is distributed under the same license as the oslo.utils project. -# -# Translators: -# Maxime COQUEREL <[email protected]>, 2014 -# Andreas Jaeger <[email protected]>, 2016. #zanata -msgid "" -msgstr "" -"Project-Id-Version: oslo.utils 3.7.1.dev13\n" -"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n" -"POT-Creation-Date: 2016-05-02 20:03+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2014-09-25 09:15+0000\n" -"Last-Translator: Maxime COQUEREL <[email protected]>\n" -"Language: fr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" -"Generated-By: Babel 2.0\n" -"X-Generator: Zanata 3.7.3\n" -"Language-Team: French\n" - -msgid "tcp_keepcnt not available on your system" -msgstr "tcp_keepcnt non disponible sur votre système" - -msgid "tcp_keepidle not available on your system" -msgstr "tcp_keepidle non disponible sur votre système" - -msgid "tcp_keepintvl not available on your system" -msgstr "tcp_keepintv non disponible sur votre système" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/locale/pt_BR/LC_MESSAGES/oslo_utils-log-error.po new/oslo.utils-3.32.0/oslo_utils/locale/pt_BR/LC_MESSAGES/oslo_utils-log-error.po --- old/oslo.utils-3.28.0/oslo_utils/locale/pt_BR/LC_MESSAGES/oslo_utils-log-error.po 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/locale/pt_BR/LC_MESSAGES/oslo_utils-log-error.po 1970-01-01 01:00:00.000000000 +0100 @@ -1,24 +0,0 @@ -# Alex Eng <[email protected]>, 2016. #zanata -# KATO Tomoyuki <[email protected]>, 2016. #zanata -msgid "" -msgstr "" -"Project-Id-Version: oslo.utils 3.15.1.dev4\n" -"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n" -"POT-Creation-Date: 2016-07-11 23:17+0000\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2016-07-02 08:15+0000\n" -"Last-Translator: KATO Tomoyuki <[email protected]>\n" -"Language-Team: Portuguese (Brazil)\n" -"Language: pt-BR\n" -"X-Generator: Zanata 3.7.3\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" - -#, python-format -msgid "Original exception being dropped: %s" -msgstr "Exceção original sendo cancelada: %s" - -#, python-format -msgid "Unexpected exception occurred %d time(s)... retrying." -msgstr "Exceção não esperada ocorreu %d vez(es)... tentando novamente." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/tests/test_fileutils.py new/oslo.utils-3.32.0/oslo_utils/tests/test_fileutils.py --- old/oslo.utils-3.28.0/oslo_utils/tests/test_fileutils.py 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/tests/test_fileutils.py 2017-12-04 11:35:47.000000000 +0100 @@ -14,6 +14,7 @@ # under the License. import errno +import hashlib import os import shutil import stat @@ -189,3 +190,57 @@ self.assertTrue(basepath.startswith(tempfile.gettempdir())) self.check_file_content(res) + + +class TestComputeFileChecksum(test_base.BaseTestCase): + + def setUp(self): + super(TestComputeFileChecksum, self).setUp() + self.content = 'fake_content'.encode('ascii') + + def check_file_content(self, content, path): + with open(path, 'r') as fd: + ans = fd.read() + self.assertEqual(content, six.b(ans)) + + def test_compute_checksum_default_algorithm(self): + path = fileutils.write_to_tempfile(self.content) + self.assertTrue(os.path.exists(path)) + self.check_file_content(self.content, path) + + expected_checksum = hashlib.sha256() + expected_checksum.update(self.content) + + actual_checksum = fileutils.compute_file_checksum(path) + + self.assertEqual(expected_checksum.hexdigest(), actual_checksum) + + def test_compute_checksum_named_algorithm(self): + path = fileutils.write_to_tempfile(self.content) + self.assertTrue(os.path.exists(path)) + self.check_file_content(self.content, path) + + expected_checksum = hashlib.sha512() + expected_checksum.update(self.content) + + actual_checksum = fileutils.compute_file_checksum(path, + algorithm='sha512') + + self.assertEqual(expected_checksum.hexdigest(), actual_checksum) + + def test_compute_checksum_invalid_algorithm(self): + path = fileutils.write_to_tempfile(self.content) + self.assertTrue(os.path.exists(path)) + self.check_file_content(self.content, path) + + self.assertRaises(ValueError, fileutils.compute_file_checksum, + path, algorithm='foo') + + def test_file_does_not_exist(self): + random_file_name = uuid.uuid4().hex + path = os.path.join('/tmp', random_file_name) + self.assertRaises(IOError, fileutils.compute_file_checksum, path) + + def test_generic_io_error(self): + tempdir = tempfile.mkdtemp() + self.assertRaises(IOError, fileutils.compute_file_checksum, tempdir) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/oslo_utils/versionutils.py new/oslo.utils-3.32.0/oslo_utils/versionutils.py --- old/oslo.utils-3.28.0/oslo_utils/versionutils.py 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/oslo_utils/versionutils.py 2017-12-04 11:35:47.000000000 +0100 @@ -42,8 +42,12 @@ requested_parts = pkg_resources.parse_version(requested_version) current_parts = pkg_resources.parse_version(current_version) - if same_major and (requested_parts[0] != current_parts[0]): - return False + if same_major: + # NOTE(jlvillal) pkg_resources issues a warning if we try to access + # portions of the version, for example requested_parts[0] will issue a + # warning message. So get the major_version from the string instead. + if requested_version.split('.')[0] != current_version.split('.')[0]: + return False return current_parts >= requested_parts diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/releasenotes/source/conf.py new/oslo.utils-3.32.0/releasenotes/source/conf.py --- old/oslo.utils-3.28.0/releasenotes/source/conf.py 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/releasenotes/source/conf.py 2017-12-04 11:35:47.000000000 +0100 @@ -60,16 +60,12 @@ project = u'oslo.utils Release Notes' copyright = u'2016, oslo.utils Developers' -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -# -# The short X.Y version. +# Release notes do not need a version in the title, they span +# multiple versions. # The full version, including alpha/beta/rc tags. -import pkg_resources -release = pkg_resources.get_distribution('oslo.utils').version +release = '' # The short X.Y version. -version = release +version = '' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/releasenotes/source/index.rst new/oslo.utils-3.32.0/releasenotes/source/index.rst --- old/oslo.utils-3.28.0/releasenotes/source/index.rst 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/releasenotes/source/index.rst 2017-12-04 11:35:47.000000000 +0100 @@ -6,5 +6,6 @@ :maxdepth: 1 unreleased + pike ocata newton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po new/oslo.utils-3.32.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po --- old/oslo.utils-3.28.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.utils-3.32.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po 2017-12-04 11:35:47.000000000 +0100 @@ -0,0 +1,48 @@ +# Andi Chandler <[email protected]>, 2017. #zanata +msgid "" +msgstr "" +"Project-Id-Version: oslo.utils Release Notes 3.29.1.dev5\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-09-20 20:51+0000\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2017-10-07 09:32+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" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +msgid "3.13.0" +msgstr "3.13.0" + +msgid "3.18.0" +msgstr "3.18.0" + +msgid "Bug Fixes" +msgstr "Bug Fixes" + +msgid "Expanded range of allowed ports by adding 0 to valid number." +msgstr "Expanded range of allowed ports by adding 0 to valid number." + +msgid "Introduce reno for deployer release notes." +msgstr "Introduce Reno for developer release notes." + +msgid "Newton Series Release Notes" +msgstr "Newton Series Release Notes" + +msgid "Ocata Series Release Notes" +msgstr "Ocata Series Release Notes" + +msgid "Other Notes" +msgstr "Other Notes" + +msgid "Pike Series Release Notes" +msgstr "Pike Series Release Notes" + +msgid "Unreleased Release Notes" +msgstr "Unreleased Release Notes" + +msgid "oslo.utils Release Notes" +msgstr "oslo.utils Release Notes" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/releasenotes/source/pike.rst new/oslo.utils-3.32.0/releasenotes/source/pike.rst --- old/oslo.utils-3.28.0/releasenotes/source/pike.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.utils-3.32.0/releasenotes/source/pike.rst 2017-12-04 11:35:47.000000000 +0100 @@ -0,0 +1,6 @@ +=================================== + Pike Series Release Notes +=================================== + +.. release-notes:: + :branch: stable/pike diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/requirements.txt new/oslo.utils-3.32.0/requirements.txt --- old/oslo.utils-3.28.0/requirements.txt 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/requirements.txt 2017-12-04 11:35:47.000000000 +0100 @@ -8,13 +8,13 @@ # that is a likely indicator that the feature belongs somewhere else. pbr!=2.1.0,>=2.0.0 # Apache-2.0 -six>=1.9.0 # MIT -funcsigs>=0.4;python_version=='2.7' or python_version=='2.6' # Apache-2.0 +six>=1.10.0 # MIT +funcsigs>=1.0.0;python_version=='2.7' or python_version=='2.6' # Apache-2.0 iso8601>=0.1.11 # MIT -oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0 +oslo.i18n>=3.15.3 # Apache-2.0 monotonic>=0.6 # Apache-2.0 pytz>=2013.6 # MIT -netaddr!=0.7.16,>=0.7.13 # BSD +netaddr>=0.7.18 # BSD netifaces>=0.10.4 # MIT debtcollector>=1.2.0 # Apache-2.0 pyparsing>=2.1.0 # MIT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/test-requirements.txt new/oslo.utils-3.32.0/test-requirements.txt --- old/oslo.utils-3.28.0/test-requirements.txt 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/test-requirements.txt 2017-12-04 11:35:47.000000000 +0100 @@ -5,10 +5,10 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD -python-subunit>=0.0.18 # Apache-2.0/BSD +python-subunit>=1.0.0 # Apache-2.0/BSD testrepository>=0.0.18 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD -testtools>=1.4.0 # MIT +testtools>=2.2.0 # MIT oslotest>=1.10.0 # Apache-2.0 # when we can require tox>= 1.4, this can go into tox.ini: @@ -18,15 +18,15 @@ # this is required for the docs build jobs sphinx>=1.6.2 # BSD -openstackdocstheme>=1.11.0 # Apache-2.0 +openstackdocstheme>=1.17.0 # Apache-2.0 # mocking framework -mock>=2.0 # BSD +mock>=2.0.0 # BSD # used for oslotest cross-testing scripts -oslo.config!=4.3.0,!=4.4.0,>=4.0.0 # Apache-2.0 +oslo.config>=5.1.0 # Apache-2.0 # Bandit security code scanner bandit>=1.1.0 # Apache-2.0 -reno!=2.3.1,>=1.8.0 # Apache-2.0 +reno>=2.5.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/tools/tox_install.sh new/oslo.utils-3.32.0/tools/tox_install.sh --- old/oslo.utils-3.28.0/tools/tox_install.sh 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/tools/tox_install.sh 1970-01-01 01:00:00.000000000 +0100 @@ -1,30 +0,0 @@ -#!/usr/bin/env bash - -# Client constraint file contains this client version pin that is in conflict -# with installing the client from source. We should remove the version pin in -# the constraints file before applying it for from-source installation. - -CONSTRAINTS_FILE="$1" -shift 1 - -set -e - -# NOTE(tonyb): Place this in the tox enviroment's log dir so it will get -# published to logs.openstack.org for easy debugging. -localfile="$VIRTUAL_ENV/log/upper-constraints.txt" - -if [[ "$CONSTRAINTS_FILE" != http* ]]; then - CONSTRAINTS_FILE="file://$CONSTRAINTS_FILE" -fi -# NOTE(tonyb): need to add curl to bindep.txt if the project supports bindep -curl "$CONSTRAINTS_FILE" --insecure --progress-bar --output "$localfile" - -pip install -c"$localfile" openstack-requirements - -# This is the main purpose of the script: Allow local installation of -# the current repo. It is listed in constraints file and thus any -# install will be constrained and we need to unconstrain it. -edit-constraints "$localfile" -- "$CLIENT_NAME" - -pip install -c"$localfile" -U "$@" -exit $? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-3.28.0/tox.ini new/oslo.utils-3.32.0/tox.ini --- old/oslo.utils-3.28.0/tox.ini 2017-07-18 15:08:14.000000000 +0200 +++ new/oslo.utils-3.32.0/tox.ini 2017-12-04 11:35:47.000000000 +0100 @@ -3,16 +3,14 @@ envlist = py35,py27,pep8 [testenv] -setenv = - VIRTUAL_ENV={envdir} - BRANCH_NAME=master - CLIENT_NAME=oslo.utils -install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} -deps = -r{toxinidir}/test-requirements.txt +install_command = pip install {opts} {packages} +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}' [testenv:pep8] -deps=-r{toxinidir}/test-requirements.txt commands = flake8 # Run security linter @@ -28,7 +26,6 @@ commands = python setup.py test --coverage --coverage-package-name=oslo_utils --testr-args='{posargs}' [testenv:bandit] -deps=-r{toxinidir}/test-requirements.txt commands = bandit -r oslo_utils -x tests -n5 [flake8]
