Hello community,

here is the log from the commit of package python-tqdm for openSUSE:Factory 
checked in at 2019-12-07 15:19:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tqdm (Old)
 and      /work/SRC/openSUSE:Factory/.python-tqdm.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tqdm"

Sat Dec  7 15:19:53 2019 rev:25 rq:752762 version:4.39.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tqdm/python-tqdm.changes  2019-11-22 
10:22:12.357327339 +0100
+++ /work/SRC/openSUSE:Factory/.python-tqdm.new.4691/python-tqdm.changes        
2019-12-07 15:23:07.239731034 +0100
@@ -1,0 +2,24 @@
+Sat Nov 30 12:23:06 UTC 2019 - Dominique Leuenberger <[email protected]>
+
+- Don't use RPM internal/reserved name %suffix (change to
+  pkg_suffix).
+
+-------------------------------------------------------------------
+Sun Nov 24 00:13:41 UTC 2019 - Arun Persaud <[email protected]>
+
+- update to version 4.39.0:
+  * add pandas builtin operations check (#843 <- #697)
+  * avoid unnecessary dedent (#837)
+  * remove unneeded bar logic
+  * misc code tidy
+  * update documentation
+    + document default argument overriding (#370)
+    + add missing isatty() (#713)
+    + update badges
+    + add code of conduct
+  * update framework
+    + clean CI stages
+    + update CI default py3.6 => py3.7
+    + automate snap releases (#686 <- #685)
+
+-------------------------------------------------------------------

Old:
----
  tqdm-4.38.0.tar.gz

New:
----
  tqdm-4.39.0.tar.gz

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

Other differences:
------------------
++++++ python-tqdm.spec ++++++
--- /var/tmp/diff_new_pack.JxfzYR/_old  2019-12-07 15:23:07.683730973 +0100
+++ /var/tmp/diff_new_pack.JxfzYR/_new  2019-12-07 15:23:07.683730973 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-tqdm
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,14 +21,14 @@
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
 %define test 1
-%define suffix -test
+%define pkg_suffix -test
 %bcond_without test
 %else
-%define suffix %{nil}
+%define pkg_suffix %{nil}
 %bcond_with test
 %endif
-Name:           python-tqdm%{suffix}
-Version:        4.38.0
+Name:           python-tqdm%{pkg_suffix}
+Version:        4.39.0
 Release:        0
 Summary:        An extensible progress meter
 License:        MPL-2.0 AND MIT

++++++ tqdm-4.38.0.tar.gz -> tqdm-4.39.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.38.0/PKG-INFO new/tqdm-4.39.0/PKG-INFO
--- old/tqdm-4.38.0/PKG-INFO    2019-11-09 02:02:45.000000000 +0100
+++ new/tqdm-4.39.0/PKG-INFO    2019-11-22 18:15:36.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: tqdm
-Version: 4.38.0
+Version: 4.39.0
 Summary: Fast, Extensible Progress Meter
 Home-page: https://github.com/tqdm/tqdm
 Maintainer: tqdm developers
@@ -11,7 +11,7 @@
         tqdm
         ====
         
-        |PyPI-Versions| |PyPI-Status| |Conda-Forge-Status| |Docker| |Snapcraft|
+        |Py-Versions| |Versions| |Conda-Forge-Status| |Docker| |Snapcraft|
         
         |Build-Status| |Coverage-Status| |Branch-Coverage-Status| 
|Codacy-Grade| |Libraries-Rank| |PyPI-Downloads|
         
@@ -79,7 +79,7 @@
         Latest PyPI stable release
         ~~~~~~~~~~~~~~~~~~~~~~~~~~
         
-        |PyPI-Status| |PyPI-Downloads| |Libraries-Dependents|
+        |Versions| |PyPI-Downloads| |Libraries-Dependents|
         
         .. code:: sh
         
@@ -300,7 +300,7 @@
         Documentation
         -------------
         
-        |PyPI-Versions| |README-Hits| (Since 19 May 2016)
+        |Py-Versions| |README-Hits| (Since 19 May 2016)
         
         .. code:: python
         
@@ -840,6 +840,16 @@
         Custom Integration
         ~~~~~~~~~~~~~~~~~~
         
+        To change the default arguments (such as making 
``dynamic_ncols=True``),
+        simply use built-in Python magic:
+        
+        .. code:: python
+        
+            from functools import partial
+            from tqdm import tqdm as std_tqdm
+            tqdm = partial(std_tqdm, dynamic_ncols=True)
+        
+        For further customisation,
         ``tqdm`` may be inherited from to create custom callbacks (as with the
         ``TqdmUpTo`` example `above <#hooks-and-callbacks>`__) or for custom 
frontends
         (e.g. GUIs such as notebook or plotting packages). In the latter case:
@@ -972,6 +982,9 @@
                 def flush(self):
                     return getattr(self.file, "flush", lambda: None)()
         
+                def isatty(self):
+                    return getattr(self.file, "isatty", lambda: False)()
+        
             @contextlib.contextmanager
             def std_out_err_redirect_tqdm():
                 orig_out_err = sys.stdout, sys.stderr
@@ -1114,11 +1127,11 @@
            :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://caspersci.uk.to/donate
-        .. |PyPI-Status| image:: 
https://img.shields.io/pypi/v/tqdm.svg?logo=PyPI&logoColor=white
-           :target: https://pypi.org/project/tqdm
-        .. |PyPI-Downloads| image:: 
https://img.shields.io/pypi/dm/tqdm.svg?label=pypi%20downloads&logo=python&logoColor=white
+        .. |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
            :target: https://pypi.org/project/tqdm
-        .. |PyPI-Versions| image:: 
https://img.shields.io/pypi/pyversions/tqdm.svg?logo=python&logoColor=white
+        .. |Py-Versions| image:: 
https://img.shields.io/pypi/pyversions/tqdm.svg?logo=python&logoColor=white
            :target: https://pypi.org/project/tqdm
         .. |Conda-Forge-Status| image:: 
https://img.shields.io/conda/v/conda-forge/tqdm.svg?label=conda-forge&logo=conda-forge
            :target: https://anaconda.org/conda-forge/tqdm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.38.0/README.rst new/tqdm-4.39.0/README.rst
--- old/tqdm-4.38.0/README.rst  2019-11-09 01:51:35.000000000 +0100
+++ new/tqdm-4.39.0/README.rst  2019-11-22 18:15:34.000000000 +0100
@@ -3,7 +3,7 @@
 tqdm
 ====
 
-|PyPI-Versions| |PyPI-Status| |Conda-Forge-Status| |Docker| |Snapcraft|
+|Py-Versions| |Versions| |Conda-Forge-Status| |Docker| |Snapcraft|
 
 |Build-Status| |Coverage-Status| |Branch-Coverage-Status| |Codacy-Grade| 
|Libraries-Rank| |PyPI-Downloads|
 
@@ -71,7 +71,7 @@
 Latest PyPI stable release
 ~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-|PyPI-Status| |PyPI-Downloads| |Libraries-Dependents|
+|Versions| |PyPI-Downloads| |Libraries-Dependents|
 
 .. code:: sh
 
@@ -292,7 +292,7 @@
 Documentation
 -------------
 
-|PyPI-Versions| |README-Hits| (Since 19 May 2016)
+|Py-Versions| |README-Hits| (Since 19 May 2016)
 
 .. code:: python
 
@@ -832,6 +832,16 @@
 Custom Integration
 ~~~~~~~~~~~~~~~~~~
 
+To change the default arguments (such as making ``dynamic_ncols=True``),
+simply use built-in Python magic:
+
+.. code:: python
+
+    from functools import partial
+    from tqdm import tqdm as std_tqdm
+    tqdm = partial(std_tqdm, dynamic_ncols=True)
+
+For further customisation,
 ``tqdm`` may be inherited from to create custom callbacks (as with the
 ``TqdmUpTo`` example `above <#hooks-and-callbacks>`__) or for custom frontends
 (e.g. GUIs such as notebook or plotting packages). In the latter case:
@@ -964,6 +974,9 @@
         def flush(self):
             return getattr(self.file, "flush", lambda: None)()
 
+        def isatty(self):
+            return getattr(self.file, "isatty", lambda: False)()
+
     @contextlib.contextmanager
     def std_out_err_redirect_tqdm():
         orig_out_err = sys.stdout, sys.stderr
@@ -1106,11 +1119,11 @@
    :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://caspersci.uk.to/donate
-.. |PyPI-Status| image:: 
https://img.shields.io/pypi/v/tqdm.svg?logo=PyPI&logoColor=white
-   :target: https://pypi.org/project/tqdm
-.. |PyPI-Downloads| image:: 
https://img.shields.io/pypi/dm/tqdm.svg?label=pypi%20downloads&logo=python&logoColor=white
+.. |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
    :target: https://pypi.org/project/tqdm
-.. |PyPI-Versions| image:: 
https://img.shields.io/pypi/pyversions/tqdm.svg?logo=python&logoColor=white
+.. |Py-Versions| image:: 
https://img.shields.io/pypi/pyversions/tqdm.svg?logo=python&logoColor=white
    :target: https://pypi.org/project/tqdm
 .. |Conda-Forge-Status| image:: 
https://img.shields.io/conda/v/conda-forge/tqdm.svg?label=conda-forge&logo=conda-forge
    :target: https://anaconda.org/conda-forge/tqdm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.38.0/examples/redirect_print.py 
new/tqdm-4.39.0/examples/redirect_print.py
--- old/tqdm-4.38.0/examples/redirect_print.py  2019-10-10 17:55:57.000000000 
+0200
+++ new/tqdm-4.39.0/examples/redirect_print.py  2019-11-22 18:15:18.000000000 
+0100
@@ -32,6 +32,9 @@
     def flush(self):
         return getattr(self.file, "flush", lambda: None)()
 
+    def isatty(self):
+        return getattr(self.file, "isatty", lambda: False)()
+
 
 @contextlib.contextmanager
 def std_out_err_redirect_tqdm():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.38.0/tqdm/_version.py 
new/tqdm-4.39.0/tqdm/_version.py
--- old/tqdm-4.38.0/tqdm/_version.py    2019-11-09 01:51:23.000000000 +0100
+++ new/tqdm-4.39.0/tqdm/_version.py    2019-11-22 18:15:18.000000000 +0100
@@ -5,7 +5,7 @@
 __all__ = ["__version__"]
 
 # major, minor, patch, -extra
-version_info = 4, 38, 0
+version_info = 4, 39, 0
 
 # Nice string for the version
 __version__ = '.'.join(map(str, version_info))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.38.0/tqdm/std.py new/tqdm-4.39.0/tqdm/std.py
--- old/tqdm-4.38.0/tqdm/std.py 2019-11-09 01:50:41.000000000 +0100
+++ new/tqdm-4.39.0/tqdm/std.py 2019-11-22 18:15:18.000000000 +0100
@@ -180,7 +180,7 @@
         if bar_length < N_BARS:
             return bar + frac_bar + \
                 charset[0] * (N_BARS - bar_length - 1)
-        return bar + charset[0] * (N_BARS - bar_length)
+        return bar
 
 
 class tqdm(Comparable):
@@ -727,6 +727,8 @@
                         " Use keyword arguments instead.",
                         fp_write=getattr(t.fp, 'write', sys.stderr.write))
 
+                func = df._is_builtin_func(func)
+
                 # Define bar updating wrapper
                 def wrapper(*args, **kwargs):
                     # update tbar correctly
@@ -923,13 +925,13 @@
             with self._lock:
                 self.pos = self._get_free_pos(self)
                 self._instances.remove(self)
-            from textwrap import dedent
-            raise (TqdmDeprecationWarning(dedent("""\
-                       `nested` is deprecated and automated.
-                       Use `position` instead for manual control.
-                       """), fp_write=getattr(file, 'write', sys.stderr.write))
-                   if "nested" in kwargs else
-                   TqdmKeyError("Unknown argument(s): " + str(kwargs)))
+            raise (
+                TqdmDeprecationWarning(
+                    "`nested` is deprecated and automated.\n"
+                    "Use `position` instead for manual control.\n",
+                    fp_write=getattr(file, 'write', sys.stderr.write))
+                if "nested" in kwargs else
+                TqdmKeyError("Unknown argument(s): " + str(kwargs)))
 
         # Preprocess the arguments
         if ((ncols is None) and (file in (sys.stderr, sys.stdout))) or \
@@ -1083,10 +1085,10 @@
         time = self._time
 
         if not hasattr(self, 'sp'):
-            from textwrap import dedent
-            raise TqdmDeprecationWarning(dedent("""\
-            Please use `tqdm.gui.tqdm(...)` instead of `tqdm(..., gui=True)`
-            """), fp_write=getattr(self.fp, 'write', sys.stderr.write))
+            raise TqdmDeprecationWarning(
+                "Please use `tqdm.gui.tqdm(...)` instead of"
+                " `tqdm(..., gui=True)`\n",
+                fp_write=getattr(self.fp, 'write', sys.stderr.write))
 
         for obj in iterable:
             yield obj
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.38.0/tqdm/tests/tests_pandas.py 
new/tqdm-4.39.0/tqdm/tests/tests_pandas.py
--- old/tqdm-4.38.0/tqdm/tests/tests_pandas.py  2019-10-10 17:55:57.000000000 
+0200
+++ new/tqdm-4.39.0/tqdm/tests/tests_pandas.py  2019-11-22 18:15:18.000000000 
+0100
@@ -130,7 +130,7 @@
 def test_pandas_groupby_apply():
     """Test pandas.DataFrame.groupby(...).progress_apply"""
     try:
-        from numpy.random import randint
+        from numpy.random import randint, rand
         import pandas as pd
     except ImportError:
         raise SkipTest
@@ -144,6 +144,11 @@
         dfs = pd.DataFrame(randint(0, 50, (500, 3)), columns=list('abc'))
         dfs.groupby(['a']).progress_apply(lambda x: None)
 
+        df2 = df = pd.DataFrame(dict(a=randint(1, 8, 10000), b=rand(10000)))
+        res1 = df2.groupby("a").apply(max)
+        res2 = df2.groupby("a").progress_apply(max)
+        assert res1.equals(res2)
+
         our_file.seek(0)
 
         # don't expect final output since no `leave` and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.38.0/tqdm.egg-info/PKG-INFO 
new/tqdm-4.39.0/tqdm.egg-info/PKG-INFO
--- old/tqdm-4.38.0/tqdm.egg-info/PKG-INFO      2019-11-09 02:02:45.000000000 
+0100
+++ new/tqdm-4.39.0/tqdm.egg-info/PKG-INFO      2019-11-22 18:15:36.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: tqdm
-Version: 4.38.0
+Version: 4.39.0
 Summary: Fast, Extensible Progress Meter
 Home-page: https://github.com/tqdm/tqdm
 Maintainer: tqdm developers
@@ -11,7 +11,7 @@
         tqdm
         ====
         
-        |PyPI-Versions| |PyPI-Status| |Conda-Forge-Status| |Docker| |Snapcraft|
+        |Py-Versions| |Versions| |Conda-Forge-Status| |Docker| |Snapcraft|
         
         |Build-Status| |Coverage-Status| |Branch-Coverage-Status| 
|Codacy-Grade| |Libraries-Rank| |PyPI-Downloads|
         
@@ -79,7 +79,7 @@
         Latest PyPI stable release
         ~~~~~~~~~~~~~~~~~~~~~~~~~~
         
-        |PyPI-Status| |PyPI-Downloads| |Libraries-Dependents|
+        |Versions| |PyPI-Downloads| |Libraries-Dependents|
         
         .. code:: sh
         
@@ -300,7 +300,7 @@
         Documentation
         -------------
         
-        |PyPI-Versions| |README-Hits| (Since 19 May 2016)
+        |Py-Versions| |README-Hits| (Since 19 May 2016)
         
         .. code:: python
         
@@ -840,6 +840,16 @@
         Custom Integration
         ~~~~~~~~~~~~~~~~~~
         
+        To change the default arguments (such as making 
``dynamic_ncols=True``),
+        simply use built-in Python magic:
+        
+        .. code:: python
+        
+            from functools import partial
+            from tqdm import tqdm as std_tqdm
+            tqdm = partial(std_tqdm, dynamic_ncols=True)
+        
+        For further customisation,
         ``tqdm`` may be inherited from to create custom callbacks (as with the
         ``TqdmUpTo`` example `above <#hooks-and-callbacks>`__) or for custom 
frontends
         (e.g. GUIs such as notebook or plotting packages). In the latter case:
@@ -972,6 +982,9 @@
                 def flush(self):
                     return getattr(self.file, "flush", lambda: None)()
         
+                def isatty(self):
+                    return getattr(self.file, "isatty", lambda: False)()
+        
             @contextlib.contextmanager
             def std_out_err_redirect_tqdm():
                 orig_out_err = sys.stdout, sys.stderr
@@ -1114,11 +1127,11 @@
            :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://caspersci.uk.to/donate
-        .. |PyPI-Status| image:: 
https://img.shields.io/pypi/v/tqdm.svg?logo=PyPI&logoColor=white
-           :target: https://pypi.org/project/tqdm
-        .. |PyPI-Downloads| image:: 
https://img.shields.io/pypi/dm/tqdm.svg?label=pypi%20downloads&logo=python&logoColor=white
+        .. |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
            :target: https://pypi.org/project/tqdm
-        .. |PyPI-Versions| image:: 
https://img.shields.io/pypi/pyversions/tqdm.svg?logo=python&logoColor=white
+        .. |Py-Versions| image:: 
https://img.shields.io/pypi/pyversions/tqdm.svg?logo=python&logoColor=white
            :target: https://pypi.org/project/tqdm
         .. |Conda-Forge-Status| image:: 
https://img.shields.io/conda/v/conda-forge/tqdm.svg?label=conda-forge&logo=conda-forge
            :target: https://anaconda.org/conda-forge/tqdm


Reply via email to