Hello community,

here is the log from the commit of package python-PyPrind for openSUSE:Factory 
checked in at 2019-03-12 09:53:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyPrind (Old)
 and      /work/SRC/openSUSE:Factory/.python-PyPrind.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PyPrind"

Tue Mar 12 09:53:17 2019 rev:2 rq:682062 version:2.11.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyPrind/python-PyPrind.changes    
2017-08-04 11:59:21.207852889 +0200
+++ /work/SRC/openSUSE:Factory/.python-PyPrind.new.28833/python-PyPrind.changes 
2019-03-12 09:53:19.671539100 +0100
@@ -1,0 +2,7 @@
+Wed Mar  6 09:17:35 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 2.11.2:
+  * Fixes issue where new lines are printed upon iterating over a completed 
progress bar object.
+- Run tests
+
+-------------------------------------------------------------------

Old:
----
  PyPrind-2.11.1.tar.gz

New:
----
  PyPrind-2.11.2.tar.gz

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

Other differences:
------------------
++++++ python-PyPrind.spec ++++++
--- /var/tmp/diff_new_pack.hFCXVX/_old  2019-03-12 09:53:20.603538914 +0100
+++ /var/tmp/diff_new_pack.hFCXVX/_new  2019-03-12 09:53:20.603538914 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PyPrind
 #
-# Copyright (c) 2017 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,25 +12,25 @@
 # 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-%{**}}
 Name:           python-PyPrind
-Version:        2.11.1
+Version:        2.11.2
 Release:        0
 Summary:        Python progress bar and percent indicator utility
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Url:            https://github.com/rasbt/pyprind
+URL:            https://github.com/rasbt/pyprind
 Source0:        
https://files.pythonhosted.org/packages/source/P/PyPrind/PyPrind-%{version}.tar.gz
-BuildRequires:  %{python_module psutil}
+BuildRequires:  %{python_module psutil >= 3.2.0}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Requires:       python-psutil >= 3.2.0
 BuildArch:      noarch
 %python_subpackages
 
@@ -53,10 +53,9 @@
 %python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python 
%{_bindir}/py.test -v tests
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix} -v tests
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc README.md
 %{python_sitelib}/*
 

++++++ PyPrind-2.11.1.tar.gz -> PyPrind-2.11.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyPrind-2.11.1/CHANGELOG.md 
new/PyPrind-2.11.2/CHANGELOG.md
--- old/PyPrind-2.11.1/CHANGELOG.md     2017-05-05 02:07:21.000000000 +0200
+++ new/PyPrind-2.11.2/CHANGELOG.md     2018-01-31 21:12:08.000000000 +0100
@@ -1,4 +1,8 @@
 
+Version 2.11.2
+================
+- Fixes issue where new lines are printed upon iterating over a completed 
progress bar object.
+
 Version 2.11.1
 ================
 - Flushes both `stdout` and `stderr` prior to `ProgressBar` initialization to 
avoid cluttering environments with previously cached print statements.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyPrind-2.11.1/PKG-INFO new/PyPrind-2.11.2/PKG-INFO
--- old/PyPrind-2.11.1/PKG-INFO 2017-05-05 02:10:55.000000000 +0200
+++ new/PyPrind-2.11.2/PKG-INFO 2018-01-31 21:15:29.000000000 +0100
@@ -1,11 +1,12 @@
 Metadata-Version: 1.1
 Name: PyPrind
-Version: 2.11.1
+Version: 2.11.2
 Summary: Python Progress Bar and Percent Indicator Utility
 Home-page: https://github.com/rasbt/pyprind
 Author: Sebastian Raschka
 Author-email: [email protected]
 License: BSD 3-Clause
+Description-Content-Type: UNKNOWN
 Description: 
         
         The PyPrind (Python Progress Indicator) module provides a progress
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyPrind-2.11.1/PyPrind.egg-info/PKG-INFO 
new/PyPrind-2.11.2/PyPrind.egg-info/PKG-INFO
--- old/PyPrind-2.11.1/PyPrind.egg-info/PKG-INFO        2017-05-05 
02:10:55.000000000 +0200
+++ new/PyPrind-2.11.2/PyPrind.egg-info/PKG-INFO        2018-01-31 
21:15:29.000000000 +0100
@@ -1,11 +1,12 @@
 Metadata-Version: 1.1
 Name: PyPrind
-Version: 2.11.1
+Version: 2.11.2
 Summary: Python Progress Bar and Percent Indicator Utility
 Home-page: https://github.com/rasbt/pyprind
 Author: Sebastian Raschka
 Author-email: [email protected]
 License: BSD 3-Clause
+Description-Content-Type: UNKNOWN
 Description: 
         
         The PyPrind (Python Progress Indicator) module provides a progress
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyPrind-2.11.1/pyprind/__init__.py 
new/PyPrind-2.11.2/pyprind/__init__.py
--- old/PyPrind-2.11.1/pyprind/__init__.py      2017-05-05 02:07:47.000000000 
+0200
+++ new/PyPrind-2.11.2/pyprind/__init__.py      2018-01-31 21:11:12.000000000 
+0100
@@ -17,4 +17,4 @@
 from .generator_factory import prog_bar
 
 
-__version__ = '2.11.1'
+__version__ = '2.11.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyPrind-2.11.1/pyprind/prog_class.py 
new/PyPrind-2.11.2/pyprind/prog_class.py
--- old/PyPrind-2.11.1/pyprind/prog_class.py    2017-05-05 02:10:11.000000000 
+0200
+++ new/PyPrind-2.11.2/pyprind/prog_class.py    2018-01-31 21:08:31.000000000 
+0100
@@ -148,7 +148,7 @@
 
     def _finish(self):
         """ Determines if maximum number of iterations (seed) is reached. """
-        if self.cnt >= self.max_iter:
+        if self.active and self.cnt >= self.max_iter:
             self.total_time = self._elapsed()
             self.end = time.time()
             self.last_progress -= 1  # to force a refreshed _print()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyPrind-2.11.1/setup.cfg new/PyPrind-2.11.2/setup.cfg
--- old/PyPrind-2.11.1/setup.cfg        2017-05-05 02:10:55.000000000 +0200
+++ new/PyPrind-2.11.2/setup.cfg        2018-01-31 21:15:29.000000000 +0100
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 


Reply via email to