commit python-click-plugins for openSUSE:Factory
Hello community, here is the log from the commit of package python-click-plugins for openSUSE:Factory checked in at 2018-09-25 15:43:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-click-plugins (Old) and /work/SRC/openSUSE:Factory/.python-click-plugins.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-click-plugins" Tue Sep 25 15:43:47 2018 rev:3 rq:637767 version:1.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-click-plugins/python-click-plugins.changes 2018-03-04 12:52:48.863130902 +0100 +++ /work/SRC/openSUSE:Factory/.python-click-plugins.new/python-click-plugins.changes 2018-09-25 15:43:48.181202034 +0200 @@ -1,0 +2,6 @@ +Mon Sep 17 20:00:17 UTC 2018 - Sebastian Wagner <sebix+novell.com@sebix.at> + +- update to version 1.0.4: + - Preemptive fix for a breaking change in Click v7. CLI command names generated from functions with underscores will have dashes instead of underscores. See https://github.com/click-contrib/click-plugins/issues/19. + +------------------------------------------------------------------- Old: ---- click-plugins-1.0.3.tar.gz New: ---- click-plugins-1.0.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-click-plugins.spec ++++++ --- /var/tmp/diff_new_pack.wHqzuN/_old 2018-09-25 15:43:48.641201542 +0200 +++ /var/tmp/diff_new_pack.wHqzuN/_new 2018-09-25 15:43:48.649201535 +0200 @@ -12,14 +12,14 @@ # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-click-plugins -Version: 1.0.3 +Version: 1.0.4 Release: 0 Summary: An extension for click to register CLI commands via setuptools entry-points License: BSD-3-Clause ++++++ click-plugins-1.0.3.tar.gz -> click-plugins-1.0.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-plugins-1.0.3/CHANGES.md new/click-plugins-1.0.4/CHANGES.md --- old/click-plugins-1.0.3/CHANGES.md 2016-01-05 19:42:59.000000000 +0100 +++ new/click-plugins-1.0.4/CHANGES.md 2018-09-16 02:21:37.000000000 +0200 @@ -1,6 +1,12 @@ Changelog ========= +1.0.4 - 2018-09-15 +------------------ + +- Preemptive fix for a breaking change in Click v7. CLI command names generated from functions with underscores will have dashes instead of underscores. See https://github.com/click-contrib/click-plugins/issues/19. + + 1.0.3 - 2016-01-05 ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-plugins-1.0.3/LICENSE.txt new/click-plugins-1.0.4/LICENSE.txt --- old/click-plugins-1.0.3/LICENSE.txt 2016-01-05 19:44:12.000000000 +0100 +++ new/click-plugins-1.0.4/LICENSE.txt 2018-09-16 02:21:37.000000000 +0200 @@ -1,6 +1,6 @@ New BSD License -Copyright (c) 2015-2016, Kevin D. Wurster, Sean C. Gillies +Copyright (c) 2015-2018, Kevin D. Wurster, Sean C. Gillies All rights reserved. Redistribution and use in source and binary forms, with or without diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-plugins-1.0.3/PKG-INFO new/click-plugins-1.0.4/PKG-INFO --- old/click-plugins-1.0.3/PKG-INFO 2016-01-05 19:46:39.000000000 +0100 +++ new/click-plugins-1.0.4/PKG-INFO 2018-09-16 02:23:33.000000000 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: click-plugins -Version: 1.0.3 +Version: 1.0.4 Summary: An extension module for click to enable registering CLI commands via setuptools entry-points. Home-page: https://github.com/click-contrib/click-plugins Author: Kevin Wurster, Sean Gillies @@ -38,7 +38,7 @@ Enabling Plugins ---------------- - For a more detailed example see the `examples <https://github.com/click-contrib/click-plugins/tree/master/examples>`_ section. + For a more detailed example see the `examples <https://github.com/click-contrib/click-plugins/tree/master/example>`_ section. The only requirement is decorating ``click.group()`` with ``click_plugins.with_plugins()`` which handles attaching external commands and groups. In this case the core CLI developer @@ -105,7 +105,7 @@ ------------------------------- Opening a CLI to plugins encourages other developers to independently extend - functionality independently but their is no guarantee these new features will + functionality independently but there is no guarantee these new features will be "on brand". Plugin developers are almost certainly already using features in the core package the CLI belongs to so defining commonly used arguments and options in one place lets plugin developers reuse these flags to produce a more @@ -173,7 +173,7 @@ $ git clone https://github.com/click-contrib/click-plugins.git $ cd click-plugins $ pip install -e .\[dev\] - $ py.test tests --cov click_plugins --cov-report term-missing + $ pytest tests --cov click_plugins --cov-report term-missing Changelog @@ -200,3 +200,4 @@ Classifier: License :: OSI Approved :: BSD License Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 +Provides-Extra: dev diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-plugins-1.0.3/README.rst new/click-plugins-1.0.4/README.rst --- old/click-plugins-1.0.3/README.rst 2016-01-05 19:42:59.000000000 +0100 +++ new/click-plugins-1.0.4/README.rst 2018-09-16 02:13:50.000000000 +0200 @@ -30,7 +30,7 @@ Enabling Plugins ---------------- -For a more detailed example see the `examples <https://github.com/click-contrib/click-plugins/tree/master/examples>`_ section. +For a more detailed example see the `examples <https://github.com/click-contrib/click-plugins/tree/master/example>`_ section. The only requirement is decorating ``click.group()`` with ``click_plugins.with_plugins()`` which handles attaching external commands and groups. In this case the core CLI developer @@ -97,7 +97,7 @@ ------------------------------- Opening a CLI to plugins encourages other developers to independently extend -functionality independently but their is no guarantee these new features will +functionality independently but there is no guarantee these new features will be "on brand". Plugin developers are almost certainly already using features in the core package the CLI belongs to so defining commonly used arguments and options in one place lets plugin developers reuse these flags to produce a more @@ -165,7 +165,7 @@ $ git clone https://github.com/click-contrib/click-plugins.git $ cd click-plugins $ pip install -e .\[dev\] - $ py.test tests --cov click_plugins --cov-report term-missing + $ pytest tests --cov click_plugins --cov-report term-missing Changelog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-plugins-1.0.3/click_plugins/__init__.py new/click-plugins-1.0.4/click_plugins/__init__.py --- old/click-plugins-1.0.3/click_plugins/__init__.py 2016-01-05 19:43:59.000000000 +0100 +++ new/click-plugins-1.0.4/click_plugins/__init__.py 2018-09-16 02:21:37.000000000 +0200 @@ -24,14 +24,14 @@ from click_plugins.core import with_plugins -__version__ = '1.0.3' +__version__ = '1.0.4' __author__ = 'Kevin Wurster, Sean Gillies' __email__ = 'wursterk@gmail.com, sean.gillies@gmail.com' __source__ = 'https://github.com/click-contrib/click-plugins' __license__ = ''' New BSD License -Copyright (c) 2015-2016, Kevin D. Wurster, Sean C. Gillies +Copyright (c) 2015-2018, Kevin D. Wurster, Sean C. Gillies All rights reserved. Redistribution and use in source and binary forms, with or without diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-plugins-1.0.3/click_plugins.egg-info/PKG-INFO new/click-plugins-1.0.4/click_plugins.egg-info/PKG-INFO --- old/click-plugins-1.0.3/click_plugins.egg-info/PKG-INFO 2016-01-05 19:46:39.000000000 +0100 +++ new/click-plugins-1.0.4/click_plugins.egg-info/PKG-INFO 2018-09-16 02:23:33.000000000 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: click-plugins -Version: 1.0.3 +Version: 1.0.4 Summary: An extension module for click to enable registering CLI commands via setuptools entry-points. Home-page: https://github.com/click-contrib/click-plugins Author: Kevin Wurster, Sean Gillies @@ -38,7 +38,7 @@ Enabling Plugins ---------------- - For a more detailed example see the `examples <https://github.com/click-contrib/click-plugins/tree/master/examples>`_ section. + For a more detailed example see the `examples <https://github.com/click-contrib/click-plugins/tree/master/example>`_ section. The only requirement is decorating ``click.group()`` with ``click_plugins.with_plugins()`` which handles attaching external commands and groups. In this case the core CLI developer @@ -105,7 +105,7 @@ ------------------------------- Opening a CLI to plugins encourages other developers to independently extend - functionality independently but their is no guarantee these new features will + functionality independently but there is no guarantee these new features will be "on brand". Plugin developers are almost certainly already using features in the core package the CLI belongs to so defining commonly used arguments and options in one place lets plugin developers reuse these flags to produce a more @@ -173,7 +173,7 @@ $ git clone https://github.com/click-contrib/click-plugins.git $ cd click-plugins $ pip install -e .\[dev\] - $ py.test tests --cov click_plugins --cov-report term-missing + $ pytest tests --cov click_plugins --cov-report term-missing Changelog @@ -200,3 +200,4 @@ Classifier: License :: OSI Approved :: BSD License Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 +Provides-Extra: dev diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-plugins-1.0.3/click_plugins.egg-info/requires.txt new/click-plugins-1.0.4/click_plugins.egg-info/requires.txt --- old/click-plugins-1.0.3/click_plugins.egg-info/requires.txt 2016-01-05 19:46:39.000000000 +0100 +++ new/click-plugins-1.0.4/click_plugins.egg-info/requires.txt 2018-09-16 02:23:33.000000000 +0200 @@ -1,7 +1,7 @@ click>=3.0 [dev] -pytest +pytest>=3 pytest-cov wheel coveralls diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-plugins-1.0.3/setup.cfg new/click-plugins-1.0.4/setup.cfg --- old/click-plugins-1.0.3/setup.cfg 2016-01-05 19:46:39.000000000 +0100 +++ new/click-plugins-1.0.4/setup.cfg 2018-09-16 02:23:33.000000000 +0200 @@ -2,7 +2,6 @@ universal = 1 [egg_info] -tag_date = 0 -tag_svn_revision = 0 tag_build = +tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-plugins-1.0.3/setup.py new/click-plugins-1.0.4/setup.py --- old/click-plugins-1.0.3/setup.py 2016-01-05 19:37:00.000000000 +0100 +++ new/click-plugins-1.0.4/setup.py 2018-09-16 02:13:50.000000000 +0200 @@ -51,7 +51,7 @@ "via setuptools entry-points.", extras_require={ 'dev': [ - 'pytest', + 'pytest>=3', 'pytest-cov', 'wheel', 'coveralls' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/click-plugins-1.0.3/tests/test_plugins.py new/click-plugins-1.0.4/tests/test_plugins.py --- old/click-plugins-1.0.3/tests/test_plugins.py 2015-08-20 16:13:19.000000000 +0200 +++ new/click-plugins-1.0.4/tests/test_plugins.py 2018-09-16 02:13:50.000000000 +0200 @@ -115,18 +115,18 @@ # Same as above but the sub-group has plugins @with_plugins(plugins=iter_entry_points('_test_click_plugins.test_plugins')) - @good_cli.group() + @good_cli.group(name='sub-cli-plugins') def sub_cli_plugins(): """Sub CLI with plugins.""" pass - result = runner.invoke(good_cli, ['sub_cli_plugins']) + result = runner.invoke(good_cli, ['sub-cli-plugins']) assert result.exit_code is 0 for ep in iter_entry_points('_test_click_plugins.test_plugins'): assert ep.name in result.output # Execute one of the sub-group's commands - result = runner.invoke(good_cli, ['sub_cli_plugins', 'cmd1', 'something']) + result = runner.invoke(good_cli, ['sub-cli-plugins', 'cmd1', 'something']) assert result.exit_code is 0 assert result.output.strip() == 'passed'
participants (1)
-
root