- 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tqdm?expand=0&rev=124
This commit is contained in:
parent
9a455ff2bd
commit
e5e8463722
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Fri Nov 24 04:33:40 UTC 2023 - Steve Kowalik <steven.kowalik@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,14 +28,12 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-tqdm%{pkg_suffix}
|
Name: python-tqdm%{pkg_suffix}
|
||||||
Version: 4.66.1
|
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
|
||||||
# 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 base >= 3.7}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
From 6945b214bc4faac8db459d8734b4b8d116ba54a9 Mon Sep 17 00:00:00 2001
|
|
||||||
From: jamate <mateoarcilalopez@gmail.com>
|
|
||||||
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
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d88e651f9db8d8551a62556d3cff9e3034274ca5d66e93197cf2490e2dcb69c7
|
|
||||||
size 169147
|
|
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…
x
Reference in New Issue
Block a user