forked from pool/python-tqdm
Accepting request 862865 from home:mcalabkova:branches:devel:languages:python
- 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
This commit is contained in:
13
pandas.patch
Normal file
13
pandas.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
Reference in New Issue
Block a user