Hello community,
here is the log from the commit of package python-watermark for
openSUSE:Factory checked in at 2020-01-03 17:37:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-watermark (Old)
and /work/SRC/openSUSE:Factory/.python-watermark.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-watermark"
Fri Jan 3 17:37:42 2020 rev:4 rq:760522 version:2.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-watermark/python-watermark.changes
2019-11-29 15:56:01.285002512 +0100
+++
/work/SRC/openSUSE:Factory/.python-watermark.new.6675/python-watermark.changes
2020-01-03 17:37:58.895326379 +0100
@@ -1,0 +2,7 @@
+Fri Jan 3 01:26:01 UTC 2020 - Todd R <[email protected]>
+
+- Update to 2.0.2
+ * Support VERSION attributes, in addition to __version__ attributes.
+- Drop python2 support due to dependencies dropping python2
+
+-------------------------------------------------------------------
Old:
----
watermark-2.0.1.tar.gz
New:
----
watermark-2.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-watermark.spec ++++++
--- /var/tmp/diff_new_pack.OupxFo/_old 2020-01-03 17:37:59.879326884 +0100
+++ /var/tmp/diff_new_pack.OupxFo/_new 2020-01-03 17:37:59.883326887 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-watermark
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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
@@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
Name: python-watermark
-Version: 2.0.1
+Version: 2.0.2
Release: 0
Summary: IPython magic function to psystem information
License: BSD-3-Clause
++++++ watermark-2.0.1.tar.gz -> watermark-2.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/watermark-2.0.1/PKG-INFO new/watermark-2.0.2/PKG-INFO
--- old/watermark-2.0.1/PKG-INFO 2019-10-05 01:12:40.000000000 +0200
+++ new/watermark-2.0.2/PKG-INFO 2019-11-19 16:37:50.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: watermark
-Version: 2.0.1
+Version: 2.0.2
Summary: IPython magic function to print date/time stamps andvarious system
information.
Home-page: https://github.com/rasbt/watermark
Author: Sebastian Raschka
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/watermark-2.0.1/README.md
new/watermark-2.0.2/README.md
--- old/watermark-2.0.1/README.md 2019-10-05 01:12:31.000000000 +0200
+++ new/watermark-2.0.2/README.md 2019-11-19 16:35:55.000000000 +0100
@@ -112,6 +112,10 @@
[[top](#sections)]
+#### v. 2.0.2 (November 19, 2019)
+
+- Support `VERSION` attributes, in addition to `__version__` attributes.
+
#### v. 2.0.1 (October 04, 2019)
- Fix `'sklearn'` vs. `'scikit-learn'` import compatibility.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/watermark-2.0.1/watermark/__init__.py
new/watermark-2.0.2/watermark/__init__.py
--- old/watermark-2.0.1/watermark/__init__.py 2019-10-05 01:12:31.000000000
+0200
+++ new/watermark-2.0.2/watermark/__init__.py 2019-11-19 16:35:31.000000000
+0100
@@ -9,7 +9,7 @@
import sys
-__version__ = '2.0.1'
+__version__ = '2.0.2'
if sys.version_info >= (3, 0):
from watermark.watermark import *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/watermark-2.0.1/watermark/watermark.py
new/watermark-2.0.2/watermark/watermark.py
--- old/watermark-2.0.1/watermark/watermark.py 2019-10-05 01:12:31.000000000
+0200
+++ new/watermark-2.0.2/watermark/watermark.py 2019-11-19 16:35:31.000000000
+0100
@@ -233,7 +233,10 @@
if isinstance(val, types.ModuleType):
if val.__name__ != 'builtins':
try:
- to_print.add((val.__name__, val.__version__))
+ for v in ["VERSION", "__version__"]:
+ if hasattr(val, v):
+ to_print.add((val.__name__, getattr(val, v)))
+ break
except AttributeError as e:
try:
imported = __import__(val.__name__.split('.')[0])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/watermark-2.0.1/watermark.egg-info/PKG-INFO
new/watermark-2.0.2/watermark.egg-info/PKG-INFO
--- old/watermark-2.0.1/watermark.egg-info/PKG-INFO 2019-10-05
01:12:40.000000000 +0200
+++ new/watermark-2.0.2/watermark.egg-info/PKG-INFO 2019-11-19
16:37:50.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: watermark
-Version: 2.0.1
+Version: 2.0.2
Summary: IPython magic function to print date/time stamps andvarious system
information.
Home-page: https://github.com/rasbt/watermark
Author: Sebastian Raschka