Run of fresh-releases for pyprind

Merge these changes:

git pull https://janitor.debian.net/git/pyprind fresh-releases/main
git pull https://janitor.debian.net/git/pyprind fresh-releases/pristine-tar
git pull https://janitor.debian.net/git/pyprind fresh-releases/upstream

Summary

Merged new upstream version: 2.11.3 (was: 2.11.2).

Diff

Branch: main

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0279e3c..123a3b0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,11 @@
+Version 2.11.3
+================
+
+- Fixes and issue where newlines appeared everywhere on certain machines.
 
 Version 2.11.2
 ================
+
 - Fixes issue where new lines are printed upon iterating over a completed progress bar object.
 
 Version 2.11.1
diff --git a/PKG-INFO b/PKG-INFO
index a2dac2c..75337e9 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: PyPrind
-Version: 2.11.2
+Version: 2.11.3
 Summary: Python Progress Bar and Percent Indicator Utility
 Home-page: https://github.com/rasbt/pyprind
 Author: Sebastian Raschka
 Author-email: mail@sebastianraschka.com
 License: BSD 3-Clause
-Description-Content-Type: UNKNOWN
 Description: 
         
         The PyPrind (Python Progress Indicator) module provides a progress
diff --git a/PyPrind.egg-info/PKG-INFO b/PyPrind.egg-info/PKG-INFO
index a2dac2c..75337e9 100644
--- a/PyPrind.egg-info/PKG-INFO
+++ b/PyPrind.egg-info/PKG-INFO
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: PyPrind
-Version: 2.11.2
+Version: 2.11.3
 Summary: Python Progress Bar and Percent Indicator Utility
 Home-page: https://github.com/rasbt/pyprind
 Author: Sebastian Raschka
 Author-email: mail@sebastianraschka.com
 License: BSD 3-Clause
-Description-Content-Type: UNKNOWN
 Description: 
         
         The PyPrind (Python Progress Indicator) module provides a progress
