From c54ed7501b056bb2c6d99e08b4a9bf67a8718c2240b80f4a361655d578635707 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 6 Apr 2021 08:29:37 +0000 Subject: [PATCH] Accepting request 882927 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/882927 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tqdm?expand=0&rev=97 --- pandas.patch | 13 ------------- python-tqdm.changes | 33 +++++++++++++++++++++++++++++++++ python-tqdm.spec | 23 ++++++++++------------- tqdm-4.56.2.tar.gz | 3 --- tqdm-4.59.0.tar.gz | 3 +++ 5 files changed, 46 insertions(+), 29 deletions(-) delete mode 100644 pandas.patch delete mode 100644 tqdm-4.56.2.tar.gz create mode 100644 tqdm-4.59.0.tar.gz diff --git a/pandas.patch b/pandas.patch deleted file mode 100644 index d5adf12..0000000 --- a/pandas.patch +++ /dev/null @@ -1,13 +0,0 @@ -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 diff --git a/python-tqdm.changes b/python-tqdm.changes index c01aff4..a83499b 100644 --- a/python-tqdm.changes +++ b/python-tqdm.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Sun Mar 28 16:32:36 UTC 2021 - Arun Persaud + +- specfile: + * remove pandas.patch, seems to be included upstreams + +- update to version 4.59.0: + * add tqdm.dask.TqdmCallback (#1079, #279 <- #278) + * add asyncio.gather() (#1136) + * add basic support for length_hint (#1068) + * add & update tests + * misc documentation updates (#1132) + + update contributing guide + + update URLs + + bash completion: add missing --delay + * misc code tidy + + add [notebook] extra (#1135) + +- changes from version 4.58.0: + * add start delay in seconds (#836 <- #1069, #704) + * add tests + * misc code tidy (#1130) + * misc documentation updates + +- changes from version 4.57.0: + * add line buffering for DummyTqdmFile (#960) + * fix & update demo notebook (#1127) + * fix py3 urllib examples (#1127) + * suppress deprecated pandas warnings (#824, #1094) + * misc framework updates + * misc tests updates + * misc code tidy + ------------------------------------------------------------------- Mon Feb 15 22:55:14 UTC 2021 - Ben Greiner diff --git a/python-tqdm.spec b/python-tqdm.spec index 41c47e7..3f395fd 100644 --- a/python-tqdm.spec +++ b/python-tqdm.spec @@ -1,5 +1,5 @@ # -# spec file for package python-tqdm +# spec file for package python-tqdm-test # # Copyright (c) 2021 SUSE LLC # @@ -28,31 +28,30 @@ %bcond_with test %endif Name: python-tqdm%{pkg_suffix} -Version: 4.56.2 +Version: 4.59.0 Release: 0 Summary: An extensible progress meter -License: MPL-2.0 AND MIT +License: MIT AND MPL-2.0 URL: https://github.com/tqdm/tqdm Source: https://files.pythonhosted.org/packages/source/t/tqdm/tqdm-%{version}.tar.gz -Patch0: pandas.patch BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module toml} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun): update-alternatives -BuildArch: noarch +Requires(postun):update-alternatives Enhances: python-ipython +BuildArch: noarch %if %{with test} # SECTION test requirements +BuildRequires: %{python_module numpy if (python-base without python36-base)} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} BuildRequires: %{python_module tqdm} -BuildRequires: %{python_module numpy if (%python-base without python36-base)} %if ! 0%{?_with_ringdisabled} -BuildRequires: %{python_module pandas if (%python-base without python36-base)} +BuildRequires: %{python_module pandas if (python-base without python36-base)} %endif # /SECTION %endif @@ -64,12 +63,12 @@ any iterable with "tqdm(iterable)". tqdm's overhead is one order of magnitude less than python-progressbar and does not require ncurses. -%package -n %allpython-tqdm-bash-completion +%package -n %{allpython}-tqdm-bash-completion Summary: Bash completion for python-tqdm Requires: bash-completion Supplements: %{python_module tqdm and bash-completion} -%description -n %allpython-tqdm-bash-completion +%description -n %{allpython}-tqdm-bash-completion tqdm lets you output a progress meter from within loops by wrapping any iterable with "tqdm(iterable)". tqdm's overhead is one order of magnitude less than python-progressbar @@ -77,10 +76,8 @@ and does not require ncurses. This package provides the completion file for bash - %prep %setup -q -n tqdm-%{version} -%patch0 -p1 # remove bash shebang for completion script sed -i '1 s/^#!.*/# bash completion for tqdm -*- shell-script -*-/' tqdm/completion.sh chmod a-x tqdm/completion.sh @@ -120,7 +117,7 @@ install -m 644 -D tqdm/completion.sh %{buildroot}%{_datadir}/bash-completion/com %{python_sitelib}/tqdm-%{version}*-info %python_alternative %{_bindir}/tqdm -%files -n %allpython-tqdm-bash-completion +%files -n %{allpython}-tqdm-bash-completion %license LICENCE %{_datadir}/bash-completion/completions/tqdm %endif diff --git a/tqdm-4.56.2.tar.gz b/tqdm-4.56.2.tar.gz deleted file mode 100644 index 52d1d6e..0000000 --- a/tqdm-4.56.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:11d544652edbdfc9cc41aa4c8a5c166513e279f3f2d9f1a9e1c89935b51de6ff -size 167040 diff --git a/tqdm-4.59.0.tar.gz b/tqdm-4.59.0.tar.gz new file mode 100644 index 0000000..2bd0745 --- /dev/null +++ b/tqdm-4.59.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d666ae29164da3e517fcf125e41d4fe96e5bb375cd87ff9763f6b38b5592fe33 +size 168620