Hello community, here is the log from the commit of package python-oslo.i18n for openSUSE:Factory checked in at 2020-02-18 10:41:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.i18n (Old) and /work/SRC/openSUSE:Factory/.python-oslo.i18n.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.i18n" Tue Feb 18 10:41:14 2020 rev:14 rq:774913 version:3.24.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.i18n/python-oslo.i18n.changes 2019-05-03 22:42:20.663231085 +0200 +++ /work/SRC/openSUSE:Factory/.python-oslo.i18n.new.26092/python-oslo.i18n.changes 2020-02-18 10:41:36.793092365 +0100 @@ -1,0 +2,15 @@ +Wed Oct 9 12:26:24 UTC 2019 - cloud-de...@suse.de + +- update to version 3.24.0 + - Cap Bandit below 1.6.0 and update Sphinx requirement + - Update master for stable/stein + - Clarify that translation strings are extracted via source inspection + - Replace git.openstack.org URLs with opendev.org URLs + - Move doc related modules to doc/requirements.txt + - Add Python 3 Train unit tests + - Dropping the py35 testing + - Fix guidelines w.r.t. translation of log messages + - OpenDev Migration Patch + - Move to releases.openstack.org + +------------------------------------------------------------------- Old: ---- oslo.i18n-3.23.1.tar.gz New: ---- oslo.i18n-3.24.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.i18n.spec ++++++ --- /var/tmp/diff_new_pack.G4PzUw/_old 2020-02-18 10:41:37.349093500 +0100 +++ /var/tmp/diff_new_pack.G4PzUw/_new 2020-02-18 10:41:37.349093500 +0100 @@ -17,13 +17,13 @@ Name: python-oslo.i18n -Version: 3.23.1 +Version: 3.24.0 Release: 0 Summary: OpenStack i18n library License: Apache-2.0 Group: Development/Languages/Python URL: https://launchpad.net/oslo.i18n -Source0: https://files.pythonhosted.org/packages/source/o/oslo.i18n/oslo.i18n-3.23.1.tar.gz +Source0: https://files.pythonhosted.org/packages/source/o/oslo.i18n/oslo.i18n-3.24.0.tar.gz BuildRequires: openstack-macros BuildRequires: python2-Babel >= 2.3.4 BuildRequires: python2-mock @@ -50,14 +50,14 @@ %package -n python-oslo.i18n-doc Summary: Documentation for OpenStack i18n library Group: Development/Languages/Python -BuildRequires: python-Sphinx -BuildRequires: python-openstackdocstheme +BuildRequires: python3-Sphinx +BuildRequires: python3-openstackdocstheme %description -n python-oslo.i18n-doc Documentation for the oslo.i18n library. %prep -%autosetup -p1 -n oslo.i18n-3.23.1 +%autosetup -p1 -n oslo.i18n-3.24.0 %py_req_cleanup %build @@ -67,7 +67,7 @@ %{python_install} # generate html docs -%{__python2} setup.py build_sphinx +PBR_VERSION=%{version} %sphinx_build -b html doc/source doc/build/html # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.G4PzUw/_old 2020-02-18 10:41:37.377093556 +0100 +++ /var/tmp/diff_new_pack.G4PzUw/_new 2020-02-18 10:41:37.377093556 +0100 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/openstack/oslo.i18n/oslo.i18n.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/openstack/oslo.i18n/oslo.i18n.spec.j2</param> <param name="output-name">python-oslo.i18n.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/oslo.i18n/stable/stein/requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/oslo.i18n/stable/train/requirements.txt</param> <param name="changelog-email">cloud-de...@suse.de</param> <param name="changelog-provider">gh,openstack,oslo.i18n</param> </service> ++++++ oslo.i18n-3.23.1.tar.gz -> oslo.i18n-3.24.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.23.1/.zuul.yaml new/oslo.i18n-3.24.0/.zuul.yaml --- old/oslo.i18n-3.23.1/.zuul.yaml 2019-02-28 19:06:04.000000000 +0100 +++ new/oslo.i18n-3.24.0/.zuul.yaml 2019-09-04 16:24:15.000000000 +0200 @@ -6,8 +6,7 @@ - openstack-cover-jobs - openstack-lower-constraints-jobs - openstack-python-jobs - - openstack-python36-jobs - - openstack-python37-jobs + - openstack-python3-train-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.23.1/AUTHORS new/oslo.i18n-3.24.0/AUTHORS --- old/oslo.i18n-3.23.1/AUTHORS 2019-02-28 19:08:12.000000000 +0100 +++ new/oslo.i18n-3.24.0/AUTHORS 2019-09-04 16:24:55.000000000 +0200 @@ -1,3 +1,4 @@ +Adam Spiers <aspi...@suse.com> Akihiro Motoki <amot...@gmail.com> Akihiro Motoki <mot...@da.jp.nec.com> Alessio Ababilov <aababi...@griddynamics.com> @@ -17,6 +18,7 @@ Christian Berendt <bere...@b1-systems.de> Chuck Short <chuck.sh...@canonical.com> Chuck Short <chu...@redhat.com> +Corey Bryant <corey.bry...@canonical.com> Dan Prince <dpri...@redhat.com> Davanum Srinivas <dava...@gmail.com> Davanum Srinivas <d...@linux.vnet.ibm.com> @@ -25,6 +27,7 @@ Doug Hellmann <doug.hellm...@dreamhost.com> Doug Hellmann <d...@doughellmann.com> Flavio Percoco <flape...@gmail.com> +Ghanshyam Mann <gm...@ghanshyammann.com> Hervé Beraud <hber...@redhat.com> James Carey <jeca...@us.ibm.com> Jason Kölker <ja...@koelker.net> @@ -67,10 +70,12 @@ ZhongShengping <chd...@163.com> Zhongyue Luo <zhongyue....@intel.com> howardlee <lihongwe...@inspur.com> +jacky06 <zhang....@99cloud.net> kavithahr <kavith...@nectechnologies.in> lingyongxu <l...@fiberhome.com> malei <malei@maleideMacBook-Pro.local> melissaml <ma....@99cloud.net> ricolin <rico....@easystack.cn> +tonybrad <zhangyu...@chinaunicom.cn> venkatamahesh <venkatamaheshko...@gmail.com> yanheven <yanhe...@qq.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.23.1/ChangeLog new/oslo.i18n-3.24.0/ChangeLog --- old/oslo.i18n-3.23.1/ChangeLog 2019-02-28 19:08:12.000000000 +0100 +++ new/oslo.i18n-3.24.0/ChangeLog 2019-09-04 16:24:55.000000000 +0200 @@ -1,6 +1,20 @@ CHANGES ======= +3.24.0 +------ + +* Add Python 3 Train unit tests +* Move doc related modules to doc/requirements.txt +* Clarify that translation strings are extracted via source inspection +* Fix guidelines w.r.t. translation of log messages +* Move to releases.openstack.org +* Cap Bandit below 1.6.0 and update Sphinx requirement +* Replace git.openstack.org URLs with opendev.org URLs +* OpenDev Migration Patch +* Dropping the py35 testing +* Update master for stable/stein + 3.23.1 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.23.1/PKG-INFO new/oslo.i18n-3.24.0/PKG-INFO --- old/oslo.i18n-3.23.1/PKG-INFO 2019-02-28 19:08:12.000000000 +0100 +++ new/oslo.i18n-3.24.0/PKG-INFO 2019-09-04 16:24:55.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: oslo.i18n -Version: 3.23.1 +Version: 3.24.0 Summary: Oslo i18n library Home-page: https://docs.openstack.org/oslo.i18n/latest Author: OpenStack @@ -33,7 +33,7 @@ * Free software: Apache license * Documentation: https://docs.openstack.org/oslo.i18n/latest - * Source: https://git.openstack.org/cgit/openstack/oslo.i18n + * Source: https://opendev.org/openstack/oslo.i18n * Bugs: https://bugs.launchpad.net/oslo.i18n * Release notes: https://docs.openstack.org/releasenotes/oslo.i18n/ @@ -48,4 +48,5 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.23.1/README.rst new/oslo.i18n-3.24.0/README.rst --- old/oslo.i18n-3.23.1/README.rst 2019-02-28 19:06:04.000000000 +0100 +++ new/oslo.i18n-3.24.0/README.rst 2019-09-04 16:24:15.000000000 +0200 @@ -25,6 +25,6 @@ * Free software: Apache license * Documentation: https://docs.openstack.org/oslo.i18n/latest -* Source: https://git.openstack.org/cgit/openstack/oslo.i18n +* Source: https://opendev.org/openstack/oslo.i18n * Bugs: https://bugs.launchpad.net/oslo.i18n * Release notes: https://docs.openstack.org/releasenotes/oslo.i18n/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.23.1/doc/requirements.txt new/oslo.i18n-3.24.0/doc/requirements.txt --- old/oslo.i18n-3.23.1/doc/requirements.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.i18n-3.24.0/doc/requirements.txt 2019-09-04 16:24:15.000000000 +0200 @@ -0,0 +1,8 @@ +# The order of packages is significant, because pip processes them in the order +# of appearance. Changing the order has an impact on the overall integration +# process, which may cause wedges in the gate later. + +sphinx!=1.6.6,!=1.6.7,>=1.6.5,<2.0.0;python_version=='2.7' # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.5;python_version>='3.4' # BSD +openstackdocstheme>=1.18.1 # Apache-2.0 +reno>=2.5.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.23.1/doc/source/user/guidelines.rst new/oslo.i18n-3.24.0/doc/source/user/guidelines.rst --- old/oslo.i18n-3.23.1/doc/source/user/guidelines.rst 2019-02-28 19:06:04.000000000 +0100 +++ new/oslo.i18n-3.24.0/doc/source/user/guidelines.rst 2019-09-04 16:24:15.000000000 +0200 @@ -1,5 +1,5 @@ ================================= - Guidelines for Use In OpenStack + Guidelines for Use in OpenStack ================================= The OpenStack I18N team has a limited capacity to translate messages, @@ -8,7 +8,8 @@ user sees* via exceptions or API calls should be marked for translation. However, some exceptions are used internally to signal error conditions between modules and are not intended to be presented -to the user. Those do not need to be translated. +to the user. Those do not need to be translated. Neither do log +messages, as explained below. .. seealso:: @@ -55,15 +56,26 @@ Starting with the Pike series, OpenStack no longer supports log translation. It is not necessary to add translation instructions to - new code, and the instructions can be removed from old code. Refer - to the email thread `understanding log domain change + new code, and the instructions can be removed from old code. The + following documentation is retained to help developers understand + existing usage and how to remove it. + + Support was `dropped + <http://lists.openstack.org/pipermail/openstack-dev/2017-March/114191.html>`_ + primarily based on `feedback from operators + <http://lists.openstack.org/pipermail/openstack-operators/2017-March/012953.html>`_ + that they were not only not needed but also undesirable, because they + fragmented the set of web pages providing helpful information about + any particular log message, thereby reducing the chances of finding + those web pages by doing a web search for the message. Refer to + the email thread `understanding log domain change <http://lists.openstack.org/pipermail/openstack-dev/2017-March/thread.html#113365>`_ on the openstack-dev mailing list for more details. -OpenStack supports translating some log levels using separate message -catalogs, and so has separate marker functions. These well-known names -are used by the build system jobs that extract the messages from the -source code and pass it to the translation tool. +OpenStack previously supported translating some log levels using +separate message catalogs, and so has separate marker functions. These +well-known names were used by the build system jobs that extracted the +messages from the source code and passed them to the translation tool. ========== ========== Level Function @@ -75,29 +87,26 @@ ========== ========== .. note:: - * Debug level log messages are not translated. - * LOG.exception creates an ERROR level log, so when a marker function is - used (see below) ``_LE()`` should be used. + Debug level log messages were never translated. Using a Marker Function ======================= + The marker functions are used to mark the translatable strings in the code. The strings are extracted into catalogs using a tool that -looks for these specific markers, so the function argument must just -be a string. +performs source inspection to look for these specific markers, so the +function argument must just be a string. For example: **do not do this**:: # WRONG msg = _(variable_containing_msg) - w_msg = _LW(variable_warning_msg) Instead, use this style:: # RIGHT msg = _('My message.') - w_msg = _LW('My warning message') Choosing a Marker Function @@ -119,51 +128,39 @@ going to a log file. This ensures that the translated version of the message will be available to the user. -The log marker functions (``_LI()``, ``_LW()``, ``_LE()``, and ``_LC()``) -must only be used when the message is only sent directly to the log. -Anytime that the message will be passed outside of the current context -(for example as part of an exception) the ``_()`` marker function -must be used. - -A common pattern is to define a single message object and use it more -than once, for the log call and the exception. In that case, ``_()`` -must be used because the message is going to appear in an exception that -may be presented to the user. +The log marker functions (``_LI()``, ``_LW()``, ``_LE()``, and +``_LC()``) should no longer be used, and existing usages should be +removed. Anytime that the message is passed outside of the current +context (for example as part of an exception) the ``_()`` marker +function must be used instead. + +A common pattern used to be to define a single message object and use +it more than once, for the log call and the exception. In that case, +``_()`` had to be used because the message was going to appear in an +exception that may be presented to the user. + +However, now that log messages are no longer translated, it is +unfortunately necessary to use two separate strings: a plain one for +the log message, and a translatable one for the exception. For example, **do not do this**:: # WRONG - msg = _LE('There was an error.') - LOG.exception(msg) - raise LocalExceptionClass(msg) - -Instead, use this style:: - - # RIGHT msg = _('There was an error.') - LOG.exception(msg) + LOG.error(msg) raise LocalExceptionClass(msg) -Except in the case above, ``_()`` should not be used for translating -log messages. This avoids having the same string in two message -catalogs, possibly translated differently by two different -translators. The log message will translate properly because when -the message is not found in the log specific catalog the ``_()`` -catalog will be used. - -If a common message is not being used, they should each be treated -separately with respect to choosing a marker function. - -For example, **do not do this**:: +or this:: - # WRONG - LOG.exception(_('There was an error.')) - raise LocalExceptionClass(_('An error occurred.')) + # EVEN MORE WRONG + msg = _LE('There was an error.') + LOG.error(msg) + raise LocalExceptionClass(msg) Instead, use this style:: # RIGHT - LOG.exception(_LE('There was an error.')) + LOG.error('There was an error.') raise LocalExceptionClass(_('An error occurred.')) @@ -201,46 +198,3 @@ # RIGHT raise ValueError(_('some message: v1=%(v1)s v2=%(v2)s') % {'v1': v1, 'v2': v2}) - - -Adding Variables to Log Messages -================================ - -String interpolation should be delayed to be handled by the logging -code, rather than being done at the point of the logging call. For -example, **do not do this**:: - - # WRONG - LOG.info(_LI('some message: variable=%s') % variable) - -Instead, use this style:: - - # RIGHT - LOG.info(_LI('some message: variable=%s'), variable) - -This allows the logging package to skip creating the formatted log -message if the message is not going to be emitted because of the -current log level. - -Avoid Forcing the Translation of Translatable Variables -======================================================= - -Translation can also be delayed for variables that potentially contain -translatable objects such as exceptions. - -Whenever possible translation should not be forced by use of :func:`str`, -:func:`unicode`, or :func:`six.text_type` on a message being used with -a format string. - -For example, **do not do this**:: - - # WRONG - LOG.info(_LI('some message: exception=%s'), six.text_type(exc)) - -Instead, use this style:: - - # RIGHT - LOG.info(_LI('some message: exception=%s'), exc) - -This allows the translation of the translatable replacement text to be -delayed until the message is translated. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.23.1/oslo.i18n.egg-info/PKG-INFO new/oslo.i18n-3.24.0/oslo.i18n.egg-info/PKG-INFO --- old/oslo.i18n-3.23.1/oslo.i18n.egg-info/PKG-INFO 2019-02-28 19:08:12.000000000 +0100 +++ new/oslo.i18n-3.24.0/oslo.i18n.egg-info/PKG-INFO 2019-09-04 16:24:55.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: oslo.i18n -Version: 3.23.1 +Version: 3.24.0 Summary: Oslo i18n library Home-page: https://docs.openstack.org/oslo.i18n/latest Author: OpenStack @@ -33,7 +33,7 @@ * Free software: Apache license * Documentation: https://docs.openstack.org/oslo.i18n/latest - * Source: https://git.openstack.org/cgit/openstack/oslo.i18n + * Source: https://opendev.org/openstack/oslo.i18n * Bugs: https://bugs.launchpad.net/oslo.i18n * Release notes: https://docs.openstack.org/releasenotes/oslo.i18n/ @@ -48,4 +48,5 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.23.1/oslo.i18n.egg-info/SOURCES.txt new/oslo.i18n-3.24.0/oslo.i18n.egg-info/SOURCES.txt --- old/oslo.i18n-3.23.1/oslo.i18n.egg-info/SOURCES.txt 2019-02-28 19:08:12.000000000 +0100 +++ new/oslo.i18n-3.24.0/oslo.i18n.egg-info/SOURCES.txt 2019-09-04 16:24:55.000000000 +0200 @@ -15,6 +15,7 @@ setup.py test-requirements.txt tox.ini +doc/requirements.txt doc/source/conf.py doc/source/index.rst doc/source/contributor/contributing.rst @@ -72,6 +73,7 @@ releasenotes/source/pike.rst releasenotes/source/queens.rst releasenotes/source/rocky.rst +releasenotes/source/stein.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.i18n-3.23.1/oslo.i18n.egg-info/pbr.json new/oslo.i18n-3.24.0/oslo.i18n.egg-info/pbr.json --- old/oslo.i18n-3.23.1/oslo.i18n.egg-info/pbr.json 2019-02-28 19:08:12.000000000 +0100 +++ new/oslo.i18n-3.24.0/oslo.i18n.egg-info/pbr.json 2019-09-04 16:24:55.000000000 +0200 @@ -1 +1 @@ -{"git_version": "20bbee5", "is_release": true} \ No newline at end of file +{"git_version": "91b39bb", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.23.1/releasenotes/source/index.rst new/oslo.i18n-3.24.0/releasenotes/source/index.rst --- old/oslo.i18n-3.23.1/releasenotes/source/index.rst 2019-02-28 19:06:04.000000000 +0100 +++ new/oslo.i18n-3.24.0/releasenotes/source/index.rst 2019-09-04 16:24:15.000000000 +0200 @@ -6,6 +6,7 @@ :maxdepth: 1 unreleased + stein rocky queens pike diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.23.1/releasenotes/source/stein.rst new/oslo.i18n-3.24.0/releasenotes/source/stein.rst --- old/oslo.i18n-3.23.1/releasenotes/source/stein.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.i18n-3.24.0/releasenotes/source/stein.rst 2019-09-04 16:24:15.000000000 +0200 @@ -0,0 +1,6 @@ +=================================== + Stein Series Release Notes +=================================== + +.. release-notes:: + :branch: stable/stein diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.23.1/setup.cfg new/oslo.i18n-3.24.0/setup.cfg --- old/oslo.i18n-3.23.1/setup.cfg 2019-02-28 19:08:12.000000000 +0100 +++ new/oslo.i18n-3.24.0/setup.cfg 2019-09-04 16:24:55.000000000 +0200 @@ -16,7 +16,8 @@ Programming Language :: Python :: 2 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 [files] packages = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.23.1/test-requirements.txt new/oslo.i18n-3.24.0/test-requirements.txt --- old/oslo.i18n-3.23.1/test-requirements.txt 2019-02-28 19:06:04.000000000 +0100 +++ new/oslo.i18n-3.24.0/test-requirements.txt 2019-09-04 16:24:15.000000000 +0200 @@ -4,9 +4,6 @@ hacking>=1.1.0,<1.2.0 # Apache-2.0 stestr>=2.0.0 # Apache-2.0 -sphinx!=1.6.6,!=1.6.7,>=1.6.5 # BSD -openstackdocstheme>=1.18.1 # Apache-2.0 - mock>=2.0.0 # BSD oslotest>=3.2.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 @@ -15,7 +12,5 @@ # for pre-release tests oslo.config>=5.2.0 # Apache-2.0 -reno>=2.5.0 # Apache-2.0 - # Bandit security code scanner -bandit>=1.1.0 # Apache-2.0 +bandit>=1.1.0,<1.6.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.23.1/tox.ini new/oslo.i18n-3.24.0/tox.ini --- old/oslo.i18n-3.23.1/tox.ini 2019-02-28 19:06:04.000000000 +0100 +++ new/oslo.i18n-3.24.0/tox.ini 2019-09-04 16:24:15.000000000 +0200 @@ -1,11 +1,11 @@ [tox] minversion = 2.0 -envlist = py37,py27,pep8 +envlist = py27,py37,pep8 [testenv] install_command = pip install {opts} {packages} deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt commands = stestr run --slowest {posargs} @@ -28,7 +28,14 @@ [testenv:docs] basepython = python3 -commands = python setup.py build_sphinx +whitelist_externals = + rm +deps = + {[testenv]deps} + -r{toxinidir}/doc/requirements.txt +commands = + rm -rf doc/build + sphinx-build -W -b html doc/source doc/build/html [testenv:cover] basepython = python3