- Update to 4.56.0 * some tqdm.gui improvements - Fix testsuite with pandas.patch OBS-URL: https://build.opensuse.org/request/show/862865 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tqdm?expand=0&rev=90
14 lines
524 B
Diff
14 lines
524 B
Diff
Index: tqdm-4.56.0/tqdm/std.py
|
|
===================================================================
|
|
--- tqdm-4.56.0.orig/tqdm/std.py
|
|
+++ tqdm-4.56.0/tqdm/std.py
|
|
@@ -702,6 +702,8 @@ class tqdm(Comparable):
|
|
from pandas import Panel
|
|
except ImportError: # TODO: pandas>0.25.2
|
|
Panel = None
|
|
+ except FutureWarning:
|
|
+ Panel = None
|
|
Rolling, Expanding = None, None
|
|
try: # pandas>=1.0.0
|
|
from pandas.core.window.rolling import _Rolling_and_Expanding
|