14
0
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:
2021-01-13 11:30:12 +00:00
committed by Git OBS Bridge
parent d3f2b714e5
commit 13a9fe7e88
5 changed files with 29 additions and 9 deletions

13
pandas.patch Normal file
View 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