pkgsrc-Changes archive

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

CVS commit: pkgsrc/www



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Nov  1 00:35:12 UTC 2024

Modified Files:
        pkgsrc/www/py-werkzeug: Makefile Makefile.common PLIST distinfo
        pkgsrc/www/py-werkzeug-docs: Makefile

Log Message:
py-werkzeug*: update to 3.1.0

Version 3.1.0
-------------

Released 2024-10-31

-   Drop support for Python 3.8. :pr:`2966`
-   Remove previously deprecated code. :pr:`2967`
-   ``Request.max_form_memory_size`` defaults to 500kB instead of unlimited.
    Non-file form fields over this size will cause a ``RequestEntityTooLarge``
    error. :issue:`2964`
-   ``OrderedMultiDict`` and ``ImmutableOrderedMultiDict`` are deprecated.
    Use ``MultiDict`` and ``ImmutableMultiDict`` instead. :issue:`2968`
-   Behavior of properties on ``request.cache_control`` and
    ``response.cache_control`` has been significantly adjusted.

    -   Dict values are always ``str | None``. Setting properties will convert
        the value to a string. Setting a property to ``False`` is equivalent to
        setting it to ``None``. Getting typed properties will return ``None`` if
        conversion raises ``ValueError``, rather than the string. :issue:`2980`
    -   ``max_age`` is ``None`` if present without a value, rather than ``-1``.
        :issue:`2980`
    -   ``no_cache`` is a boolean for requests, it is ``True`` instead of
        ``"*"`` when present. It remains a string for responses. :issue:`2980`
    -   ``max_stale`` is ``True`` if present without a value, rather
        than ``"*"``. :issue:`2980`
    -   ``no_transform`` is a boolean. Previously it was mistakenly always
        ``None``. :issue:`2881`
    -   ``min_fresh`` is ``None`` if present without a value, rather than
        ``"*"``. :issue:`2881`
    -   ``private`` is ``True`` if present without a value, rather than ``"*"``.
        :issue:`2980`
    -   Added the ``must_understand`` property. :issue:`2881`
    -   Added the ``stale_while_revalidate``, and ``stale_if_error``
        properties. :issue:`2948`
    -   Type annotations more accurately reflect the values. :issue:`2881`

-   Support Cookie CHIPS (Partitioned Cookies). :issue:`2797`
-   Add 421 ``MisdirectedRequest`` HTTP exception. :issue:`2850`
-   Increase default work factor for PBKDF2 to 1,000,000 iterations.
    :issue:`2969`
-   Inline annotations for ``datastructures``, removing stub files.
    :issue:`2970`
-   ``MultiDict.getlist`` catches ``TypeError`` in addition to ``ValueError``
    when doing type conversion. :issue:`2976`
-   Implement ``|`` and ``|=`` operators for ``MultiDict``, ``Headers``, and
    ``CallbackDict``, and disallow ``|=`` on immutable types. :issue:`2977`

Version 3.0.6
-------------

Released 2024-10-25

-   Fix how ``max_form_memory_size`` is applied when parsing large non-file
    fields. :ghsa:`q34m-jh98-gwm2`
-   ``safe_join`` catches certain paths on Windows that were not caught by
    ``ntpath.isabs`` on Python < 3.11. :ghsa:`f9vj-2wh5-fj8j`

Version 3.0.5
-------------

Released 2024-10-24

-   The Watchdog reloader ignores file closed no write events. :issue:`2945`
-   Logging works with client addresses containing an IPv6 scope :issue:`2952`
-   Ignore invalid authorization parameters. :issue:`2955`
-   Improve type annotation fore ``SharedDataMiddleware``. :issue:`2958`
-   Compatibility with Python 3.13 when generating debugger pin and the current
    UID does not have an associated name. :issue:`2957`


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/www/py-werkzeug/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/www/py-werkzeug/Makefile.common \
    pkgsrc/www/py-werkzeug/distinfo
cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/py-werkzeug/PLIST
cvs rdiff -u -r1.22 -r1.23 pkgsrc/www/py-werkzeug-docs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-werkzeug/Makefile
diff -u pkgsrc/www/py-werkzeug/Makefile:1.29 pkgsrc/www/py-werkzeug/Makefile:1.30
--- pkgsrc/www/py-werkzeug/Makefile:1.29        Sun Aug 25 10:31:56 2024
+++ pkgsrc/www/py-werkzeug/Makefile     Fri Nov  1 00:35:12 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2024/08/25 10:31:56 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2024/11/01 00:35:12 wiz Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 
@@ -16,8 +16,10 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-test-[0-9]
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-xprocess-[0-9]*:../../devel/py-test-xprocess
 
-# as of 3.0.4
-# 17 failed, 879 passed, 1 skipped, 8 errors
+# as of 3.1.0 - tests hang. interrupt gives:
+# 1 failed, 685 passed
+# previous version:
+# 18 failed, 887 passed, 1 skipped
 
 EGDIR=                 share/examples/${PKGBASE}
 PLIST_SUBST+=          EGDIR=${EGDIR}

Index: pkgsrc/www/py-werkzeug/Makefile.common
diff -u pkgsrc/www/py-werkzeug/Makefile.common:1.40 pkgsrc/www/py-werkzeug/Makefile.common:1.41
--- pkgsrc/www/py-werkzeug/Makefile.common:1.40 Sun Aug 25 10:31:56 2024
+++ pkgsrc/www/py-werkzeug/Makefile.common      Fri Nov  1 00:35:12 2024
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.40 2024/08/25 10:31:56 wiz Exp $
+# $NetBSD: Makefile.common,v 1.41 2024/11/01 00:35:12 wiz Exp $
 #
 # used by www/py-werkzeug/Makefile
 # used by www/py-werkzeug-docs/Makefile
 
-DISTNAME=      werkzeug-3.0.4
+DISTNAME=      werkzeug-3.1.0
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/werkzeug/}
 
Index: pkgsrc/www/py-werkzeug/distinfo
diff -u pkgsrc/www/py-werkzeug/distinfo:1.40 pkgsrc/www/py-werkzeug/distinfo:1.41
--- pkgsrc/www/py-werkzeug/distinfo:1.40        Sun Aug 25 10:31:56 2024
+++ pkgsrc/www/py-werkzeug/distinfo     Fri Nov  1 00:35:12 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.40 2024/08/25 10:31:56 wiz Exp $
+$NetBSD: distinfo,v 1.41 2024/11/01 00:35:12 wiz Exp $
 
-BLAKE2s (werkzeug-3.0.4.tar.gz) = 4a6d071b4fd764ce702a630479847bb6dfd21a60092679a8840f7d92bbad6faa
-SHA512 (werkzeug-3.0.4.tar.gz) = 40ca7a6c54ba5593a854d6fda6c6b0fed08f03aa970ac83c86aa16b434b6f24f204ca425a0fae3f42610ce6e7ff9220224cc927018a7181d673b48b71b848422
-Size (werkzeug-3.0.4.tar.gz) = 803966 bytes
+BLAKE2s (werkzeug-3.1.0.tar.gz) = 53f0f297e31e5f5678097a216e1e5d6577af6fd9969c0846c75f5728a1cab61b
+SHA512 (werkzeug-3.1.0.tar.gz) = 1c1e7f6a2e08aaf5a41f99dd41193cc1177a01242c9281cb7170db84fb193b15a1c3291ef039d8660ac35a89cc6fdf2664f15f742085305a46894f2a2f331976
+Size (werkzeug-3.1.0.tar.gz) = 806386 bytes

Index: pkgsrc/www/py-werkzeug/PLIST
diff -u pkgsrc/www/py-werkzeug/PLIST:1.16 pkgsrc/www/py-werkzeug/PLIST:1.17
--- pkgsrc/www/py-werkzeug/PLIST:1.16   Tue May  7 19:13:00 2024
+++ pkgsrc/www/py-werkzeug/PLIST        Fri Nov  1 00:35:12 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2024/05/07 19:13:00 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2024/11/01 00:35:12 wiz Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -17,42 +17,33 @@ ${PYSITELIB}/werkzeug/datastructures/__i
 ${PYSITELIB}/werkzeug/datastructures/__init__.pyo
 ${PYSITELIB}/werkzeug/datastructures/accept.py
 ${PYSITELIB}/werkzeug/datastructures/accept.pyc
