Hello community,

here is the log from the commit of package python-click-plugins for 
openSUSE:Factory checked in at 2019-04-18 09:57:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-click-plugins (Old)
 and      /work/SRC/openSUSE:Factory/.python-click-plugins.new.17052 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-click-plugins"

Thu Apr 18 09:57:14 2019 rev:5 rq:695327 version:1.1.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-click-plugins/python-click-plugins.changes    
    2018-12-13 19:41:21.437247966 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-click-plugins.new.17052/python-click-plugins.changes
     2019-04-18 09:57:14.833372346 +0200
@@ -1,0 +2,10 @@
+Sun Apr  7 19:43:09 UTC 2019 - Sebastian Wagner <[email protected]>
+
+- update to version 1.1.1:
+ - Fixed a version mismatch in `click_plugins/__init__.py`  See `1.1`.
+- update to version 1.1:
+ - Fix an issue where a broken command's traceback would not be emitted - 
https://github.com/click-contrib/click-plugins/issues/25
+ - Bump required click version to `click>=4` - 
https://github.com/click-contrib/click-plugins/pull/28
+ - Runs Travis tests for the latest release of click versions 4 -> 7 - 
https://github.com/click-contrib/click-plugins/pull/28
+
+-------------------------------------------------------------------

Old:
----
  click-plugins-1.0.4.tar.gz

New:
----
  click-plugins-1.1.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-click-plugins.spec ++++++
--- /var/tmp/diff_new_pack.i6Fv52/_old  2019-04-18 09:57:15.397372701 +0200
+++ /var/tmp/diff_new_pack.i6Fv52/_new  2019-04-18 09:57:15.397372701 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-click-plugins
 #
-# 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
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without test
 Name:           python-click-plugins
-Version:        1.0.4
+Version:        1.1.1
 Release:        0
 Summary:        An extension for click to register CLI commands via setuptools 
entry-points
 License:        BSD-3-Clause

++++++ click-plugins-1.0.4.tar.gz -> click-plugins-1.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-plugins-1.0.4/CHANGES.md 
new/click-plugins-1.1.1/CHANGES.md
--- old/click-plugins-1.0.4/CHANGES.md  2018-09-16 02:21:37.000000000 +0200
+++ new/click-plugins-1.1.1/CHANGES.md  2019-04-04 06:22:44.000000000 +0200
@@ -1,6 +1,18 @@
 Changelog
 =========
 
+1.1.1 - 2019-04-04
+------------------
+
+- Fixed a version mismatch in `click_plugins/__init__.py`  See `1.1`.
+
+1.1 - 2019-04-04
+----------------
+
+- Fix an issue where a broken command's traceback would not be emitted - 
https://github.com/click-contrib/click-plugins/issues/25
+- Bump required click version to `click>=4` - 
https://github.com/click-contrib/click-plugins/pull/28
+- Runs Travis tests for the latest release of click versions 4 -> 7 - 
https://github.com/click-contrib/click-plugins/pull/28
+
 1.0.4 - 2018-09-15
 ------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-plugins-1.0.4/LICENSE.txt 
new/click-plugins-1.1.1/LICENSE.txt
--- old/click-plugins-1.0.4/LICENSE.txt 2018-09-16 02:21:37.000000000 +0200
+++ new/click-plugins-1.1.1/LICENSE.txt 2019-04-04 05:23:26.000000000 +0200
@@ -1,6 +1,6 @@
 New BSD License
 
-Copyright (c) 2015-2018, Kevin D. Wurster, Sean C. Gillies
+Copyright (c) 2015-2019, 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.4/PKG-INFO 
new/click-plugins-1.1.1/PKG-INFO
--- old/click-plugins-1.0.4/PKG-INFO    2018-09-16 02:23:33.000000000 +0200
+++ new/click-plugins-1.1.1/PKG-INFO    2019-04-04 06:24:14.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: click-plugins
-Version: 1.0.4
+Version: 1.1.1
 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-plugins-1.0.4/click_plugins/__init__.py 
new/click-plugins-1.1.1/click_plugins/__init__.py
--- old/click-plugins-1.0.4/click_plugins/__init__.py   2018-09-16 
02:21:37.000000000 +0200
+++ new/click-plugins-1.1.1/click_plugins/__init__.py   2019-04-04 
06:21:55.000000000 +0200
@@ -24,14 +24,14 @@
 from click_plugins.core import with_plugins
 
 