diff --git a/README.md b/README.md
index 7382344..7238651 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,7 @@
 [![Build Status](https://travis-ci.org/rasbt/pyprind.svg?branch=master)](https://travis-ci.org/rasbt/pyprind)
-[![Code Health](https://landscape.io/github/rasbt/pyprind/master/landscape.svg?style=flat)](https://landscape.io/github/rasbt/pyprind/master)
 [![Coverage Status](https://coveralls.io/repos/rasbt/pyprind/badge.svg?branch=master&service=github)](https://coveralls.io/github/rasbt/pyprind?branch=master)
 ![Python 2.7](https://img.shields.io/badge/python-2.7-blue.svg)
-![Python 3.5](https://img.shields.io/badge/python-3.5-blue.svg)
-[![PyPI version](https://badge.fury.io/py/pyprind.svg)](http://badge.fury.io/py/pyprind)
+![Python 3](https://img.shields.io/badge/python-3-blue.svg)
 [![License](https://img.shields.io/badge/license-new%20BSD-blue.svg)](https://github.com/rasbt/pyprind/blob/master/LICENSE.txt)
 
 
@@ -315,14 +313,3 @@ Examples for using the progress bar and percentage indicator objects can be foun
 
 
 
-
-#  Contact
-
-[[back to top](#sections)]
-
-If you have any questions or comments about `PyPrind`, please feel free to contact me via  
-eMail: [mail@sebastianraschka.com](mailto:mail@sebastianraschka.com)  
-or Twitter: [@rasbt](https://twitter.com/rasbt)
-
-
-The `pyprind` module is available on GitHub at [https://github.com/rasbt/pyprind](https://github.com/rasbt/pyprind).
diff --git a/debian/changelog b/debian/changelog
index 476a2fc..0144bf0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-pyprind (2.11.2-3) UNRELEASED; urgency=medium
+pyprind (2.11.3-1) UNRELEASED; urgency=medium
 
   [ Debian Janitor ]
   * Bump debhelper from old 10 to 12.
@@ -14,8 +14,9 @@ pyprind (2.11.2-3) UNRELEASED; urgency=medium
   [ Debian Janitor ]
   * Set upstream metadata fields: Bug-Submit.
   * Bump debhelper from old 12 to 13.
+  * New upstream release.
 
- -- Debian Janitor <janitor@jelmer.uk>  Thu, 12 Dec 2019 15:07:31 +0000
+ -- Debian Janitor <janitor@jelmer.uk>  Sun, 15 May 2022 11:44:52 -0000
 
 pyprind (2.11.2-2) unstable; urgency=medium
 
diff --git a/pyprind/__init__.py b/pyprind/__init__.py
index 9ccc51a..e1ad943 100644
--- a/pyprind/__init__.py
+++ b/pyprind/__init__.py
@@ -1,5 +1,5 @@
 """
-Sebastian Raschka 2014-2017
+Sebastian Raschka 2014-2021
 Python Progress Indicator Utility
 
 Author: Sebastian Raschka <sebastianraschka.com>
@@ -17,4 +17,4 @@ from .generator_factory import prog_percent
 from .generator_factory import prog_bar
 
 
-__version__ = '2.11.2'
+__version__ = '2.11.3'
diff --git a/pyprind/progbar.py b/pyprind/progbar.py
index 5a955ae..e3e20ae 100755
--- a/pyprind/progbar.py
+++ b/pyprind/progbar.py
@@ -72,7 +72,7 @@ class ProgBar(Prog):
 
     def _cache_progress_bar(self, progress):
         remaining = self.bar_width - progress
-        self._cached_output += '0% [{}{}] 100%'.format(self.bar_char * int(progress),
+        self._cached_output += '\r0% [{}{}] 100%'.format(self.bar_char * int(progress),
                                                ' ' * int(remaining))
 
     def _print(self, force_flush=False):
@@ -91,7 +91,7 @@ class ProgBar(Prog):
                 self._cache_eta()
             if self.item_id:
                 self._cache_item_id()
-            self._stream_out('\r%s' % self._cached_output)
+            self._stream_out('%s' % self._cached_output)
             self._stream_flush()
             self._cached_output = ''
         self.last_progress = progress

Branch: pristine-tar

diff --git a/pyprind_2.11.3.orig.tar.gz.delta b/pyprind_2.11.3.orig.tar.gz.delta
new file mode 100644
index 0000000..b6b7fee
Binary files /dev/null and b/pyprind_2.11.3.orig.tar.gz.delta differ
diff --git a/pyprind_2.11.3.orig.tar.gz.id b/pyprind_2.11.3.orig.tar.gz.id
new file mode 100644
index 0000000..59bc116
--- /dev/null
+++ b/pyprind_2.11.3.orig.tar.gz.id
@@ -0,0 +1 @@
+40facb9025c31303962a595c64655e35c1ae22e5

Branch: upstream

Tag: upstream/2.11.3
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ae1604d..123a3b0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,12 @@
+Version 2.11.3
+================
+
+- Fixes and issue where newlines appeared everywhere on certain machines.
+
+Version 2.11.2
+================
+
+- Fixes issue where new lines are printed upon iterating over a completed progress bar object.
 
 Version 2.11.1
 ================
diff --git a/PKG-INFO b/PKG-INFO
index 9d8c95a..75337e9 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: PyPrind
-Version: 2.11.1
+Version: 2.11.3
 Summary: Python Progress Bar and Percent Indicator Utility
 Home-page: https://github.com/rasbt/pyprind
 Author: Sebastian Raschka
diff --git a/PyPrind.egg-info/PKG-INFO b/PyPrind.egg-info/PKG-INFO
index 9d8c95a..75337e9 100644
--- a/PyPrind.egg-info/PKG-INFO
+++ b/PyPrind.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: PyPrind
-Version: 2.11.1
+Version: 2.11.3
 Summary: Python Progress Bar and Percent Indicator Utility
 Home-page: https://github.com/rasbt/pyprind
 Author: Sebastian Raschka
diff --git a/README.md b/README.md
index 7382344..7238651 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,7 @@
 [![Build Status](https://travis-ci.org/rasbt/pyprind.svg?branch=master)](https://travis-ci.org/rasbt/pyprind)
-[![Code Health](https://landscape.io/github/rasbt/pyprind/master/landscape.svg?style=flat)](https://landscape.io/github/rasbt/pyprind/master)
 [![Coverage Status](https://coveralls.io/repos/rasbt/pyprind/badge.svg?branch=master&service=github)](https://coveralls.io/github/rasbt/pyprind?branch=master)
 ![Python 2.7](https://img.shields.io/badge/python-2.7-blue.svg)
-![Python 3.5](https://img.shields.io/badge/python-3.5-blue.svg)
-[![PyPI version](https://badge.fury.io/py/pyprind.svg)](http://badge.fury.io/py/pyprind)
+![Python 3](https://img.shields.io/badge/python-3-blue.svg)
 [![License](https://img.shields.io/badge/license-new%20BSD-blue.svg)](https://github.com/rasbt/pyprind/blob/master/LICENSE.txt)
 
 
@@ -315,14 +313,3 @@ Examples for using the progress bar and percentage indicator objects can be foun
 
 
 
-
-#  Contact
-
-[[back to top](#sections)]
-
-If you have any questions or comments about `PyPrind`, please feel free to contact me via  
-eMail: [mail@sebastianraschka.com](mailto:mail@sebastianraschka.com)  
-or Twitter: [@rasbt](https://twitter.com/rasbt)
-
-
-The `pyprind` module is available on GitHub at [https://github.com/rasbt/pyprind](https://github.com/rasbt/pyprind).
diff --git a/pyprind/__init__.py b/pyprind/__init__.py
index ef454f9..e1ad943 100644
--- a/pyprind/__init__.py
+++ b/pyprind/__init__.py
@@ -1,5 +1,5 @@
 """
-Sebastian Raschka 2014-2017
+Sebastian Raschka 2014-2021
 Python Progress Indicator Utility
 
 Author: Sebastian Raschka <sebastianraschka.com>
@@ -17,4 +17,4 @@ from .generator_factory import prog_percent
 from .generator_factory import prog_bar
 
 
-__version__ = '2.11.1'
+__version__ = '2.11.3'
diff --git a/pyprind/prog_class.py b/pyprind/prog_class.py
index 6047e88..41a93ad 100644
--- a/pyprind/prog_class.py
+++ b/pyprind/prog_class.py
@@ -148,7 +148,7 @@ class Prog():
 
     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 --git a/pyprind/progbar.py b/pyprind/progbar.py
index 5a955ae..e3e20ae 100755
--- a/pyprind/progbar.py
+++ b/pyprind/progbar.py
@@ -72,7 +72,7 @@ class ProgBar(Prog):
 
     def _cache_progress_bar(self, progress):
         remaining = self.bar_width - progress
-        self._cached_output += '0% [{}{}] 100%'.format(self.bar_char * int(progress),
+        self._cached_output += '\r0% [{}{}] 100%'.format(self.bar_char * int(progress),
                                                ' ' * int(remaining))
 
     def _print(self, force_flush=False):
@@ -91,7 +91,7 @@ class ProgBar(Prog):
                 self._cache_eta()
             if self.item_id:
                 self._cache_item_id()
-            self._stream_out('\r%s' % self._cached_output)
+            self._stream_out('%s' % self._cached_output)
             self._stream_flush()
             self._cached_output = ''
         self.last_progress = progress
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 

Publish Blockers

  • ☑ run was successful
  • ☑ package has not been removed from the archive
  • ☑ command has not changed
  • ☒ not yet reviewed, but review needed
  • ☑ 0 publish attempts so far. not currently attempting to back off
  • ☒ merge proposals for the package maintainer are currently being rate-limited (open: 1135, max open: 200)
  • ☑ change set 3ccb9a7e-68a8-4ef4-9df2-1e2ca7186216 is ready

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-releases python3-pyprind

Lintian Result

Full worker log Full build log