Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-tqdm for openSUSE:Factory 
checked in at 2021-07-25 20:09:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tqdm (Old)
 and      /work/SRC/openSUSE:Factory/.python-tqdm.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tqdm"

Sun Jul 25 20:09:07 2021 rev:45 rq:907710 version:4.61.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tqdm/python-tqdm.changes  2021-07-10 
22:54:14.183881767 +0200
+++ /work/SRC/openSUSE:Factory/.python-tqdm.new.1899/python-tqdm.changes        
2021-07-25 20:09:11.219448793 +0200
@@ -1,0 +2,12 @@
+Thu Jul 22 01:29:29 UTC 2021 - Arun Persaud <a...@gmx.de>
+
+- update to version 4.61.2:
+  * install colorama on Windows (#1139, #454)
+  * add telegram support for leave=False (#1189)
+  * support pandas==1.3.0 (#1199)
+  * fix keras potential AttributeError (#1184 <- #1183)
+  * fix py3.10 asyncio tests (#1176)
+  * flush stdout/err before first render (#1177)
+  * misc minor build & test framework updates (#1180)
+
+-------------------------------------------------------------------

Old:
----
  tqdm-4.61.1.tar.gz

New:
----
  tqdm-4.61.2.tar.gz

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

Other differences:
------------------
++++++ python-tqdm.spec ++++++
--- /var/tmp/diff_new_pack.0TOBLV/_old  2021-07-25 20:09:11.723448231 +0200
+++ /var/tmp/diff_new_pack.0TOBLV/_new  2021-07-25 20:09:11.723448231 +0200
@@ -28,7 +28,7 @@
 %bcond_with test
 %endif
 Name:           python-tqdm%{pkg_suffix}
-Version:        4.61.1
+Version:        4.61.2
 Release:        0
 Summary:        An extensible progress meter
 License:        MIT AND MPL-2.0

++++++ tqdm-4.61.1.tar.gz -> tqdm-4.61.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.61.1/DEMO.ipynb new/tqdm-4.61.2/DEMO.ipynb
--- old/tqdm-4.61.1/DEMO.ipynb  2021-06-12 18:13:38.000000000 +0200
+++ new/tqdm-4.61.2/DEMO.ipynb  2021-07-06 08:51:01.000000000 +0200
@@ -58,7 +58,7 @@
    "cell_type": "markdown",
    "metadata": {},
    "source": [
-    
"![Screenshot](https://img.tqdm.ml/tqdm.gif)|[![Video](https://img.tqdm.ml/video.jpg)](https://tqdm.github.io/video)
 
[![Slides](https://img.tqdm.ml/slides.jpg)](https://tqdm.github.io/PyData2019/slides.html)\n",
+    
"![Screenshot](https://img.tqdm.ml/tqdm.gif)|[![Video](https://img.tqdm.ml/video.jpg)](https://tqdm.github.io/video)
 
[![Slides](https://img.tqdm.ml/slides.jpg)](https://tqdm.github.io/PyData2019/slides.html)
 [![Merch](https://img.tqdm.ml/merch.jpg)](https://tqdm.github.io/merch)\n",
     "-|-\n",
     "\n",
     "It can also be executed as a module with pipes:"
@@ -273,7 +273,7 @@
    "metadata": {},
    "outputs": [],
    "source": [
-    "! find . -name '*.py' -type f -exec cat \\{} \\; | tqdm --unit loc 
--unit_scale --total 4104300 >> /dev/null"
+    "! find . -name '*.py' -type f -exec cat \\{} \\; | tqdm --unit loc 
--unit-scale --total 4104300 --null"
    ]
   },
   {
@@ -472,9 +472,6 @@
    "cell_type": "markdown",
    "metadata": {},
    "source": [
-    "On Windows [colorama](https://github.com/tartley/colorama) will be 
used\n",
-    "if available to keep nested bars on their respective lines.\n",
-    "\n",
     "For manual control over positioning (e.g. for multi-processing use),\n",
     "you may specify `position=n` where `n=0` for the outermost bar, `n=1`\n",
     "for the next, and so on. However, it's best to check if tqdm can work\n",
@@ -702,9 +699,9 @@
     "\n",
     "### Keras Integration\n",
     "\n",
-    "```python\n",
     "A `keras` callback is also available:\n",
     "\n",
+    "```python\n",
     "from tqdm.keras import TqdmCallback\n",
     "\n",
     "...\n",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.61.1/PKG-INFO new/tqdm-4.61.2/PKG-INFO
--- old/tqdm-4.61.1/PKG-INFO    2021-06-12 18:13:56.619310000 +0200
+++ new/tqdm-4.61.2/PKG-INFO    2021-07-06 08:51:30.535508400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: tqdm
-Version: 4.61.1
+Version: 4.61.2
 Summary: Fast, Extensible Progress Meter
 Home-page: https://tqdm.github.io
 Maintainer: tqdm developers
@@ -818,9 +818,6 @@
                     for k in trange(50, desc='3rd loop', leave=False):
                         sleep(0.01)
         
-        On Windows `colorama <https://github.com/tartley/colorama>`__ will be 
used if
-        available to keep nested bars on their respective lines.
-        
         For manual control over positioning (e.g. for multi-processing use),
         you may specify ``position=n`` where ``n=0`` for the outermost bar,
         ``n=1`` for the next, and so on.
@@ -1484,7 +1481,7 @@
         .. |GitHub-Updated| image:: 
https://img.shields.io/github/last-commit/tqdm/tqdm/master.svg?logo=github&logoColor=white&label=pushed
            :target: https://github.com/tqdm/tqdm/pulse
         .. |Gift-Casper| image:: 
https://img.shields.io/badge/dynamic/json.svg?color=ff69b4&label=gifts%20received&prefix=%C2%A3&query=%24..sum&url=https%3A%2F%2Fcaspersci.uk.to%2Fgifts.json
-           :target: https://www.cdcl.ml/sponsor
+           :target: https://cdcl.ml/sponsor
         .. |Versions| image:: https://img.shields.io/pypi/v/tqdm.svg
            :target: https://tqdm.github.io/releases
         .. |PyPI-Downloads| image:: 
https://img.shields.io/pypi/dm/tqdm.svg?label=pypi%20downloads&logo=PyPI&logoColor=white
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.61.1/README.rst new/tqdm-4.61.2/README.rst
--- old/tqdm-4.61.1/README.rst  2021-06-12 18:13:53.000000000 +0200
+++ new/tqdm-4.61.2/README.rst  2021-07-06 08:51:27.000000000 +0200
@@ -807,9 +807,6 @@
             for k in trange(50, desc='3rd loop', leave=False):
                 sleep(0.01)
 
-On Windows `colorama <https://github.com/tartley/colorama>`__ will be used if
-available to keep nested bars on their respective lines.
-
 For manual control over positioning (e.g. for multi-processing use),
 you may specify ``position=n`` where ``n=0`` for the outermost bar,
 ``n=1`` for the next, and so on.
@@ -1473,7 +1470,7 @@
 .. |GitHub-Updated| image:: 
https://img.shields.io/github/last-commit/tqdm/tqdm/master.svg?logo=github&logoColor=white&label=pushed
    :target: https://github.com/tqdm/tqdm/pulse
 .. |Gift-Casper| image:: 
https://img.shields.io/badge/dynamic/json.svg?color=ff69b4&label=gifts%20received&prefix=%C2%A3&query=%24..sum&url=https%3A%2F%2Fcaspersci.uk.to%2Fgifts.json
-   :target: https://www.cdcl.ml/sponsor
+   :target: https://cdcl.ml/sponsor
 .. |Versions| image:: https://img.shields.io/pypi/v/tqdm.svg
    :target: https://tqdm.github.io/releases
 .. |PyPI-Downloads| image:: 
https://img.shields.io/pypi/dm/tqdm.svg?label=pypi%20downloads&logo=PyPI&logoColor=white
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.61.1/setup.cfg new/tqdm-4.61.2/setup.cfg
--- old/tqdm-4.61.1/setup.cfg   2021-06-12 18:13:56.623310000 +0200
+++ new/tqdm-4.61.2/setup.cfg   2021-07-06 08:51:30.535508400 +0200
@@ -75,6 +75,8 @@
 [options]
 setup_requires = setuptools>=42; setuptools_scm[toml]>=3.4
 python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+install_requires = 
+       colorama; platform_system == 'Windows'
 tests_require = tox
 include_package_data = True
 packages = find:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.61.1/tqdm/_dist_ver.py 
new/tqdm-4.61.2/tqdm/_dist_ver.py
--- old/tqdm-4.61.1/tqdm/_dist_ver.py   2021-06-12 18:13:56.000000000 +0200
+++ new/tqdm-4.61.2/tqdm/_dist_ver.py   2021-07-06 08:51:30.000000000 +0200
@@ -1 +1 @@
-__version__ = '4.61.1'
+__version__ = '4.61.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.61.1/tqdm/asyncio.py 
new/tqdm-4.61.2/tqdm/asyncio.py
--- old/tqdm-4.61.1/tqdm/asyncio.py     2021-06-12 18:13:38.000000000 +0200
+++ new/tqdm-4.61.2/tqdm/asyncio.py     2021-07-06 08:51:01.000000000 +0200
@@ -8,6 +8,7 @@
 ...     ...
 """
 import asyncio
+from sys import version_info
 
 from .std import tqdm as std_tqdm
 
@@ -60,7 +61,10 @@
         """
         if total is None:
             total = len(fs)
-        yield from cls(asyncio.as_completed(fs, loop=loop, timeout=timeout),
+        kwargs = {}
+        if version_info[:2] < (3, 10):
+            kwargs['loop'] = loop
+        yield from cls(asyncio.as_completed(fs, timeout=timeout, **kwargs),
                        total=total, **tqdm_kwargs)
 
     @classmethod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.61.1/tqdm/contrib/telegram.py 
new/tqdm-4.61.2/tqdm/contrib/telegram.py
--- old/tqdm-4.61.1/tqdm/contrib/telegram.py    2021-06-12 18:13:38.000000000 
+0200
+++ new/tqdm-4.61.2/tqdm/contrib/telegram.py    2021-07-06 08:51:01.000000000 
+0200
@@ -62,6 +62,17 @@
         else:
             return future
 
+    def delete(self):
+        """Deletes internal `message_id`."""
+        try:
+            future = self.submit(
+                self.session.post, self.API + '%s/deleteMessage' % self.token,
+                data={'chat_id': self.chat_id, 'message_id': self.message_id})
+        except Exception as e:
+            tqdm_auto.write(str(e))
+        else:
+            return future
+
 
 class tqdm_telegram(tqdm_auto):
     """
@@ -112,6 +123,13 @@
         if not self.disable:
             self.tgio.write("")
 
+    def close(self):
+        if self.disable:
+            return
+        super(tqdm_telegram, self).close()
+        if not (self.leave or (self.leave is None and self.pos == 0)):
+            self.tgio.delete()
+
 
 def ttgrange(*args, **kwargs):
     """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.61.1/tqdm/keras.py 
new/tqdm-4.61.2/tqdm/keras.py
--- old/tqdm-4.61.1/tqdm/keras.py       2021-06-12 18:13:38.000000000 +0200
+++ new/tqdm-4.61.2/tqdm/keras.py       2021-07-06 08:51:01.000000000 +0200
@@ -7,7 +7,7 @@
 
 try:
     import keras
-except ImportError as e:
+except (ImportError, AttributeError) as e:
     try:
         from tensorflow import keras
     except ImportError:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.61.1/tqdm/rich.py new/tqdm-4.61.2/tqdm/rich.py
--- old/tqdm-4.61.1/tqdm/rich.py        2021-06-12 18:13:38.000000000 +0200
+++ new/tqdm-4.61.2/tqdm/rich.py        2021-07-06 08:51:01.000000000 +0200
@@ -113,10 +113,10 @@
         self._prog.__enter__()
         self._task_id = self._prog.add_task(self.desc or "", **d)
 
-    def close(self, *args, **kwargs):
+    def close(self):
         if self.disable:
             return
-        super(tqdm_rich, self).close(*args, **kwargs)
+        super(tqdm_rich, self).close()
         self._prog.__exit__(None, None, None)
 
     def clear(self, *_, **__):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.61.1/tqdm/std.py new/tqdm-4.61.2/tqdm/std.py
--- old/tqdm-4.61.1/tqdm/std.py 2021-06-12 18:13:38.000000000 +0200
+++ new/tqdm-4.61.2/tqdm/std.py 2021-07-06 08:51:01.000000000 +0200
@@ -336,6 +336,9 @@
         """
         fp = file
         fp_flush = getattr(fp, 'flush', lambda: None)  # pragma: no cover
+        if fp in (sys.stderr, sys.stdout):
+            sys.stderr.flush()
+            sys.stdout.flush()
 
         def fp_write(s):
             fp.write(_unicode(s))
@@ -790,8 +793,12 @@
                         " Use keyword arguments instead.",
                         fp_write=getattr(t.fp, 'write', sys.stderr.write))
 
+                try:  # pandas>=1.3.0
+                    from pandas.core.common import is_builtin_func
+                except ImportError:
+                    is_builtin_func = df._is_builtin_func
                 try:
-                    func = df._is_builtin_func(func)
+                    func = is_builtin_func(func)
                 except TypeError:
                     pass
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.61.1/tqdm.egg-info/PKG-INFO 
new/tqdm-4.61.2/tqdm.egg-info/PKG-INFO
--- old/tqdm-4.61.1/tqdm.egg-info/PKG-INFO      2021-06-12 18:13:56.000000000 
+0200
+++ new/tqdm-4.61.2/tqdm.egg-info/PKG-INFO      2021-07-06 08:51:30.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: tqdm
-Version: 4.61.1
+Version: 4.61.2
 Summary: Fast, Extensible Progress Meter
 Home-page: https://tqdm.github.io
 Maintainer: tqdm developers
@@ -818,9 +818,6 @@
                     for k in trange(50, desc='3rd loop', leave=False):
                         sleep(0.01)
         
-        On Windows `colorama <https://github.com/tartley/colorama>`__ will be 
used if
-        available to keep nested bars on their respective lines.
-        
         For manual control over positioning (e.g. for multi-processing use),
         you may specify ``position=n`` where ``n=0`` for the outermost bar,
         ``n=1`` for the next, and so on.
@@ -1484,7 +1481,7 @@
         .. |GitHub-Updated| image:: 
https://img.shields.io/github/last-commit/tqdm/tqdm/master.svg?logo=github&logoColor=white&label=pushed
            :target: https://github.com/tqdm/tqdm/pulse
         .. |Gift-Casper| image:: 
https://img.shields.io/badge/dynamic/json.svg?color=ff69b4&label=gifts%20received&prefix=%C2%A3&query=%24..sum&url=https%3A%2F%2Fcaspersci.uk.to%2Fgifts.json
-           :target: https://www.cdcl.ml/sponsor
+           :target: https://cdcl.ml/sponsor
         .. |Versions| image:: https://img.shields.io/pypi/v/tqdm.svg
            :target: https://tqdm.github.io/releases
         .. |PyPI-Downloads| image:: 
https://img.shields.io/pypi/dm/tqdm.svg?label=pypi%20downloads&logo=PyPI&logoColor=white
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.61.1/tqdm.egg-info/requires.txt 
new/tqdm-4.61.2/tqdm.egg-info/requires.txt
--- old/tqdm-4.61.1/tqdm.egg-info/requires.txt  2021-06-12 18:13:56.000000000 
+0200
+++ new/tqdm-4.61.2/tqdm.egg-info/requires.txt  2021-07-06 08:51:30.000000000 
+0200
@@ -1,4 +1,7 @@
 
+[:platform_system == "Windows"]
+colorama
+
 [dev]
 py-make>=0.1.0
 twine

Reply via email to