forked from pool/python-itsdangerous
Accepting request 972242 from home:stroeder:python
- update to 2.1.2 * Handle date overflow in timed unsign on 32-bit systems. :pr:`299` - removed obsolete 32bit-handle-overflow.patch OBS-URL: https://build.opensuse.org/request/show/972242 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-itsdangerous?expand=0&rev=22
This commit is contained in:
parent
f4fb0b5a01
commit
c212160513
@ -1,11 +0,0 @@
|
||||
--- itsdangerous-2.1.1/src/itsdangerous/timed.py
|
||||
+++ itsdangerous-2.1.1/src/itsdangerous/timed.py
|
||||
@@ -126,7 +126,7 @@
|
||||
if ts_int is not None:
|
||||
try:
|
||||
ts_dt = self.timestamp_to_datetime(ts_int)
|
||||
- except (ValueError, OSError) as exc:
|
||||
+ except (OverflowError, ValueError, OSError) as exc:
|
||||
# Windows raises OSError
|
||||
raise BadTimeSignature(
|
||||
"Malformed timestamp", payload=value
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7b7d3023cd35d9cb0c1fd91392f8c95c6fa02c59bf8ad64b8849be3401b95afb
|
||||
size 56217
|
BIN
itsdangerous-2.1.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
itsdangerous-2.1.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 22 20:36:41 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
- update to 2.1.2
|
||||
* Handle date overflow in timed unsign on 32-bit systems. :pr:`299`
|
||||
- removed obsolete 32bit-handle-overflow.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 24 11:57:23 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -20,15 +20,13 @@
|
||||
%define skip_python2 1
|
||||
%global skip_python36 1
|
||||
Name: python-itsdangerous
|
||||
Version: 2.1.1
|
||||
Version: 2.1.2
|
||||
Release: 0
|
||||
Summary: Various helpers to pass trusted data to untrusted environments and back
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://itsdangerous.palletsprojects.com
|
||||
Source: https://files.pythonhosted.org/packages/source/i/itsdangerous/itsdangerous-%{version}.tar.gz
|
||||
# https://github.com/pallets/itsdangerous/pull/299
|
||||
Patch1: 32bit-handle-overflow.patch
|
||||
BuildRequires: %{python_module freezegun}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@ -52,7 +50,6 @@ Also I plan to add some extra things. Work in progress.
|
||||
|
||||
%prep
|
||||
%setup -q -n itsdangerous-%{version}
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
x
Reference in New Issue
Block a user