New Upstream Release - pyprind

Ready changes

Summary

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

Resulting package

Built on 2023-04-12T05:52 (took 10m19s)

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

Diff

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 e346fb7..a58aec3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pyprind (2.11.3-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 12 Apr 2023 05:43:17 -0000
+
 pyprind (2.11.2-3) unstable; urgency=medium
 
   [ Debian Janitor ]
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

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/python3/dist-packages/PyPrind-2.11.3.egg-info/PKG-INFO
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/PyPrind-2.11.3.egg-info/dependency_links.txt
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/PyPrind-2.11.3.egg-info/top_level.txt

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/python3/dist-packages/PyPrind-2.11.2.egg-info/PKG-INFO
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/PyPrind-2.11.2.egg-info/dependency_links.txt
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/PyPrind-2.11.2.egg-info/top_level.txt

No differences were encountered in the control files

More details

Full run details