Hello community, here is the log from the commit of package python-cliff for openSUSE:Factory checked in at 2019-03-04 09:09:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cliff (Old) and /work/SRC/openSUSE:Factory/.python-cliff.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-cliff" Mon Mar 4 09:09:40 2019 rev:32 rq:680099 version:2.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cliff/python-cliff.changes 2018-02-14 10:52:24.343991380 +0100 +++ /work/SRC/openSUSE:Factory/.python-cliff.new.28833/python-cliff.changes 2019-03-04 09:09:43.632714433 +0100 @@ -1,0 +2,26 @@ +Thu Feb 28 11:42:03 UTC 2019 - cloud-devel@suse.de + +- update to version 2.14.0 + - sphinxext: Warn if namespace or command pattern invalid + - fix tox python3 overrides + - import zuul job settings from project-config + - Remove the warning of getargspec removal + - Zuul: Remove project name + - Fix cmd2 doc URL + - add lib-forward-testing-python3 test job + - support cmd2 0.9.1 in interactive mode + - update cmd2 dependency to handle py3 only versions + - Build universal wheels + - exclude cmd2 0.8.3 and update to 0.8.4 + - Align parsed() call with cmd2 versions >= 0.7.3 + - Removed unused err variable + - switch documentation job to new PTI + - add python 3.6 unit test job + - Remove travis.yml + - Assure executable name is kept when app is called as module + - Updated from global requirements + - add lower-constraints job + - Don't try to run issubclass on non-classes + - fix typos in documentation + +------------------------------------------------------------------- Old: ---- cliff-2.11.0.tar.gz New: ---- cliff-2.14.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cliff.spec ++++++ --- /var/tmp/diff_new_pack.Ce9YZG/_old 2019-03-04 09:09:44.280714325 +0100 +++ /var/tmp/diff_new_pack.Ce9YZG/_new 2019-03-04 09:09:44.284714324 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-cliff # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,18 +12,18 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: python-cliff -Version: 2.11.0 +Version: 2.14.0 Release: 0 Summary: Command Line Interface Formulation Framework License: Apache-2.0 Group: Development/Languages/Python -Url: https://launchpad.net/python-cliff -Source0: https://files.pythonhosted.org/packages/source/c/cliff/cliff-2.11.0.tar.gz +URL: https://launchpad.net/python-cliff +Source0: https://files.pythonhosted.org/packages/source/c/cliff/cliff-2.14.0.tar.gz BuildRequires: openstack-macros BuildRequires: python-devel BuildRequires: python2-PrettyTable @@ -40,7 +40,6 @@ BuildRequires: python2-unicodecsv BuildRequires: python3-PrettyTable BuildRequires: python3-PyYAML -BuildRequires: python3-cmd2 BuildRequires: python3-devel BuildRequires: python3-mock BuildRequires: python3-pbr @@ -81,7 +80,7 @@ This package contains documentation files for %{name}. %prep -%autosetup -p1 -n cliff-2.11.0 +%autosetup -p1 -n cliff-2.14.0 sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %py_req_cleanup ++++++ cliff-2.11.0.tar.gz -> cliff-2.14.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/.travis.yml new/cliff-2.14.0/.travis.yml --- old/cliff-2.11.0/.travis.yml 2018-01-18 23:14:03.000000000 +0100 +++ new/cliff-2.14.0/.travis.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,8 +0,0 @@ -language: python -python: - - 2.7 - - 3.2 - - 3.3 - - pypy -install: pip install -r test-requirements.txt -script: nosetests -d \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/.zuul.yaml new/cliff-2.14.0/.zuul.yaml --- old/cliff-2.11.0/.zuul.yaml 2018-01-18 23:14:03.000000000 +0100 +++ new/cliff-2.14.0/.zuul.yaml 2018-11-01 14:18:07.000000000 +0100 @@ -20,14 +20,23 @@ zuul_work_dir: src/git.openstack.org/openstack/python-neutronclient - project: - name: openstack/cliff + templates: + - openstack-python-jobs + - openstack-python35-jobs + - openstack-python36-jobs + - lib-forward-testing + - lib-forward-testing-python3 + - publish-openstack-docs-pti + - check-requirements check: jobs: - cliff-tox-py27-neutronclient-tip - osc-tox-unit-tips: branches: ^master$ + - openstack-tox-lower-constraints gate: jobs: - cliff-tox-py27-neutronclient-tip - osc-tox-unit-tips: branches: ^master$ + - openstack-tox-lower-constraints diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/AUTHORS new/cliff-2.14.0/AUTHORS --- old/cliff-2.11.0/AUTHORS 2018-01-18 23:16:44.000000000 +0100 +++ new/cliff-2.14.0/AUTHORS 2018-11-01 14:20:28.000000000 +0100 @@ -11,6 +11,7 @@ Christian Berendt <berendt@b1-systems.de> Christophe CHAUVET <christophe.chauvet@gmail.com> Clint Byrum <clint@fewbar.com> +Corey Bryant <corey.bryant@canonical.com> Dan Kirkwood <dangogh@gmail.com> Dean Troyer <dtroyer@gmail.com> Derek Higgins <derekh@redhat.com> @@ -23,8 +24,10 @@ Eyal Posener <eyal@stratoscale.com> Feodor Tersin <ftersin@cloudscaling.com> Flavio Percoco <flaper87@gmail.com> +Hongbin Lu <hongbin.lu@huawei.com> Ilya Shakhat <ishakhat@mirantis.com> James Downs <egon@egon.cc> +James E. Blair <jeblair@redhat.com> Jamie Lennox <jamielennox@redhat.com> Jaspreet Singh Rawel <jaspreetsinghrawel@gmail.com> Jeremy Stanley <fungi@yuggoth.org> @@ -39,12 +42,15 @@ Maciej Kwiek <mkwiek@mirantis.com> Mark McClain <mark.mcclain@dreamhost.com> Masayuki Igawa <masayuki.igawa@gmail.com> +Masayuki Igawa <masayuki@igawa.io> Matt Joyce <matt.joyce@cloudscaling.com> Matthew Edmonds <edmondsw@us.ibm.com> +Matthew Thode <mthode@mthode.org> Michael Davies <michael@the-davies.net> Monty Taylor <mordred@inaugust.com> Neil Borle <neil.borle@emc.com> Nguyen Hung Phuong <phuongnh@vn.fujitsu.com> +Nicola Soranzo <nicola.soranzo@earlham.ac.uk> Pierre-André MOREY <kick@mifamofi.net> Qiu Yu <qiuyu@ebaysf.com> Rajath Agasthya <rajathagasthya@gmail.com> @@ -55,6 +61,7 @@ Ryan Selden <ryanx.seldon@intel.com> Sascha Peilicke <saschpe@gmx.de> Sean Perry <sean.perry@hp.com> +Sorin Sbarnea <ssbarnea@redhat.com> Stephen Finucane <sfinucan@redhat.com> Steve Baker <sbaker@redhat.com> Steve Martinelli <s.martinelli@gmail.com> @@ -69,7 +76,6 @@ Vitalii Kulanov <vitaliy@kulanov.org.ua> Yalei Wang <yalei.wang@intel.com> Yushiro FURUKAWA <y.furukawa_2@jp.fujitsu.com> -Zuul <zuul@review.openstack.org> caoyue <yue.cao@easystack.cn> dineshbhor <dinesh.bhor@nttdata.com> gcmalloc <gcmalloc@gmail.com> @@ -81,5 +87,6 @@ liyingjun <yingjun.li@kylin-cloud.com> markmcclain <mark@four-m.org> melissaml <ma.lei@99cloud.net> +qingszhao <zhao.daqing@99cloud.net> qneill <quentin.neill@gmail.com> shizhihui <zhihui.shi@easystack.cn> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/ChangeLog new/cliff-2.14.0/ChangeLog --- old/cliff-2.11.0/ChangeLog 2018-01-18 23:16:44.000000000 +0100 +++ new/cliff-2.14.0/ChangeLog 2018-11-01 14:20:28.000000000 +0100 @@ -1,6 +1,44 @@ CHANGES ======= +2.14.0 +------ + +* Don't try to run issubclass on non-classes +* Removed unused err variable +* add lib-forward-testing-python3 test job +* add python 3.6 unit test job +* switch documentation job to new PTI +* import zuul job settings from project-config + +2.13.0 +------ + +* Assure executable name is kept when app is called as module + +2.12.1 +------ + +* Build universal wheels +* fix tox python3 overrides +* support cmd2 0.9.1 in interactive mode + +2.12.0 +------ + +* update cmd2 dependency to handle py3 only versions +* Remove travis.yml +* exclude cmd2 0.8.3 and update to 0.8.4 +* add lower-constraints job +* fix typos in documentation +* Updated from global requirements +* Remove the warning of getargspec removal +* Align parsed() call with cmd2 versions >= 0.7.3 +* Fix cmd2 doc URL +* sphinxext: Warn if namespace or command pattern invalid +* Zuul: Remove project name +* Updated from global requirements + 2.11.0 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/PKG-INFO new/cliff-2.14.0/PKG-INFO --- old/cliff-2.11.0/PKG-INFO 2018-01-18 23:16:44.000000000 +0100 +++ new/cliff-2.14.0/PKG-INFO 2018-11-01 14:20:28.000000000 +0100 @@ -1,12 +1,11 @@ Metadata-Version: 1.1 Name: cliff -Version: 2.11.0 +Version: 2.14.0 Summary: Command Line Interface Formulation Framework Home-page: https://docs.openstack.org/cliff/latest/ Author: OpenStack Author-email: openstack-dev@lists.openstack.org License: UNKNOWN -Description-Content-Type: UNKNOWN Description: ======================== Team and repository tags ======================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/cliff/app.py new/cliff-2.14.0/cliff/app.py --- old/cliff-2.11.0/cliff/app.py 2018-01-18 23:14:03.000000000 +0100 +++ new/cliff-2.14.0/cliff/app.py 2018-11-01 14:18:07.000000000 +0100 @@ -14,7 +14,6 @@ """ import codecs -import inspect import locale import logging import logging.handlers @@ -55,6 +54,8 @@ """ NAME = os.path.splitext(os.path.basename(sys.argv[0]))[0] + if NAME == '__main__': + NAME = os.path.split(os.path.dirname(sys.argv[0]))[-1] LOG = logging.getLogger(NAME) CONSOLE_MESSAGE_FORMAT = '%(message)s' @@ -151,7 +152,7 @@ parser.add_argument( '--version', action='version', - version='%(prog)s {0}'.format(version), + version='{0} {1}'.format(App.NAME, version), ) verbose_group = parser.add_mutually_exclusive_group() verbose_group.add_argument( @@ -243,6 +244,7 @@ :param argv: input arguments and options :paramtype argv: list of str """ + try: self.options, remainder = self.parser.parse_known_args(argv) self.configure_logging() @@ -384,10 +386,9 @@ return 2 cmd_factory, cmd_name, sub_argv = subcommand kwargs = {} - if 'cmd_name' in inspect.getargspec(cmd_factory.__init__).args: + if 'cmd_name' in utils.getargspec(cmd_factory.__init__).args: kwargs['cmd_name'] = cmd_name cmd = cmd_factory(self, self.options, **kwargs) - err = None result = 1 try: self.prepare_to_run_command(cmd) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/cliff/command.py new/cliff-2.14.0/cliff/command.py --- old/cliff-2.11.0/cliff/command.py 2018-01-18 23:14:03.000000000 +0100 +++ new/cliff-2.14.0/cliff/command.py 2018-11-01 14:18:07.000000000 +0100 @@ -191,7 +191,7 @@ This method is intended to be called from the run() method before take_action() is called. - This method should only be overriden by developers creating new + This method should only be overridden by developers creating new command base classes and only if it is necessary to have different hook processing behavior. """ @@ -209,7 +209,7 @@ This method is intended to be called from the run() method after take_action() is called. - This method should only be overriden by developers creating new + This method should only be overridden by developers creating new command base classes and only if it is necessary to have different hook processing behavior. """ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/cliff/commandmanager.py new/cliff-2.14.0/cliff/commandmanager.py --- old/cliff-2.11.0/cliff/commandmanager.py 2018-01-18 23:14:03.000000000 +0100 +++ new/cliff-2.14.0/cliff/commandmanager.py 2018-11-01 14:18:07.000000000 +0100 @@ -13,11 +13,12 @@ """Discover and lookup command plugins. """ -import inspect import logging import pkg_resources +from . import utils + LOG = logging.getLogger(__name__) @@ -103,7 +104,7 @@ else: # NOTE(dhellmann): Some fake classes don't take # require as an argument. Yay? - arg_spec = inspect.getargspec(cmd_ep.load) + arg_spec = utils.getargspec(cmd_ep.load) if 'require' in arg_spec[0]: cmd_factory = cmd_ep.load(require=False) else: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/cliff/help.py new/cliff-2.14.0/cliff/help.py --- old/cliff-2.11.0/cliff/help.py 2018-01-18 23:14:03.000000000 +0100 +++ new/cliff-2.14.0/cliff/help.py 2018-11-01 14:18:07.000000000 +0100 @@ -16,6 +16,7 @@ import traceback from . import command +from . import utils class HelpAction(argparse.Action): @@ -47,7 +48,7 @@ continue try: kwargs = {} - if 'cmd_name' in inspect.getargspec(factory.__init__).args: + if 'cmd_name' in utils.getargspec(factory.__init__).args: kwargs['cmd_name'] = name cmd = factory(app, None, **kwargs) if cmd.deprecated: @@ -100,7 +101,7 @@ return self.app_args.cmd = search_args kwargs = {} - if 'cmd_name' in inspect.getargspec(cmd_factory.__init__).args: + if 'cmd_name' in utils.getargspec(cmd_factory.__init__).args: kwargs['cmd_name'] = cmd_name cmd = cmd_factory(self.app, self.app_args, **kwargs) full_name = (cmd_name diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/cliff/interactive.py new/cliff-2.14.0/cliff/interactive.py --- old/cliff-2.11.0/cliff/interactive.py 2018-01-18 23:14:03.000000000 +0100 +++ new/cliff-2.14.0/cliff/interactive.py 2018-11-01 14:18:07.000000000 +0100 @@ -26,7 +26,7 @@ Refer to the cmd2_ and cmd_ documentation for details about subclassing and configuring this class. - .. _cmd2: http://packages.python.org/cmd2/index.html + .. _cmd2: https://cmd2.readthedocs.io/en/latest/ .. _cmd: http://docs.python.org/library/cmd.html :param parent_app: The calling application (expected to be derived @@ -51,13 +51,24 @@ self.command_manager = command_manager cmd2.Cmd.__init__(self, 'tab', stdin=stdin, stdout=stdout) + def _split_line(self, line): + try: + return shlex.split(line.parsed.raw) + except AttributeError: + # cmd2 >= 0.9.1 gives us a Statement not a PyParsing parse + # result. + parts = shlex.split(line) + if getattr(line, 'command', None): + parts.insert(0, line.command) + return parts + def default(self, line): # Tie in the default command processor to # dispatch commands known to the command manager. # We send the message through our parent app, # since it already has the logic for executing # the subcommand. - line_parts = shlex.split(line.parsed.raw) + line_parts = self._split_line(line) self.parent_app.run_subcommand(line_parts) def completenames(self, text, line, begidx, endidx): @@ -111,7 +122,17 @@ # Dispatch to the underlying help command, # which knows how to provide help for extension # commands. - self.default(self.parsed('help ' + arg)) + try: + # NOTE(coreycb): This try path can be removed once + # requirements.txt has cmd2 >= 0.7.3. + parsed = self.parsed + except AttributeError: + try: + parsed = self.parser_manager.parsed + except AttributeError: + # cmd2 >= 0.9.1 does not have a parser manager + parsed = lambda x: x # noqa + self.default(parsed('help ' + arg)) else: cmd2.Cmd.do_help(self, arg) cmd_names = sorted([n for n, v in self.command_manager]) @@ -134,7 +155,7 @@ # Pre-process the parsed command in case it looks like one of # our subcommands, since cmd2 does not handle multi-part # command names by default. - line_parts = shlex.split(statement.parsed.raw) + line_parts = self._split_line(statement) try: the_cmd = self.command_manager.find_command(line_parts) cmd_factory, cmd_name, sub_argv = the_cmd @@ -142,8 +163,15 @@ # Not a plugin command pass else: - statement.parsed.command = cmd_name - statement.parsed.args = ' '.join(sub_argv) + if hasattr(statement, 'parsed'): + # Older cmd2 uses PyParsing + statement.parsed.command = cmd_name + statement.parsed.args = ' '.join(sub_argv) + else: + # cmd2 >= 0.9.1 uses shlex and gives us a Statement. + statement.command = cmd_name + statement.argv = [cmd_name] + sub_argv + statement.args = ' '.join(statement.argv) return statement def cmdloop(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/cliff/sphinxext.py new/cliff-2.14.0/cliff/sphinxext.py --- old/cliff-2.11.0/cliff/sphinxext.py 2018-01-18 23:14:03.000000000 +0100 +++ new/cliff-2.14.0/cliff/sphinxext.py 2018-11-01 14:18:07.000000000 +0100 @@ -15,6 +15,7 @@ import argparse import fnmatch import importlib +import inspect import re import sys @@ -242,6 +243,8 @@ cliff_app_class = getattr(sys.modules[mod_str], class_str) except AttributeError: return + if not inspect.isclass(cliff_app_class): + return if not issubclass(cliff_app_class, app.App): return app_arguments = self.options.get('arguments', '').split() @@ -268,6 +271,15 @@ if fnmatch.fnmatch(x, command_pattern)] else: commands = manager.commands.keys() + + if not commands: + msg = 'No commands found in the "{}" namespace' + if command_pattern: + msg += ' using the "{}" command name/pattern' + msg += ('. Are you sure this is correct and the application being ' + 'documented is installed?') + raise self.warning(msg.format(self.arguments[0], command_pattern)) + return dict((name, self._load_command(manager, name)) for name in commands) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/cliff/utils.py new/cliff-2.14.0/cliff/utils.py --- old/cliff-2.11.0/cliff/utils.py 2018-01-18 23:14:03.000000000 +0100 +++ new/cliff-2.14.0/cliff/utils.py 2018-11-01 14:18:07.000000000 +0100 @@ -13,6 +13,7 @@ import codecs import ctypes +import inspect import os import struct import sys @@ -28,6 +29,12 @@ COST = {'w': 0, 's': 2, 'a': 1, 'd': 3} +if hasattr(inspect, 'getfullargspec'): + getargspec = inspect.getfullargspec +else: + getargspec = inspect.getargspec + + def damerau_levenshtein(s1, s2, cost): """Calculates the Damerau-Levenshtein distance between two strings. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/cliff.egg-info/PKG-INFO new/cliff-2.14.0/cliff.egg-info/PKG-INFO --- old/cliff-2.11.0/cliff.egg-info/PKG-INFO 2018-01-18 23:16:44.000000000 +0100 +++ new/cliff-2.14.0/cliff.egg-info/PKG-INFO 2018-11-01 14:20:28.000000000 +0100 @@ -1,12 +1,11 @@ Metadata-Version: 1.1 Name: cliff -Version: 2.11.0 +Version: 2.14.0 Summary: Command Line Interface Formulation Framework Home-page: https://docs.openstack.org/cliff/latest/ Author: OpenStack Author-email: openstack-dev@lists.openstack.org License: UNKNOWN -Description-Content-Type: UNKNOWN Description: ======================== Team and repository tags ======================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/cliff.egg-info/SOURCES.txt new/cliff-2.14.0/cliff.egg-info/SOURCES.txt --- old/cliff-2.11.0/cliff.egg-info/SOURCES.txt 2018-01-18 23:16:44.000000000 +0100 +++ new/cliff-2.14.0/cliff.egg-info/SOURCES.txt 2018-11-01 14:20:28.000000000 +0100 @@ -1,6 +1,5 @@ .stestr.conf .testr.conf -.travis.yml .zuul.yaml AUTHORS CONTRIBUTING.rst @@ -10,6 +9,7 @@ Makefile README.rst bandit.yaml +lower-constraints.txt requirements.txt setup.cfg setup.py @@ -70,6 +70,7 @@ demoapp/README.rst demoapp/setup.py demoapp/cliffdemo/__init__.py +demoapp/cliffdemo/__main__.py demoapp/cliffdemo/encoding.py demoapp/cliffdemo/hook.py demoapp/cliffdemo/list.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/cliff.egg-info/pbr.json new/cliff-2.14.0/cliff.egg-info/pbr.json --- old/cliff-2.11.0/cliff.egg-info/pbr.json 2018-01-18 23:16:44.000000000 +0100 +++ new/cliff-2.14.0/cliff.egg-info/pbr.json 2018-11-01 14:20:28.000000000 +0100 @@ -1 +1 @@ -{"git_version": "134ebd4", "is_release": true} \ No newline at end of file +{"git_version": "cd6cd9d", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/cliff.egg-info/requires.txt new/cliff-2.14.0/cliff.egg-info/requires.txt --- old/cliff-2.11.0/cliff.egg-info/requires.txt 2018-01-18 23:16:44.000000000 +0100 +++ new/cliff-2.14.0/cliff.egg-info/requires.txt 2018-11-01 14:20:28.000000000 +0100 @@ -1,8 +1,13 @@ pbr!=2.1.0,>=2.0.0 -cmd2>=0.6.7 -PrettyTable<0.8,>=0.7.1 +PrettyTable<0.8,>=0.7.2 pyparsing>=2.1.0 six>=1.10.0 stevedore>=1.20.0 +PyYAML>=3.12 + +[:(python_version<'3.0')] +cmd2!=0.8.3,<0.9.0 unicodecsv>=0.8.0 -PyYAML>=3.10 + +[:(python_version>='3.0')] +cmd2!=0.8.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/demoapp/cliffdemo/__main__.py new/cliff-2.14.0/demoapp/cliffdemo/__main__.py --- old/cliff-2.11.0/demoapp/cliffdemo/__main__.py 1970-01-01 01:00:00.000000000 +0100 +++ new/cliff-2.14.0/demoapp/cliffdemo/__main__.py 2018-11-01 14:18:07.000000000 +0100 @@ -0,0 +1,6 @@ +import sys +from cliffdemo.main import main + + +if __name__ == '__main__': + sys.exit(main(sys.argv[1:])) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/doc/requirements.txt new/cliff-2.14.0/doc/requirements.txt --- old/cliff-2.11.0/doc/requirements.txt 2018-01-18 23:14:03.000000000 +0100 +++ new/cliff-2.14.0/doc/requirements.txt 2018-11-01 14:18:07.000000000 +0100 @@ -1,5 +1,5 @@ # 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.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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/lower-constraints.txt new/cliff-2.14.0/lower-constraints.txt --- old/cliff-2.11.0/lower-constraints.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/cliff-2.14.0/lower-constraints.txt 2018-11-01 14:18:07.000000000 +0100 @@ -0,0 +1,37 @@ +alabaster==0.7.10 +Babel==2.3.4 +bandit==1.1.0 +cmd2==0.8.0 +coverage==4.0 +docutils==0.11 +extras==1.0.0 +fixtures==3.0.0 +gitdb==0.6.4 +GitPython==1.0.1 +imagesize==0.7.1 +Jinja2==2.10 +linecache2==1.0.0 +MarkupSafe==1.0 +mock==2.0.0 +pbr==2.0.0 +prettytable==0.7.2 +Pygments==2.2.0 +pyparsing==2.1.0 +pyperclip==1.5.27 +python-mimeparse==1.6.0 +python-subunit==1.0.0 +pytz==2013.6 +PyYAML==3.12 +requests==2.14.2 +six==1.10.0 +smmap==0.9.0 +snowballstemmer==1.2.1 +Sphinx==1.6.2 +sphinxcontrib-websupport==1.0.1 +stevedore==1.20.0 +testrepository==0.0.18 +testscenarios==0.4 +testtools==2.2.0 +traceback2==1.4.0 +unicodecsv==0.8.0;python_version<'3.0' +unittest2==1.1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/requirements.txt new/cliff-2.14.0/requirements.txt --- old/cliff-2.11.0/requirements.txt 2018-01-18 23:14:03.000000000 +0100 +++ new/cliff-2.14.0/requirements.txt 2018-11-01 14:18:07.000000000 +0100 @@ -2,10 +2,11 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. pbr!=2.1.0,>=2.0.0 # Apache-2.0 -cmd2>=0.6.7 # MIT -PrettyTable<0.8,>=0.7.1 # BSD +cmd2!=0.8.3,<0.9.0;python_version<'3.0' # MIT +cmd2!=0.8.3;python_version>='3.0' # MIT +PrettyTable<0.8,>=0.7.2 # BSD pyparsing>=2.1.0 # MIT six>=1.10.0 # MIT stevedore>=1.20.0 # Apache-2.0 unicodecsv>=0.8.0;python_version<'3.0' # BSD -PyYAML>=3.10 # MIT +PyYAML>=3.12 # MIT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/setup.cfg new/cliff-2.14.0/setup.cfg --- old/cliff-2.11.0/setup.cfg 2018-01-18 23:16:44.000000000 +0100 +++ new/cliff-2.14.0/setup.cfg 2018-11-01 14:20:28.000000000 +0100 @@ -49,6 +49,9 @@ cliff.demo.hooked = sample-hook = cliffdemo.hook:Hook +[bdist_wheel] +universal = 1 + [build_sphinx] all-files = 1 warning-is-error = 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/test-requirements.txt new/cliff-2.14.0/test-requirements.txt --- old/cliff-2.11.0/test-requirements.txt 2018-01-18 23:14:03.000000000 +0100 +++ new/cliff-2.14.0/test-requirements.txt 2018-11-01 14:18:07.000000000 +0100 @@ -12,7 +12,7 @@ # sphinx is required in test-requirements in addition to doc/requirements # because there is a sphinx extension that has tests -sphinx>=1.6.2 # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD # Bandit security code scanner bandit>=1.1.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-2.11.0/tox.ini new/cliff-2.14.0/tox.ini --- old/cliff-2.11.0/tox.ini 2018-01-18 23:14:03.000000000 +0100 +++ new/cliff-2.14.0/tox.ini 2018-11-01 14:18:07.000000000 +0100 @@ -21,6 +21,7 @@ -r{toxinidir}/requirements.txt [testenv:pep8] +basepython = python3 deps = -r{toxinidir}/test-requirements.txt flake8 @@ -30,6 +31,7 @@ bandit -c bandit.yaml -r cliff -x tests -n5 [testenv:venv] +basepython = python3 # TODO(modred) remove doc/requirements.txt once the openstack-build-sphinx-docs # job is updated. deps = @@ -48,5 +50,13 @@ commands = {toxinidir}/integration-tests/openstackclient-tip.sh {envdir} [testenv:docs] +basepython = python3 deps = -r{toxinidir}/doc/requirements.txt commands = sphinx-build -b html doc/source doc/build/html + +[testenv:lower-constraints] +basepython = python3 +deps = + -c{toxinidir}/lower-constraints.txt + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/requirements.txt