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 2022-09-15 22:57:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tqdm (Old)
 and      /work/SRC/openSUSE:Factory/.python-tqdm.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tqdm"

Thu Sep 15 22:57:30 2022 rev:52 rq:1002739 version:4.64.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tqdm/python-tqdm.changes  2022-04-12 
21:43:15.051742754 +0200
+++ /work/SRC/openSUSE:Factory/.python-tqdm.new.2083/python-tqdm.changes        
2022-09-15 22:57:31.584933512 +0200
@@ -1,0 +2,8 @@
+Sat Sep 10 15:29:24 UTC 2022 - Arun Persaud <a...@gmx.de>
+
+- update to 4.64.1:
+  * support ipywidgets>=8 (#1366, #1361 <- #1310, #1359, #1360, #1364)
+    + fix jupyter lab display
+    + update notebook tests
+
+-------------------------------------------------------------------

Old:
----
  tqdm-4.64.0.tar.gz

New:
----
  tqdm-4.64.1.tar.gz

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

Other differences:
------------------
++++++ python-tqdm.spec ++++++
--- /var/tmp/diff_new_pack.RnFyAT/_old  2022-09-15 22:57:32.084934924 +0200
+++ /var/tmp/diff_new_pack.RnFyAT/_new  2022-09-15 22:57:32.088934935 +0200
@@ -28,7 +28,7 @@
 %bcond_with test
 %endif
 Name:           python-tqdm%{pkg_suffix}
-Version:        4.64.0
+Version:        4.64.1
 Release:        0
 Summary:        An extensible progress meter
 License:        MIT AND MPL-2.0

++++++ tqdm-4.64.0.tar.gz -> tqdm-4.64.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.64.0/PKG-INFO new/tqdm-4.64.1/PKG-INFO
--- old/tqdm-4.64.0/PKG-INFO    2022-04-04 03:48:42.514477300 +0200
+++ new/tqdm-4.64.1/PKG-INFO    2022-09-03 13:10:23.578799200 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: tqdm
-Version: 4.64.0
+Version: 4.64.1
 Summary: Fast, Extensible Progress Meter
 Home-page: https://tqdm.github.io
 Maintainer: tqdm developers
@@ -1579,5 +1579,3 @@
 .. |Screenshot-Jupyter3| image:: https://img.tqdm.ml/jupyter-3.gif
 .. |README-Hits| image:: 
https://caspersci.uk.to/cgi-bin/hits.cgi?q=tqdm&style=social&r=https://github.com/tqdm/tqdm&l=https://img.tqdm.ml/favicon.png&f=https://img.tqdm.ml/logo.gif
    :target: 
https://caspersci.uk.to/cgi-bin/hits.cgi?q=tqdm&a=plot&r=https://github.com/tqdm/tqdm&l=https://img.tqdm.ml/favicon.png&f=https://img.tqdm.ml/logo.gif&style=social
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.64.0/tests_notebook.ipynb 
new/tqdm-4.64.1/tests_notebook.ipynb
--- old/tqdm-4.64.0/tests_notebook.ipynb        2022-04-04 03:48:04.000000000 
+0200
+++ new/tqdm-4.64.1/tests_notebook.ipynb        2022-09-03 13:09:59.000000000 
+0200
@@ -312,15 +312,18 @@
    ],
    "source": [
     "# NBVAL_TEST_NAME: leave\n",
-    "assert (False, None) != (getattr(t.container, \"visible\", False), 
getattr(t.container, \"_ipython_display_\", None))\n",
+    "def is_hidden(widget):\n",
+    "    return ('hidden', False, None) == (\n",
+    "        getattr(getattr(widget, \"layout\", None), \"visibility\", 
'visible'), # ipyw>=8\n",
+    "        getattr(widget, \"visible\", False), getattr(widget, 
\"_ipython_display_\", None)) # ipyw<8\n",
+    "\n",
+    "assert not is_hidden(t.container)\n",
     "for total in (1, 9):\n",
     "    with tqdm(total=total, leave=False) as t:\n",
     "        print(t)\n",
     "        t.update()\n",
     "        print(t)\n",
-    "    assert total != 1 or (False, None) == (\n",
-    "        getattr(t.container, \"visible\", False), getattr(t.container, 
\"_ipython_display_\", None)\n",
-    "    )"
+    "    assert total != 1 or is_hidden(t.container)"
    ]
   },
   {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.64.0/tqdm/_dist_ver.py 
new/tqdm-4.64.1/tqdm/_dist_ver.py
--- old/tqdm-4.64.0/tqdm/_dist_ver.py   2022-04-04 03:48:42.000000000 +0200
+++ new/tqdm-4.64.1/tqdm/_dist_ver.py   2022-09-03 13:10:23.000000000 +0200
@@ -1 +1 @@
-__version__ = '4.64.0'
+__version__ = '4.64.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.64.0/tqdm/notebook.py 
new/tqdm-4.64.1/tqdm/notebook.py
--- old/tqdm-4.64.0/tqdm/notebook.py    2022-04-04 03:48:04.000000000 +0200
+++ new/tqdm-4.64.1/tqdm/notebook.py    2022-09-03 13:09:59.000000000 +0200
@@ -78,7 +78,7 @@
 
 class TqdmHBox(HBox):
     """`ipywidgets.HBox` with a pretty representation"""
-    def _repr_json_(self, pretty=None):
+    def _json_(self, pretty=None):
         pbar = getattr(self, 'pbar', None)
         if pbar is None:
             return {}
@@ -91,7 +91,7 @@
         pbar = getattr(self, 'pbar', None)
         if pbar is None:
             return super(TqdmHBox, self).__repr__()
-        return pbar.format_meter(**self._repr_json_(pretty))
+        return pbar.format_meter(**self._json_(pretty))
 
     def _repr_pretty_(self, pp, *_, **__):
         pp.text(self.__repr__(True))
@@ -192,6 +192,7 @@
                 self.container.close()
             except AttributeError:
                 self.container.visible = False
+            self.container.layout.visibility = 'hidden'  # IPYW>=8
 
         if check_delay and self.delay > 0 and not self.displayed:
             display(self.container)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.64.0/tqdm.egg-info/PKG-INFO 
new/tqdm-4.64.1/tqdm.egg-info/PKG-INFO
--- old/tqdm-4.64.0/tqdm.egg-info/PKG-INFO      2022-04-04 03:48:42.000000000 
+0200
+++ new/tqdm-4.64.1/tqdm.egg-info/PKG-INFO      2022-09-03 13:10:23.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: tqdm
-Version: 4.64.0
+Version: 4.64.1
 Summary: Fast, Extensible Progress Meter
 Home-page: https://tqdm.github.io
 Maintainer: tqdm developers
@@ -1579,5 +1579,3 @@
 .. |Screenshot-Jupyter3| image:: https://img.tqdm.ml/jupyter-3.gif
 .. |README-Hits| image:: 
https://caspersci.uk.to/cgi-bin/hits.cgi?q=tqdm&style=social&r=https://github.com/tqdm/tqdm&l=https://img.tqdm.ml/favicon.png&f=https://img.tqdm.ml/logo.gif
    :target: 
https://caspersci.uk.to/cgi-bin/hits.cgi?q=tqdm&a=plot&r=https://github.com/tqdm/tqdm&l=https://img.tqdm.ml/favicon.png&f=https://img.tqdm.ml/logo.gif&style=social
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tqdm-4.64.0/tqdm.egg-info/entry_points.txt 
new/tqdm-4.64.1/tqdm.egg-info/entry_points.txt
--- old/tqdm-4.64.0/tqdm.egg-info/entry_points.txt      2022-04-04 
03:48:42.000000000 +0200
+++ new/tqdm-4.64.1/tqdm.egg-info/entry_points.txt      2022-09-03 
13:10:23.000000000 +0200
@@ -1,3 +1,2 @@
 [console_scripts]
 tqdm = tqdm.cli:main
-

Reply via email to