Hello community, here is the log from the commit of package python-tqdm for openSUSE:Factory checked in at 2020-03-08 22:21:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tqdm (Old) and /work/SRC/openSUSE:Factory/.python-tqdm.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tqdm" Sun Mar 8 22:21:20 2020 rev:32 rq:778508 version:4.43.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tqdm/python-tqdm.changes 2020-02-14 16:25:15.995187135 +0100 +++ /work/SRC/openSUSE:Factory/.python-tqdm.new.26092/python-tqdm.changes 2020-03-08 22:21:23.311975693 +0100 @@ -1,0 +2,14 @@ +Sat Feb 22 18:37:35 UTC 2020 - Arun Persaud <a...@gmx.de> + +- update to version 4.43.0: + * fix notebook exceptions (#669 <- #650) + + set_description() when disable=True + * contrib.concurrent: avoid unnecessary len(iterable) (#893) + * update documentation + + clarify etymology (#895) + + fix minor typo (#890) + + update contributors and years + * update tests + * fix CI tests for PRs + +------------------------------------------------------------------- Old: ---- tqdm-4.42.1.tar.gz New: ---- tqdm-4.43.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tqdm.spec ++++++ --- /var/tmp/diff_new_pack.vawcVd/_old 2020-03-08 22:21:24.523976440 +0100 +++ /var/tmp/diff_new_pack.vawcVd/_new 2020-03-08 22:21:24.523976440 +0100 @@ -28,7 +28,7 @@ %bcond_with test %endif Name: python-tqdm%{pkg_suffix} -Version: 4.42.1 +Version: 4.43.0 Release: 0 Summary: An extensible progress meter License: MPL-2.0 AND MIT ++++++ tqdm-4.42.1.tar.gz -> tqdm-4.43.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.42.1/.coveragerc new/tqdm-4.43.0/.coveragerc --- old/tqdm-4.42.1/.coveragerc 2020-02-03 16:37:40.000000000 +0100 +++ new/tqdm-4.43.0/.coveragerc 2020-02-19 15:57:08.000000000 +0100 @@ -2,7 +2,5 @@ branch = True omit = tqdm/tests/* - tqdm/_tqdm_gui.py - tqdm/_tqdm_notebook.py [report] show_missing = True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.42.1/LICENCE new/tqdm-4.43.0/LICENCE --- old/tqdm-4.42.1/LICENCE 2020-02-03 16:37:40.000000000 +0100 +++ new/tqdm-4.43.0/LICENCE 2020-02-19 15:57:08.000000000 +0100 @@ -7,7 +7,7 @@ in reverse chronological order: * files: * - MPLv2.0 2015-2019 (c) Casper da Costa-Luis + MPLv2.0 2015-2020 (c) Casper da Costa-Luis [casperdcl](https://github.com/casperdcl). * files: tqdm/_tqdm.py MIT 2016 (c) [PR #96] on behalf of Google Inc. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.42.1/Makefile new/tqdm-4.43.0/Makefile --- old/tqdm-4.42.1/Makefile 2020-02-03 16:37:40.000000000 +0100 +++ new/tqdm-4.43.0/Makefile 2020-02-19 15:57:08.000000000 +0100 @@ -104,7 +104,7 @@ .dockerignore: .gitignore cat $^ > "$@" - echo -e ".git" > "$@" + echo ".git" > "$@" git clean -xdn | sed -nr 's/^Would remove (.*)$$/\1/p' >> "$@" distclean: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.42.1/PKG-INFO new/tqdm-4.43.0/PKG-INFO --- old/tqdm-4.42.1/PKG-INFO 2020-02-03 16:37:56.000000000 +0100 +++ new/tqdm-4.43.0/PKG-INFO 2020-02-19 15:57:25.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: tqdm -Version: 4.42.1 +Version: 4.43.0 Summary: Fast, Extensible Progress Meter Home-page: https://github.com/tqdm/tqdm Maintainer: tqdm developers @@ -17,7 +17,7 @@ |DOI| |LICENCE| |OpenHub-Status| |binder-demo| |notebook-demo| |awesome-python| - ``tqdm`` means "progress" in Arabic (*taqadum*, تقدّم) + ``tqdm`` derives from the Arabic word *taqaddum* (تقدّم) which can mean "progress," and is an abbreviation for "I love you so much" in Spanish (*te quiero demasiado*). Instantly make your loops show a smart progress meter - just wrap any @@ -696,7 +696,7 @@ for i in trange(4, desc='1st loop'): for j in trange(5, desc='2nd loop'): - for k in trange(50, desc='3nd loop', leave=False): + 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 @@ -1121,23 +1121,25 @@ `CONTRIBUTING <https://raw.githubusercontent.com/tqdm/tqdm/master/CONTRIBUTING.md>`__ file for more information. - Developers who have made significant contributions, ranked by *LoC* + Developers who have made significant contributions, ranked by *SLoC* (surviving lines of code, `git fame <https://github.com/casperdcl/git-fame>`__ ``-wMC``), are: ==================== ======================================================== ==== ================================ - Name ID LoC Notes + Name ID SLoC Notes ==================== ======================================================== ==== ================================ - Casper da Costa-Luis `casperdcl <https://github.com/casperdcl>`__ ~79% primary maintainer |Gift-Casper| - Stephen Larroque `lrq3000 <https://github.com/lrq3000>`__ ~12% team member - Matthew Stevens `mjstevens777 <https://github.com/mjstevens777>`__ ~1% - Noam Yorav-Raphael `noamraph <https://github.com/noamraph>`__ ~1% original author + Casper da Costa-Luis `casperdcl <https://github.com/casperdcl>`__ ~75% primary maintainer |Gift-Casper| + Stephen Larroque `lrq3000 <https://github.com/lrq3000>`__ ~15% team member + Martin Zugnoni ` <https://github.com/>`__ ~3% Guangshuo Chen `chengs <https://github.com/chengs>`__ ~1% Hadrien Mary `hadim <https://github.com/hadim>`__ ~1% team member - Mikhail Korobov `kmike <https://github.com/kmike>`__ ~1% team member - Daniel Panteleit `danielpanteleit <https://github.com/danielpanteleit>`__ ~1% + Matthew Stevens `mjstevens777 <https://github.com/mjstevens777>`__ ~1% + Noam Yorav-Raphael `noamraph <https://github.com/noamraph>`__ ~1% original author Kyle Altendorf `altendky <https://github.com/altendky>`__ ~1% + Ivan Ivanov ` <https://github.com/>`__ ~1% + James E. King III ` <https://github.com/>`__ ~1% + Mikhail Korobov `kmike <https://github.com/kmike>`__ ~1% team member ==================== ======================================================== ==== ================================ |sourcerer-0| |sourcerer-1| |sourcerer-2| |sourcerer-3| |sourcerer-4| |sourcerer-5| |sourcerer-7| diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.42.1/README.rst new/tqdm-4.43.0/README.rst --- old/tqdm-4.42.1/README.rst 2020-02-03 16:37:54.000000000 +0100 +++ new/tqdm-4.43.0/README.rst 2020-02-19 15:57:23.000000000 +0100 @@ -9,7 +9,7 @@ |DOI| |LICENCE| |OpenHub-Status| |binder-demo| |notebook-demo| |awesome-python| -``tqdm`` means "progress" in Arabic (*taqadum*, تقدّم) +``tqdm`` derives from the Arabic word *taqaddum* (تقدّم) which can mean "progress," and is an abbreviation for "I love you so much" in Spanish (*te quiero demasiado*). Instantly make your loops show a smart progress meter - just wrap any @@ -688,7 +688,7 @@ for i in trange(4, desc='1st loop'): for j in trange(5, desc='2nd loop'): - for k in trange(50, desc='3nd loop', leave=False): + 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 @@ -1113,23 +1113,25 @@ `CONTRIBUTING <https://raw.githubusercontent.com/tqdm/tqdm/master/CONTRIBUTING.md>`__ file for more information. -Developers who have made significant contributions, ranked by *LoC* +Developers who have made significant contributions, ranked by *SLoC* (surviving lines of code, `git fame <https://github.com/casperdcl/git-fame>`__ ``-wMC``), are: ==================== ======================================================== ==== ================================ -Name ID LoC Notes +Name ID SLoC Notes ==================== ======================================================== ==== ================================ -Casper da Costa-Luis `casperdcl <https://github.com/casperdcl>`__ ~79% primary maintainer |Gift-Casper| -Stephen Larroque `lrq3000 <https://github.com/lrq3000>`__ ~12% team member -Matthew Stevens `mjstevens777 <https://github.com/mjstevens777>`__ ~1% -Noam Yorav-Raphael `noamraph <https://github.com/noamraph>`__ ~1% original author +Casper da Costa-Luis `casperdcl <https://github.com/casperdcl>`__ ~75% primary maintainer |Gift-Casper| +Stephen Larroque `lrq3000 <https://github.com/lrq3000>`__ ~15% team member +Martin Zugnoni ` <https://github.com/>`__ ~3% Guangshuo Chen `chengs <https://github.com/chengs>`__ ~1% Hadrien Mary `hadim <https://github.com/hadim>`__ ~1% team member -Mikhail Korobov `kmike <https://github.com/kmike>`__ ~1% team member -Daniel Panteleit `danielpanteleit <https://github.com/danielpanteleit>`__ ~1% +Matthew Stevens `mjstevens777 <https://github.com/mjstevens777>`__ ~1% +Noam Yorav-Raphael `noamraph <https://github.com/noamraph>`__ ~1% original author Kyle Altendorf `altendky <https://github.com/altendky>`__ ~1% +Ivan Ivanov ` <https://github.com/>`__ ~1% +James E. King III ` <https://github.com/>`__ ~1% +Mikhail Korobov `kmike <https://github.com/kmike>`__ ~1% team member ==================== ======================================================== ==== ================================ |sourcerer-0| |sourcerer-1| |sourcerer-2| |sourcerer-3| |sourcerer-4| |sourcerer-5| |sourcerer-7| diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.42.1/tqdm/_version.py new/tqdm-4.43.0/tqdm/_version.py --- old/tqdm-4.42.1/tqdm/_version.py 2020-02-03 16:37:40.000000000 +0100 +++ new/tqdm-4.43.0/tqdm/_version.py 2020-02-19 15:57:08.000000000 +0100 @@ -5,7 +5,7 @@ __all__ = ["__version__"] # major, minor, patch, -extra -version_info = 4, 42, 1 +version_info = 4, 43, 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.42.1/tqdm/contrib/concurrent.py new/tqdm-4.43.0/tqdm/contrib/concurrent.py --- old/tqdm-4.42.1/tqdm/contrib/concurrent.py 2020-02-03 16:37:40.000000000 +0100 +++ new/tqdm-4.43.0/tqdm/contrib/concurrent.py 2020-02-19 15:57:08.000000000 +0100 @@ -26,7 +26,8 @@ tqdm_class : [default: tqdm.auto.tqdm]. """ kwargs = deepcopy(tqdm_kwargs) - kwargs.setdefault("total", len(iterables[0])) + if "total" not in kwargs: + kwargs["total"] = len(iterables[0]) tqdm_class = kwargs.pop("tqdm_class", tqdm_auto) max_workers = kwargs.pop("max_workers", min(32, cpu_count() + 4)) pool_kwargs = dict(max_workers=max_workers) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.42.1/tqdm/notebook.py new/tqdm-4.43.0/tqdm/notebook.py --- old/tqdm-4.42.1/tqdm/notebook.py 2020-02-03 16:37:40.000000000 +0100 +++ new/tqdm-4.43.0/tqdm/notebook.py 2020-02-19 15:57:08.000000000 +0100 @@ -196,6 +196,7 @@ kwargs['disable'] = bool(kwargs.get('disable', False)) super(tqdm_notebook, self).__init__(*args, **kwargs) if self.disable or not kwargs['gui']: + self.sp = lambda *_, **__: None return # Get bar width @@ -233,17 +234,15 @@ def close(self, *args, **kwargs): super(tqdm_notebook, self).close(*args, **kwargs) - # If it was not run in a notebook, sp is not assigned, check for it - if hasattr(self, 'sp'): - # Try to detect if there was an error or KeyboardInterrupt - # in manual mode: if n < total, things probably got wrong - if self.total and self.n < self.total: - self.sp(bar_style='danger') + # Try to detect if there was an error or KeyboardInterrupt + # in manual mode: if n < total, things probably got wrong + if self.total and self.n < self.total: + self.sp(bar_style='danger') + else: + if self.leave: + self.sp(bar_style='success') else: - if self.leave: - self.sp(bar_style='success') - else: - self.sp(close=True) + self.sp(close=True) def moveto(self, *args, **kwargs): # void -> avoid extraneous `\n` in IPython output cell diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.42.1/tqdm/std.py new/tqdm-4.43.0/tqdm/std.py --- old/tqdm-4.42.1/tqdm/std.py 2020-02-03 16:37:40.000000000 +0100 +++ new/tqdm-4.43.0/tqdm/std.py 2020-02-19 15:57:08.000000000 +0100 @@ -932,6 +932,7 @@ self._instances.remove(self) self.n = initial self.total = total + self.leave = leave return if kwargs: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.42.1/tqdm/tests/tests_notebook.py new/tqdm-4.43.0/tqdm/tests/tests_notebook.py --- old/tqdm-4.42.1/tqdm/tests/tests_notebook.py 1970-01-01 01:00:00.000000000 +0100 +++ new/tqdm-4.43.0/tqdm/tests/tests_notebook.py 2020-02-19 15:57:08.000000000 +0100 @@ -0,0 +1,9 @@ +from tqdm.notebook import tqdm as tqdm_notebook +from tests_tqdm import with_setup, pretest, posttest + + +@with_setup(pretest, posttest) +def test_notebook_disabled_description(): + """Test that set_description works for disabled tqdm_notebook""" + with tqdm_notebook(1, disable=True) as t: + t.set_description("description") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.42.1/tqdm/tqdm.1 new/tqdm-4.43.0/tqdm/tqdm.1 --- old/tqdm-4.42.1/tqdm/tqdm.1 2020-02-03 16:37:40.000000000 +0100 +++ new/tqdm-4.43.0/tqdm/tqdm.1 2020-02-19 15:57:08.000000000 +0100 @@ -1,6 +1,6 @@ .\" Automatically generated by Pandoc 1.19.2 .\" -.TH "TQDM" "1" "2015\-2019" "tqdm User Manuals" "" +.TH "TQDM" "1" "2015\-2020" "tqdm User Manuals" "" .hy .SH NAME .PP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.42.1/tqdm.egg-info/PKG-INFO new/tqdm-4.43.0/tqdm.egg-info/PKG-INFO --- old/tqdm-4.42.1/tqdm.egg-info/PKG-INFO 2020-02-03 16:37:56.000000000 +0100 +++ new/tqdm-4.43.0/tqdm.egg-info/PKG-INFO 2020-02-19 15:57:25.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: tqdm -Version: 4.42.1 +Version: 4.43.0 Summary: Fast, Extensible Progress Meter Home-page: https://github.com/tqdm/tqdm Maintainer: tqdm developers @@ -17,7 +17,7 @@ |DOI| |LICENCE| |OpenHub-Status| |binder-demo| |notebook-demo| |awesome-python| - ``tqdm`` means "progress" in Arabic (*taqadum*, تقدّم) + ``tqdm`` derives from the Arabic word *taqaddum* (تقدّم) which can mean "progress," and is an abbreviation for "I love you so much" in Spanish (*te quiero demasiado*). Instantly make your loops show a smart progress meter - just wrap any @@ -696,7 +696,7 @@ for i in trange(4, desc='1st loop'): for j in trange(5, desc='2nd loop'): - for k in trange(50, desc='3nd loop', leave=False): + 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 @@ -1121,23 +1121,25 @@ `CONTRIBUTING <https://raw.githubusercontent.com/tqdm/tqdm/master/CONTRIBUTING.md>`__ file for more information. - Developers who have made significant contributions, ranked by *LoC* + Developers who have made significant contributions, ranked by *SLoC* (surviving lines of code, `git fame <https://github.com/casperdcl/git-fame>`__ ``-wMC``), are: ==================== ======================================================== ==== ================================ - Name ID LoC Notes + Name ID SLoC Notes ==================== ======================================================== ==== ================================ - Casper da Costa-Luis `casperdcl <https://github.com/casperdcl>`__ ~79% primary maintainer |Gift-Casper| - Stephen Larroque `lrq3000 <https://github.com/lrq3000>`__ ~12% team member - Matthew Stevens `mjstevens777 <https://github.com/mjstevens777>`__ ~1% - Noam Yorav-Raphael `noamraph <https://github.com/noamraph>`__ ~1% original author + Casper da Costa-Luis `casperdcl <https://github.com/casperdcl>`__ ~75% primary maintainer |Gift-Casper| + Stephen Larroque `lrq3000 <https://github.com/lrq3000>`__ ~15% team member + Martin Zugnoni ` <https://github.com/>`__ ~3% Guangshuo Chen `chengs <https://github.com/chengs>`__ ~1% Hadrien Mary `hadim <https://github.com/hadim>`__ ~1% team member - Mikhail Korobov `kmike <https://github.com/kmike>`__ ~1% team member - Daniel Panteleit `danielpanteleit <https://github.com/danielpanteleit>`__ ~1% + Matthew Stevens `mjstevens777 <https://github.com/mjstevens777>`__ ~1% + Noam Yorav-Raphael `noamraph <https://github.com/noamraph>`__ ~1% original author Kyle Altendorf `altendky <https://github.com/altendky>`__ ~1% + Ivan Ivanov ` <https://github.com/>`__ ~1% + James E. King III ` <https://github.com/>`__ ~1% + Mikhail Korobov `kmike <https://github.com/kmike>`__ ~1% team member ==================== ======================================================== ==== ================================ |sourcerer-0| |sourcerer-1| |sourcerer-2| |sourcerer-3| |sourcerer-4| |sourcerer-5| |sourcerer-7| diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.42.1/tqdm.egg-info/SOURCES.txt new/tqdm-4.43.0/tqdm.egg-info/SOURCES.txt --- old/tqdm-4.42.1/tqdm.egg-info/SOURCES.txt 2020-02-03 16:37:56.000000000 +0100 +++ new/tqdm-4.43.0/tqdm.egg-info/SOURCES.txt 2020-02-19 15:57:25.000000000 +0100 @@ -51,6 +51,7 @@ tqdm/tests/tests_itertools.py tqdm/tests/tests_keras.py tqdm/tests/tests_main.py +tqdm/tests/tests_notebook.py tqdm/tests/tests_pandas.py tqdm/tests/tests_perf.py tqdm/tests/tests_synchronisation.py