Sync from SUSE:SLFO:Main python-tqdm revision 0f1edee87df2f883a1d1da2efbe94e92
This commit is contained in:
parent
84f0217a72
commit
2fc4b3ef92
@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 06:38:10 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Re-add conditionals to numpy/pandas, it is required.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 01:37:49 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 4.66.4:
|
||||||
|
* rich: fix completion (#1395 <- #1306)
|
||||||
|
* cli: eval safety (CVE-2024-34062, bsc#1223880)
|
||||||
|
* pandas: add DataFrame.progress_map (#1549)
|
||||||
|
* notebook: fix HTML padding (#1506)
|
||||||
|
* keras: fix resuming training when verbose>=2 (#1508)
|
||||||
|
* fix format_num negative fractions missing leading zero (#1548)
|
||||||
|
* fix Python 3.12 DeprecationWarning on import (#1519)
|
||||||
|
- Drop patch sprinkle-in-timezone.patch: Included upstream.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 24 04:33:40 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Add patch sprinkle-in-timezone.patch:
|
||||||
|
* Add a timezone to the call fromtimestamp()
|
||||||
|
- Switch to autosetup macro.
|
||||||
|
- Remove conditionals from some BuildRequires.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 30 13:36:56 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- %{?sle15_python_module_pythons} must at beginning of spec to work.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 10 21:55:13 UTC 2023 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
- specfile:
|
||||||
|
* switched to pyproject.toml build
|
||||||
|
|
||||||
|
- update to version 4.66.1:
|
||||||
|
* fix utils.envwrap types (#1493 <- #1491, #1320 <- #966, #1319)
|
||||||
|
e.g. cloudwatch & kubernetes workaround: export TQDM_POSITION=-1
|
||||||
|
* drop mentions of unsupported Python versions
|
||||||
|
|
||||||
|
- changes from version 4.66.0:
|
||||||
|
* environment variables to override defaults (TQDM_*) (#1491 <-
|
||||||
|
#1061, #950 <- #614, #1318, #619, #612, #370) e.g. in CI jobs,
|
||||||
|
export TQDM_MININTERVAL=5 to avoid log spam add tests & docs for
|
||||||
|
tqdm.utils.envwrap
|
||||||
|
* fix & update CLI completion
|
||||||
|
* fix & update API docs
|
||||||
|
* minor code tidy: replace os.path => pathlib.Path
|
||||||
|
* fix docs image hosting
|
||||||
|
* release with CI bot account again (cli/cli#6680)
|
||||||
|
|
||||||
|
- changes from version 4.65.2:
|
||||||
|
* exclude examples from distributed wheel (#1492)
|
||||||
|
|
||||||
|
- changes from version 4.65.1:
|
||||||
|
* add Python 3.11 and drop Python 3.6 support (#1439, #1419, #502 <-
|
||||||
|
#720, #620)
|
||||||
|
* misc code & docs tidy
|
||||||
|
* fix & update CI workflows & tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 5 09:18:51 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri May 5 09:18:51 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package python-tqdm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 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,16 +28,18 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-tqdm%{pkg_suffix}
|
Name: python-tqdm%{pkg_suffix}
|
||||||
Version: 4.65.0
|
Version: 4.66.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An extensible progress meter
|
Summary: An extensible progress meter
|
||||||
License: MIT AND MPL-2.0
|
License: MIT AND MPL-2.0
|
||||||
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
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module toml}
|
BuildRequires: %{python_module toml}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
@ -46,12 +48,14 @@ Enhances: python-ipython
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module numpy if (python-base without python36-base)}
|
|
||||||
BuildRequires: %{python_module pytest-asyncio}
|
BuildRequires: %{python_module pytest-asyncio}
|
||||||
|
# Conditional required for SLE-15-SP4+
|
||||||
|
BuildRequires: %{python_module numpy if (python-base without python36-base)}
|
||||||
BuildRequires: %{python_module pytest-timeout}
|
BuildRequires: %{python_module pytest-timeout}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module tqdm}
|
BuildRequires: %{python_module tqdm = %{version}}
|
||||||
%if ! 0%{?_with_ringdisabled}
|
%if ! 0%{?_with_ringdisabled}
|
||||||
|
# Conditional required for SLE-15-SP4+
|
||||||
BuildRequires: %{python_module pandas if (python-base without python36-base)}
|
BuildRequires: %{python_module pandas if (python-base without python36-base)}
|
||||||
%endif
|
%endif
|
||||||
# /SECTION
|
# /SECTION
|
||||||
@ -78,19 +82,19 @@ and does not require ncurses.
|
|||||||
This package provides the completion file for bash
|
This package provides the completion file for bash
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n tqdm-%{version}
|
%autosetup -p1 -n tqdm-%{version}
|
||||||
# ignore new asyncio mode warning from pytest-asyncio 0.17
|
# ignore new asyncio mode warning from pytest-asyncio 0.17
|
||||||
sed -i 's/-W=error//' setup.cfg
|
sed -i 's/-W=error//' pyproject.toml
|
||||||
# remove bash shebang for completion script
|
# remove bash shebang for completion script
|
||||||
sed -i '1 s/^#!.*/# bash completion for tqdm -*- shell-script -*-/' tqdm/completion.sh
|
sed -i '1 s/^#!.*/# bash completion for tqdm -*- shell-script -*-/' tqdm/completion.sh
|
||||||
chmod a-x tqdm/completion.sh
|
chmod a-x tqdm/completion.sh
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/tqdm
|
%python_clone -a %{buildroot}%{_bindir}/tqdm
|
||||||
install -m 644 -D tqdm/completion.sh %{buildroot}%{_datadir}/bash-completion/completions/tqdm
|
install -m 644 -D tqdm/completion.sh %{buildroot}%{_datadir}/bash-completion/completions/tqdm
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
@ -117,7 +121,7 @@ install -m 644 -D tqdm/completion.sh %{buildroot}%{_datadir}/bash-completion/com
|
|||||||
%doc examples/
|
%doc examples/
|
||||||
%license LICENCE
|
%license LICENCE
|
||||||
%{python_sitelib}/tqdm/
|
%{python_sitelib}/tqdm/
|
||||||
%{python_sitelib}/tqdm-%{version}*-info
|
%{python_sitelib}/tqdm-%{version}.dist-info
|
||||||
%python_alternative %{_bindir}/tqdm
|
%python_alternative %{_bindir}/tqdm
|
||||||
|
|
||||||
%files -n %{allpython}-tqdm-bash-completion
|
%files -n %{allpython}-tqdm-bash-completion
|
||||||
|
BIN
tqdm-4.65.0.tar.gz
(Stored with Git LFS)
BIN
tqdm-4.65.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
tqdm-4.66.4.tar.gz
(Stored with Git LFS)
Normal file
BIN
tqdm-4.66.4.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user