Accepting request 862866 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/862866 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tqdm?expand=0&rev=39
This commit is contained in:
commit
b3e6f736a8
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
|
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,58 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 13 10:15:20 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Update to 4.56.0
|
||||||
|
* some tqdm.gui improvements
|
||||||
|
- Fix testsuite with pandas.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 10 20:21:47 UTC 2021 - andy great <andythe_great@pm.me>
|
||||||
|
|
||||||
|
- Update to version 4.55.2.
|
||||||
|
* update tests
|
||||||
|
* make pre-commit pytest quicker
|
||||||
|
* switch pre-commit from make to python
|
||||||
|
* update contributing guidelines
|
||||||
|
* fix formatting
|
||||||
|
* test dependencies
|
||||||
|
* update .gitignore
|
||||||
|
* fix (auto & manual) formatting
|
||||||
|
* fix minor detected bugs
|
||||||
|
- Updates for 4.55.1.
|
||||||
|
* fix (Rolling|Expanding).progress_apply() on pandas==1.2.0
|
||||||
|
* minor documentation updates
|
||||||
|
- Updates for 4.55.0.
|
||||||
|
* fix ASCII notebook export
|
||||||
|
* fix notebook gui-mode extra spaces
|
||||||
|
* better ETA for early iterations
|
||||||
|
* better ETA for wildly varying iteration rates
|
||||||
|
* update submodule inheritance
|
||||||
|
* tqdm.gui
|
||||||
|
* tqdm.notebook
|
||||||
|
* tqdm.contrib.telegram
|
||||||
|
* tqdm.contrib.discord
|
||||||
|
* documentation updates
|
||||||
|
* misc code optimisations
|
||||||
|
* add tests
|
||||||
|
* misc code linting/formatting
|
||||||
|
- Updates for 4.54.1.
|
||||||
|
* drop py3.4 (no longer tested)
|
||||||
|
- Updates for 4.54.0.
|
||||||
|
* get rid of get_new
|
||||||
|
- Updates for 4.53.0.
|
||||||
|
* provide get_new() helper for mixed subclasses in nested mode
|
||||||
|
* fix nested asyncio (#1074)
|
||||||
|
* document async break hazard
|
||||||
|
* add tests
|
||||||
|
* drop py2.6/3.2/3.3 and distutils (no longer tested)
|
||||||
|
* drop py2.6
|
||||||
|
* drop distutils in favour of setuptools/setup.cfg
|
||||||
|
* use setuptools_scm
|
||||||
|
* fix & update tests
|
||||||
|
* fix & upgrade snap build
|
||||||
|
* update CONTRIBUTING docs
|
||||||
|
- Remove python-tqdm-remove-nose.patch, fixed.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 3 14:06:32 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
Tue Nov 3 14:06:32 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-tqdm
|
# spec file for package python-tqdm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -28,15 +28,16 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
Name: python-tqdm%{pkg_suffix}
|
Name: python-tqdm%{pkg_suffix}
|
||||||
Version: 4.50.2
|
Version: 4.56.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An extensible progress meter
|
Summary: An extensible progress meter
|
||||||
License: MPL-2.0 AND MIT
|
License: MPL-2.0 AND MIT
|
||||||
URL: https://github.com/tqdm/tqdm
|
URL: https://github.com/tqdm/tqdm
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/tqdm/tqdm-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/tqdm/tqdm-%{version}.tar.gz
|
||||||
# https://github.com/tqdm/tqdm/pull/1052
|
Patch0: pandas.patch
|
||||||
Patch0: python-tqdm-remove-nose.patch
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module toml}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
@ -46,6 +47,8 @@ BuildArch: noarch
|
|||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module numpy}
|
BuildRequires: %{python_module numpy}
|
||||||
BuildRequires: %{python_module pandas}
|
BuildRequires: %{python_module pandas}
|
||||||
|
BuildRequires: %{python_module pytest-asyncio}
|
||||||
|
BuildRequires: %{python_module pytest-timeout}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module tqdm}
|
BuildRequires: %{python_module tqdm}
|
||||||
BuildRequires: python3-ipython
|
BuildRequires: python3-ipython
|
||||||
@ -104,10 +107,7 @@ install -m 644 -D tqdm/completion.sh %{buildroot}%{_datadir}/bash-completion/com
|
|||||||
%check
|
%check
|
||||||
# test_perf: flaky
|
# test_perf: flaky
|
||||||
# test_synchronisation: hangs
|
# test_synchronisation: hangs
|
||||||
# test_main: todo upstream, TypeError: a bytes-like object is required, not 'str'
|
%pytest -k "not (tests_perf or tests_synchronisation)"
|
||||||
# also disabled in https://github.com/tqdm/tqdm/pull/1052
|
|
||||||
# and left upstream to solve
|
|
||||||
%pytest -k "not (tests_perf or tests_synchronisation or test_main)" tqdm/
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:69dfa6714dee976e2425a9aab84b622675b7b1742873041e3db8a8e86132a4af
|
|
||||||
size 153853
|
|
3
tqdm-4.56.0.tar.gz
Normal file
3
tqdm-4.56.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fe3d08dd00a526850568d542ff9de9bbc2a09a791da3c334f3213d8d0bbbca65
|
||||||
|
size 166848
|
Loading…
x
Reference in New Issue
Block a user