Hello community, here is the log from the commit of package python-jupyter_watermark for openSUSE:Factory checked in at 2018-12-24 11:48:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jupyter_watermark (Old) and /work/SRC/openSUSE:Factory/.python-jupyter_watermark.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-jupyter_watermark" Mon Dec 24 11:48:10 2018 rev:3 rq:660771 version:1.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jupyter_watermark/python-jupyter_watermark.changes 2018-09-11 17:16:46.175458802 +0200 +++ /work/SRC/openSUSE:Factory/.python-jupyter_watermark.new.28833/python-jupyter_watermark.changes 2018-12-24 11:48:11.929091325 +0100 @@ -1,0 +2,7 @@ +Sat Dec 22 07:17:53 UTC 2018 - Todd R <toddrme2178@gmail.com> + +- Update to 1.7.0 + * Show modules that are not installed + * include license file in wheels dist + +------------------------------------------------------------------- Old: ---- watermark-1.6.1.tar.gz New: ---- watermark-1.7.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jupyter_watermark.spec ++++++ --- /var/tmp/diff_new_pack.uTZm7E/_old 2018-12-24 11:48:12.505090819 +0100 +++ /var/tmp/diff_new_pack.uTZm7E/_new 2018-12-24 11:48:12.505090819 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_with test Name: python-jupyter_watermark -Version: 1.6.1 +Version: 1.7.0 Release: 0 License: BSD-3-Clause Summary: IPython magic function to psystem information ++++++ watermark-1.6.1.tar.gz -> watermark-1.7.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/watermark-1.6.1/PKG-INFO new/watermark-1.7.0/PKG-INFO --- old/watermark-1.6.1/PKG-INFO 2018-06-10 17:52:25.000000000 +0200 +++ new/watermark-1.7.0/PKG-INFO 2018-10-13 18:52:46.000000000 +0200 @@ -1,12 +1,11 @@ -Metadata-Version: 1.0 +Metadata-Version: 1.1 Name: watermark -Version: 1.6.1 +Version: 1.7.0 Summary: IPython magic function to print date/time stamps andvarious system information. Home-page: https://github.com/rasbt/watermark Author: Sebastian Raschka Author-email: mail@sebastianraschka.com License: newBSD -Description-Content-Type: UNKNOWN Description: An IPython magic extension for printing date and time stamps, version numbers, and hardware information. @@ -23,3 +22,15 @@ https://github.com/rasbt/watermark/blob/master/README.md Platform: UNKNOWN +Classifier: Development Status :: 5 - Production/Stable +Classifier: Framework :: IPython +Classifier: Intended Audience :: Developers +Classifier: Intended Audience :: Science/Research +Classifier: License :: OSI Approved :: BSD License +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.4 +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/watermark-1.6.1/README.md new/watermark-1.7.0/README.md --- old/watermark-1.6.1/README.md 2018-06-10 17:46:45.000000000 +0200 +++ new/watermark-1.7.0/README.md 2018-10-13 18:52:36.000000000 +0200 @@ -112,20 +112,27 @@ [[top](#sections)] -#### v. 1.6.1 (Jun 10, 2018) +#### v. 1.7.0 (October 13, 2018) + +(Via contribution by [James Myatt](https://github.com/jamesmyatt)) + +- Shows "not installed" for version of packages/modules that cannot be imported. +- Shows "unknown" for version of packages/modules when version attribute cannot be found. +- Add Python 3.6 and 3.7 to Travis CI builds. +- Add classifiers to setuptools configuration. + +#### v. 1.6.1 (June 10, 2018) - Now also includes the LICENSE file in the Python Wheels distribution -#### v. 1.6.0 (Jan 18, 2018) +#### v. 1.6.0 (Jan uary18, 2018) - Adds a new `-b`/`--gitbranch` parameter that prints the current Git branch. - -#### v. 1.5.0 (Aug 27, 2017) +#### v. 1.5.0 (August 27, 2017) - Adds a new `-iv`/ `--iversions` parameter that prints the package names and version numbers of all packages that were previously imported in the current Python session. (Via contribution by [Aziz Alto](https://github.com/iamaziz)) - #### v. 1.4.0 (April 18, 2017) - Adds a new `-r`/ `--gitrepo` parameter that returns the URL of Git remote name "origin". (Via contribution by [Lucy Park](https://github.com/e9t)) @@ -152,18 +159,22 @@ - Removed the deprecated the %install_ext magic so that watermark can now be installed as a regular python package via `pip` (Via contribution by [Peter Bull](https://github.com/pjbull)) -#### v. 1.2.3 (Jan 29, 2016) +#### v. 1.2.3 (January 29, 2016) + - Changed date format to the unambiguous ISO-8601 format - Ditched the deprecated %install_ext function and made watermark a proper Python package - Released the new version under a more permissive newBSD [license](./LICENSE) -#### v. 1.2.2 (Jun 17, 2015) +#### v. 1.2.2 (June 17, 2015) + - Changed the default date-format of `-d`, `--date` to MM/DD/YYYY, the format DD/MM/YYYY can be used via the shortcut `-e`, `--eurodate`. -#### v. 1.2.1 (Mar 3, 2015) +#### v. 1.2.1 (March 3, 2015) + - Small bugfix to allow custom time string formatting. -#### v. 1.2.0 (Oct 01, 2014) +#### v. 1.2.0 (October 1, 2014) + - `--watermark` command added to print the current version of watermark. - Print author name on a separate line - Fixed bug that day takes the same value as the minute if the `-n` flag is used. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/watermark-1.6.1/setup.cfg new/watermark-1.7.0/setup.cfg --- old/watermark-1.6.1/setup.cfg 2018-06-10 17:52:25.000000000 +0200 +++ new/watermark-1.7.0/setup.cfg 2018-10-13 18:52:46.000000000 +0200 @@ -1,5 +1,18 @@ [metadata] license_file = LICENSE +classifiers = + Development Status :: 5 - Production/Stable + Framework :: IPython + Intended Audience :: Developers + Intended Audience :: Science/Research + License :: OSI Approved :: BSD License + Programming Language :: Python :: 2 + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.4 + Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 [egg_info] tag_build = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/watermark-1.6.1/watermark/__init__.py new/watermark-1.7.0/watermark/__init__.py --- old/watermark-1.6.1/watermark/__init__.py 2018-06-10 17:52:19.000000000 +0200 +++ new/watermark-1.7.0/watermark/__init__.py 2018-10-13 18:52:36.000000000 +0200 @@ -9,7 +9,7 @@ import sys -__version__ = '1.6.1' +__version__ = '1.7.0' if sys.version_info >= (3, 0): from watermark.watermark import * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/watermark-1.6.1/watermark/watermark.py new/watermark-1.7.0/watermark/watermark.py --- old/watermark-1.6.1/watermark/watermark.py 2018-01-19 03:34:37.000000000 +0100 +++ new/watermark-1.7.0/watermark/watermark.py 2018-10-13 18:52:36.000000000 +0200 @@ -146,25 +146,28 @@ for p in packages: if p == 'scikit-learn': - imported = __import__('sklearn') + p = 'sklearn' warnings.simplefilter('always', DeprecationWarning) warnings.warn("Importing scikit-learn as `scikit-learn` has" " been depracated and will not be supported" " anymore in v1.7.0. Please use the package" " name `sklearn` instead.", DeprecationWarning) - else: - imported = __import__(p) try: - ver = imported.__version__ - except AttributeError: + imported = __import__(p) + except ImportError: + ver = 'not installed' + else: try: - ver = imported.version + ver = imported.__version__ except AttributeError: try: - ver = imported.version_info + ver = imported.version except AttributeError: - ver = 'n\a' + try: + ver = imported.version_info + except AttributeError: + ver = 'unknown' self.out += '\n%s %s' % (p, ver) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/watermark-1.6.1/watermark.egg-info/PKG-INFO new/watermark-1.7.0/watermark.egg-info/PKG-INFO --- old/watermark-1.6.1/watermark.egg-info/PKG-INFO 2018-06-10 17:52:25.000000000 +0200 +++ new/watermark-1.7.0/watermark.egg-info/PKG-INFO 2018-10-13 18:52:46.000000000 +0200 @@ -1,12 +1,11 @@ -Metadata-Version: 1.0 +Metadata-Version: 1.1 Name: watermark -Version: 1.6.1 +Version: 1.7.0 Summary: IPython magic function to print date/time stamps andvarious system information. Home-page: https://github.com/rasbt/watermark Author: Sebastian Raschka Author-email: mail@sebastianraschka.com License: newBSD -Description-Content-Type: UNKNOWN Description: An IPython magic extension for printing date and time stamps, version numbers, and hardware information. @@ -23,3 +22,15 @@ https://github.com/rasbt/watermark/blob/master/README.md Platform: UNKNOWN +Classifier: Development Status :: 5 - Production/Stable +Classifier: Framework :: IPython +Classifier: Intended Audience :: Developers +Classifier: Intended Audience :: Science/Research +Classifier: License :: OSI Approved :: BSD License +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7