-${PYSITELIB}/werkzeug/datastructures/accept.pyi
 ${PYSITELIB}/werkzeug/datastructures/accept.pyo
 ${PYSITELIB}/werkzeug/datastructures/auth.py
 ${PYSITELIB}/werkzeug/datastructures/auth.pyc
 ${PYSITELIB}/werkzeug/datastructures/auth.pyo
 ${PYSITELIB}/werkzeug/datastructures/cache_control.py
 ${PYSITELIB}/werkzeug/datastructures/cache_control.pyc
-${PYSITELIB}/werkzeug/datastructures/cache_control.pyi
 ${PYSITELIB}/werkzeug/datastructures/cache_control.pyo
 ${PYSITELIB}/werkzeug/datastructures/csp.py
 ${PYSITELIB}/werkzeug/datastructures/csp.pyc
-${PYSITELIB}/werkzeug/datastructures/csp.pyi
 ${PYSITELIB}/werkzeug/datastructures/csp.pyo
 ${PYSITELIB}/werkzeug/datastructures/etag.py
 ${PYSITELIB}/werkzeug/datastructures/etag.pyc
-${PYSITELIB}/werkzeug/datastructures/etag.pyi
 ${PYSITELIB}/werkzeug/datastructures/etag.pyo
 ${PYSITELIB}/werkzeug/datastructures/file_storage.py
 ${PYSITELIB}/werkzeug/datastructures/file_storage.pyc
-${PYSITELIB}/werkzeug/datastructures/file_storage.pyi
 ${PYSITELIB}/werkzeug/datastructures/file_storage.pyo
 ${PYSITELIB}/werkzeug/datastructures/headers.py
 ${PYSITELIB}/werkzeug/datastructures/headers.pyc
-${PYSITELIB}/werkzeug/datastructures/headers.pyi
 ${PYSITELIB}/werkzeug/datastructures/headers.pyo
 ${PYSITELIB}/werkzeug/datastructures/mixins.py
 ${PYSITELIB}/werkzeug/datastructures/mixins.pyc
-${PYSITELIB}/werkzeug/datastructures/mixins.pyi
 ${PYSITELIB}/werkzeug/datastructures/mixins.pyo
 ${PYSITELIB}/werkzeug/datastructures/range.py
 ${PYSITELIB}/werkzeug/datastructures/range.pyc
-${PYSITELIB}/werkzeug/datastructures/range.pyi
 ${PYSITELIB}/werkzeug/datastructures/range.pyo
 ${PYSITELIB}/werkzeug/datastructures/structures.py
 ${PYSITELIB}/werkzeug/datastructures/structures.pyc
-${PYSITELIB}/werkzeug/datastructures/structures.pyi
 ${PYSITELIB}/werkzeug/datastructures/structures.pyo
 ${PYSITELIB}/werkzeug/debug/__init__.py
 ${PYSITELIB}/werkzeug/debug/__init__.pyc

Index: pkgsrc/www/py-werkzeug-docs/Makefile
diff -u pkgsrc/www/py-werkzeug-docs/Makefile:1.22 pkgsrc/www/py-werkzeug-docs/Makefile:1.23
--- pkgsrc/www/py-werkzeug-docs/Makefile:1.22   Mon Oct 14 06:46:09 2024
+++ pkgsrc/www/py-werkzeug-docs/Makefile        Fri Nov  1 00:35:12 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2024/10/14 06:46:09 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2024/11/01 00:35:12 wiz Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-werkzeug-docs-${DISTNAME:C/[^-]*-//}
 COMMENT=       Python WSGI Utility Library (HTML documentation)
@@ -13,8 +13,6 @@ NO_CONFIGURE= yes
 BUILD_TARGET=  html
 BUILD_DIRS=    docs
 
-PYTHON_VERSIONS_INCOMPATIBLE=  39 # py-sphinx
-
 INSTALLATION_DIRS+=    ${DOCDIR}/html
 
 DOCDIR=                share/doc/${PYPKGPREFIX}-${DISTNAME:tl:C/-[^-]*$//}



Home | Main Index | Thread Index | Old Index