pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-itsdangerous py-itsdangerous: update to 2....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07839c0c2a63
branches:  trunk
changeset: 378102:07839c0c2a63
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Apr 29 12:05:02 2022 +0000

description:
py-itsdangerous: update to 2.1.2.

Version 2.1.2
-------------

Released 2022-03-24

-   Handle date overflow in timed unsign on 32-bit systems. :pr:`299`


Version 2.1.1
-------------

Released 2022-03-09

-   Handle date overflow in timed unsign. :pr:`296`


Version 2.1.0
-------------

Released 2022-02-17

-   Drop support for Python 3.6. :pr:`272`
-   Remove previously deprecated code. :pr:`273`

    -   JWS functionality: Use a dedicated library such as Authlib
        instead.
    -   ``import itsdangerous.json``: Import ``json`` from the standard
        library instead.


Version 2.0.1
-------------

Released 2021-05-18

-   Mark top-level names as exported so type checking understands
    imports in user projects. :pr:`240`
-   The ``salt`` argument to ``Serializer`` and ``Signer`` can be
    ``None`` again. :issue:`237`


Version 2.0.0
-------------

Released 2021-05-11

-   Drop support for Python 2 and 3.5.
-   JWS support (``JSONWebSignatureSerializer``,
    ``TimedJSONWebSignatureSerializer``) is deprecated. Use a dedicated
    JWS/JWT library such as authlib instead. :issue:`129`
-   Importing ``itsdangerous.json`` is deprecated. Import Python's
    ``json`` module instead. :pr:`152`
-   Simplejson is no longer used if it is installed. To use a different
    library, pass it as ``Serializer(serializer=...)``. :issue:`146`
-   ``datetime`` values are timezone-aware with ``timezone.utc``. Code
    using ``TimestampSigner.unsign(return_timestamp=True)`` or
    ``BadTimeSignature.date_signed`` may need to change. :issue:`150`
-   If a signature has an age less than 0, it will raise
    ``SignatureExpired`` rather than appearing valid. This can happen if
    the timestamp offset is changed. :issue:`126`
-   ``BadTimeSignature.date_signed`` is always a ``datetime`` object
    rather than an ``int`` in some cases. :issue:`124`
-   Added support for key rotation. A list of keys can be passed as
    ``secret_key``, oldest to newest. The newest key is used for
    signing, all keys are tried for unsigning. :pr:`141`
-   Removed the default SHA-512 fallback signer from
    ``default_fallback_signers``. :issue:`155`
-   Add type information for static typing tools. :pr:`186`

diffstat:

 security/py-itsdangerous/Makefile |  7 ++++---
 security/py-itsdangerous/PLIST    |  9 ++-------
 security/py-itsdangerous/distinfo |  8 ++++----
 3 files changed, 10 insertions(+), 14 deletions(-)

diffs (65 lines):

diff -r 92be2349b8b0 -r 07839c0c2a63 security/py-itsdangerous/Makefile
--- a/security/py-itsdangerous/Makefile Fri Apr 29 11:57:42 2022 +0000
+++ b/security/py-itsdangerous/Makefile Fri Apr 29 12:05:02 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2022/01/04 20:54:41 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/04/29 12:05:02 wiz Exp $
 
-DISTNAME=      itsdangerous-1.1.0
+DISTNAME=      itsdangerous-2.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/itsdangerous/}
 
@@ -13,5 +12,7 @@
 
 USE_LANGUAGES= # empty
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 92be2349b8b0 -r 07839c0c2a63 security/py-itsdangerous/PLIST
--- a/security/py-itsdangerous/PLIST    Fri Apr 29 11:57:42 2022 +0000
+++ b/security/py-itsdangerous/PLIST    Fri Apr 29 12:05:02 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2018/11/11 16:20:42 kleink Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/04/29 12:05:02 wiz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -6,9 +6,6 @@
 ${PYSITELIB}/itsdangerous/__init__.py
 ${PYSITELIB}/itsdangerous/__init__.pyc
 ${PYSITELIB}/itsdangerous/__init__.pyo
-${PYSITELIB}/itsdangerous/_compat.py
-${PYSITELIB}/itsdangerous/_compat.pyc
-${PYSITELIB}/itsdangerous/_compat.pyo
 ${PYSITELIB}/itsdangerous/_json.py
 ${PYSITELIB}/itsdangerous/_json.pyc
 ${PYSITELIB}/itsdangerous/_json.pyo
@@ -18,9 +15,7 @@
 ${PYSITELIB}/itsdangerous/exc.py
 ${PYSITELIB}/itsdangerous/exc.pyc
 ${PYSITELIB}/itsdangerous/exc.pyo
-${PYSITELIB}/itsdangerous/jws.py
-${PYSITELIB}/itsdangerous/jws.pyc
-${PYSITELIB}/itsdangerous/jws.pyo
+${PYSITELIB}/itsdangerous/py.typed
 ${PYSITELIB}/itsdangerous/serializer.py
 ${PYSITELIB}/itsdangerous/serializer.pyc
 ${PYSITELIB}/itsdangerous/serializer.pyo
diff -r 92be2349b8b0 -r 07839c0c2a63 security/py-itsdangerous/distinfo
--- a/security/py-itsdangerous/distinfo Fri Apr 29 11:57:42 2022 +0000
+++ b/security/py-itsdangerous/distinfo Fri Apr 29 12:05:02 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:17:46 nia Exp $
+$NetBSD: distinfo,v 1.9 2022/04/29 12:05:02 wiz Exp $
 
-BLAKE2s (itsdangerous-1.1.0.tar.gz) = 944d18d138c6d89d17c6f7394f457d1ba01f7be88dede0cad657fef884677f4c
-SHA512 (itsdangerous-1.1.0.tar.gz) = 61bab3fce5f87a3b5fc8fad61e735a63df6aa039416ee3494e1c99a2a1162b4fb72793bc5dc949de0985724c40121810b159513606c4c3976a7666dba3a1b93d
-Size (itsdangerous-1.1.0.tar.gz) = 53219 bytes
+BLAKE2s (itsdangerous-2.1.2.tar.gz) = 0d609698c3d13695ed097008577701c0ce38b429f9e11a72ad8de107d310a5fc
+SHA512 (itsdangerous-2.1.2.tar.gz) = e4d870a33992b309ed778f403c0c1e098983a693d1165260748bf36385ebfadb583811e05ddd48001a33cf6a4e963b7dd8a8c68919c5b4b86f63621d8869e259
+Size (itsdangerous-2.1.2.tar.gz) = 56143 bytes



Home | Main Index | Thread Index | Old Index