diff --git a/python-tqdm.changes b/python-tqdm.changes index 1e9c964..20061ed 100644 --- a/python-tqdm.changes +++ b/python-tqdm.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue May 7 01:37:49 UTC 2024 - Steve Kowalik + +- 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 diff --git a/python-tqdm.spec b/python-tqdm.spec index 375ad34..42fe2e8 100644 --- a/python-tqdm.spec +++ b/python-tqdm.spec @@ -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 # remain the property of their copyright owners, unless otherwise agreed @@ -28,14 +28,12 @@ %endif %{?sle15_python_module_pythons} Name: python-tqdm%{pkg_suffix} -Version: 4.66.1 +Version: 4.66.4 Release: 0 Summary: An extensible progress meter 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 -# PATCH-FIX-UPSTREAM gh#tqdm/tqdm#1519 Specify a timezone for fromtimestamp() -Patch0: sprinkle-in-timezone.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} @@ -45,7 +43,7 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Enhances: python-ipython BuildArch: noarch %if %{with test} diff --git a/sprinkle-in-timezone.patch b/sprinkle-in-timezone.patch deleted file mode 100644 index a730dff..0000000 --- a/sprinkle-in-timezone.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 6945b214bc4faac8db459d8734b4b8d116ba54a9 Mon Sep 17 00:00:00 2001 -From: jamate -Date: Wed, 4 Oct 2023 11:58:14 -0500 -Subject: [PATCH] Fix DeprecationWarning for datetime.utcfromtimestamp in - Python 3.12 - ---- - tqdm/std.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tqdm/std.py b/tqdm/std.py -index 9ba8e8506..83386c5fe 100644 ---- a/tqdm/std.py -+++ b/tqdm/std.py -@@ -10,7 +10,7 @@ - import sys - from collections import OrderedDict, defaultdict - from contextlib import contextmanager --from datetime import datetime, timedelta -+from datetime import datetime, timedelta, timezone - from numbers import Number - from time import time - from warnings import warn -@@ -577,7 +577,7 @@ def format_meter(n, total, elapsed, ncols=None, prefix='', ascii=False, unit='it - remaining_str = tqdm.format_interval(remaining) if rate else '?' - try: - eta_dt = (datetime.now() + timedelta(seconds=remaining) -- if rate and total else datetime.utcfromtimestamp(0)) -+ if rate and total else datetime.fromtimestamp(0, timezone.utc)) - except OverflowError: - eta_dt = datetime.max - diff --git a/tqdm-4.66.1.tar.gz b/tqdm-4.66.1.tar.gz deleted file mode 100644 index ecbd357..0000000 --- a/tqdm-4.66.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d88e651f9db8d8551a62556d3cff9e3034274ca5d66e93197cf2490e2dcb69c7 -size 169147 diff --git a/tqdm-4.66.4.tar.gz b/tqdm-4.66.4.tar.gz new file mode 100644 index 0000000..b6dcab9 --- /dev/null +++ b/tqdm-4.66.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4d936c9de8727928f3be6079590e97d9abfe8d39a590be678eb5919ffc186bb +size 169392