-__version__ = '1.0.4'
+__version__ = '1.1.1'
 __author__ = 'Kevin Wurster, Sean Gillies'
 __email__ = '[email protected], [email protected]'
 __source__ = 'https://github.com/click-contrib/click-plugins'
 __license__ = '''
 New BSD License
 
-Copyright (c) 2015-2018, Kevin D. Wurster, Sean C. Gillies
+Copyright (c) 2015-2019, 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.4/click_plugins/core.py 
new/click-plugins-1.1.1/click_plugins/core.py
--- old/click-plugins-1.0.4/click_plugins/core.py       2018-09-16 
02:13:47.000000000 +0200
+++ new/click-plugins-1.1.1/click_plugins/core.py       2019-04-04 
05:23:26.000000000 +0200
@@ -87,3 +87,6 @@
 
         click.echo(self.help, color=ctx.color)
         ctx.exit(1)
+
+    def parse_args(self, ctx, args):
+        return args
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-plugins-1.0.4/click_plugins.egg-info/PKG-INFO 
new/click-plugins-1.1.1/click_plugins.egg-info/PKG-INFO
--- old/click-plugins-1.0.4/click_plugins.egg-info/PKG-INFO     2018-09-16 
02:23:33.000000000 +0200
+++ new/click-plugins-1.1.1/click_plugins.egg-info/PKG-INFO     2019-04-04 
06:24:14.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: click-plugins
-Version: 1.0.4
+Version: 1.1.1
 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/click-plugins-1.0.4/click_plugins.egg-info/requires.txt 
new/click-plugins-1.1.1/click_plugins.egg-info/requires.txt
--- old/click-plugins-1.0.4/click_plugins.egg-info/requires.txt 2018-09-16 
02:23:33.000000000 +0200
+++ new/click-plugins-1.1.1/click_plugins.egg-info/requires.txt 2019-04-04 
06:24:14.000000000 +0200
@@ -1,7 +1,7 @@
-click>=3.0
+click>=4.0
 
 [dev]
-pytest>=3
+pytest>=3.6
 pytest-cov
 wheel
 coveralls
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-plugins-1.0.4/setup.py 
new/click-plugins-1.1.1/setup.py
--- old/click-plugins-1.0.4/setup.py    2018-09-16 02:13:50.000000000 +0200
+++ new/click-plugins-1.1.1/setup.py    2019-04-04 06:06:50.000000000 +0200
@@ -51,14 +51,14 @@
                 "via setuptools entry-points.",
     extras_require={
         'dev': [
-            'pytest>=3',
+            'pytest>=3.6',
             'pytest-cov',
             'wheel',
             'coveralls'
         ],
     },
     include_package_data=True,
-    install_requires=['click>=3.0'],
+    install_requires=['click>=4.0'],
     keywords='click plugin setuptools entry-point',
     license="New BSD",
     long_description=long_desc,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-plugins-1.0.4/tests/test_plugins.py 
new/click-plugins-1.1.1/tests/test_plugins.py
--- old/click-plugins-1.0.4/tests/test_plugins.py       2018-09-16 
02:13:50.000000000 +0200
+++ new/click-plugins-1.1.1/tests/test_plugins.py       2019-04-04 
05:23:26.000000000 +0200
@@ -78,23 +78,23 @@
 def test_register_and_run(runner):
 
     result = runner.invoke(good_cli)
-    assert result.exit_code is 0
+    assert result.exit_code == 0
 
     for ep in iter_entry_points('_test_click_plugins.test_plugins'):
         cmd_result = runner.invoke(good_cli, [ep.name, 'something'])
-        assert cmd_result.exit_code is 0
+        assert cmd_result.exit_code == 0
         assert cmd_result.output.strip() == 'passed'
 
 
 def test_broken_register_and_run(runner):
 
     result = runner.invoke(broken_cli)
-    assert result.exit_code is 0
+    assert result.exit_code == 0
     assert u'\U0001F4A9' in result.output or u'\u2020' in result.output
 
     for ep in iter_entry_points('_test_click_plugins.broken_plugins'):
         cmd_result = runner.invoke(broken_cli, [ep.name])
-        assert cmd_result.exit_code is not 0
+        assert cmd_result.exit_code != 0
         assert 'Traceback' in cmd_result.output
 
 
@@ -108,7 +108,7 @@
         pass
 
     result = runner.invoke(good_cli)
-    assert result.exit_code is 0
+    assert result.exit_code == 0
     assert sub_cli.name in result.output
     for ep in iter_entry_points('_test_click_plugins.test_plugins'):
         assert ep.name in result.output
@@ -121,13 +121,13 @@
         pass
 
     result = runner.invoke(good_cli, ['sub-cli-plugins'])
-    assert result.exit_code is 0
+    assert result.exit_code == 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'])
-    assert result.exit_code is 0
+    assert result.exit_code == 0
     assert result.output.strip() == 'passed'
 
 
@@ -138,3 +138,25 @@
         @click.command()
         def cli():
             """Whatever"""
+
+
+def test_broken_register_and_run_with_help(runner):
+    result = runner.invoke(broken_cli)
+    assert result.exit_code == 0
+    assert u'\U0001F4A9' in result.output or u'\u2020' in result.output
+
+    for ep in iter_entry_points('_test_click_plugins.broken_plugins'):
+        cmd_result = runner.invoke(broken_cli, [ep.name, "--help"])
+        assert cmd_result.exit_code != 0
+        assert 'Traceback' in cmd_result.output
+
+
+def test_broken_register_and_run_with_args(runner):
+    result = runner.invoke(broken_cli)
+    assert result.exit_code == 0
+    assert u'\U0001F4A9' in result.output or u'\u2020' in result.output
+
+    for ep in iter_entry_points('_test_click_plugins.broken_plugins'):
+        cmd_result = runner.invoke(broken_cli, [ep.name, "-a", "b"])
+        assert cmd_result.exit_code != 0
+        assert 'Traceback' in cmd_result.output


Reply via email to