Accepting request 843704 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/843704 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tqdm?expand=0&rev=37
This commit is contained in:
5840
python-tqdm-remove-nose.patch
Normal file
5840
python-tqdm-remove-nose.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,63 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 23 13:47:03 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- added patches
|
||||||
|
https://github.com/tqdm/tqdm/pull/1052
|
||||||
|
+ python-tqdm-remove-nose.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 10 18:46:08 UTC 2020 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
- update to version 4.50.2:
|
||||||
|
* fixed platform.system() causing fork() warnings (#691)
|
||||||
|
* fixed contrib.concurrent.process_map pickling error with
|
||||||
|
threading.RLock (#920)
|
||||||
|
* updated documentation & examples
|
||||||
|
* updated CI framework
|
||||||
|
* updated tests
|
||||||
|
* misc code tidy
|
||||||
|
|
||||||
|
- changes from version 4.50.1 :
|
||||||
|
* fix multiprocessing lock creation leak (#982, #936, #759)
|
||||||
|
+ fixes #617 which introduced this bug (v4.29.0, released
|
||||||
|
2019-01-06, undiagnosed until now) where multiple threads could
|
||||||
|
concurrently create and append process locks to a global list,
|
||||||
|
then try to release them without first acquiring 👿
|
||||||
|
* major test overhaul: fix, update, and speed up
|
||||||
|
* misc CI framework updates
|
||||||
|
* code linting
|
||||||
|
* minor documentation tidy
|
||||||
|
|
||||||
|
- changes from version 4.50.0:
|
||||||
|
* add bar colour option (#1040 <- #450)
|
||||||
|
+ for notebook as well as std/CLI
|
||||||
|
+ plain text as well as hex (e.g. 'green' or '#00ff00')
|
||||||
|
* notebook improvements (#1032 <- #1031)
|
||||||
|
+ split bar description into separate widget
|
||||||
|
+ improve reset() (handle width and colour)
|
||||||
|
* fix exceptions when file is closed (#1041, #1036 <- #1033)
|
||||||
|
* add & update tests
|
||||||
|
* minor documentation updates
|
||||||
|
* move and configure issue/pr templates
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 19 15:28:17 UTC 2020 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
- update to version 4.49.0:
|
||||||
|
* CLI: add --tee (#1014 <- #1013)
|
||||||
|
* CLI: add --update and --update_to (#996 <- #975)
|
||||||
|
* CLI: add --null (#996)
|
||||||
|
* CLI: accept - instead of _ in options (e.g. --update-to)
|
||||||
|
* make update() return True on display to ease efficient use of
|
||||||
|
custom callbacks (#845)
|
||||||
|
* fix py>=3 CLI --delim encoding error
|
||||||
|
* fix py>=3.5 version detection in tqdm.auto (#1029 <- #1028)
|
||||||
|
* fix final ETA when using initial (#1021 <- #689)
|
||||||
|
* update documentation
|
||||||
|
+ add & update custom callback examples
|
||||||
|
+ improve help formatting of boolean CLI options
|
||||||
|
* add & update tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 15 16:43:55 UTC 2020 - Arun Persaud <arun@gmx.de>
|
Sat Aug 15 16:43:55 UTC 2020 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@@ -28,12 +28,14 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
Name: python-tqdm%{pkg_suffix}
|
Name: python-tqdm%{pkg_suffix}
|
||||||
Version: 4.48.2
|
Version: 4.50.2
|
||||||
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: python-tqdm-remove-nose.patch
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -42,9 +44,9 @@ Requires(postun): update-alternatives
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module nose}
|
|
||||||
BuildRequires: %{python_module numpy}
|
BuildRequires: %{python_module numpy}
|
||||||
BuildRequires: %{python_module pandas}
|
BuildRequires: %{python_module pandas}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module tqdm}
|
BuildRequires: %{python_module tqdm}
|
||||||
BuildRequires: python3-ipython
|
BuildRequires: python3-ipython
|
||||||
BuildRequires: python3-ipywidgets
|
BuildRequires: python3-ipywidgets
|
||||||
@@ -60,6 +62,7 @@ and does not require ncurses.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n tqdm-%{version}
|
%setup -q -n tqdm-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -82,9 +85,12 @@ install -m 644 -D tqdm/completion.sh %{buildroot}%{_datadir}/bash-completion/com
|
|||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
%{python_expand PYTHONPATH=%{$python_sitelib}
|
# test_perf: flaky
|
||||||
nosetests-%%{$python_bin_suffix} --ignore-files="tests_perf\.py" --ignore-files="tests_synchronisation\.py" tqdm/
|
# test_synchronisation: hangs
|
||||||
}
|
# test_main: todo upstream, TypeError: a bytes-like object is required, not 'str'
|
||||||
|
# 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:564d632ea2b9cb52979f7956e093e831c28d441c11751682f84c86fc46e4fd21
|
|
||||||
size 148978
|
|
3
tqdm-4.50.2.tar.gz
Normal file
3
tqdm-4.50.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:69dfa6714dee976e2425a9aab84b622675b7b1742873041e3db8a8e86132a4af
|
||||||
|
size 153853
|
Reference in New Issue
Block a user