pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-werkzeug py-werkzeug: updated to 2.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f6f264fb5d9
branches:  trunk
changeset: 382790:7f6f264fb5d9
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Aug 05 11:44:30 2022 +0000

description:
py-werkzeug: updated to 2.2.1

Version 2.2.1
-------------
-   Fix router so that ``/path/`` will match a rule ``/path`` if strict
    slashes mode is disabled for the rule.
-   Fix router so that partial part matches are not allowed
    i.e. ``/2df`` does not match ``/<int>``.
-   Fix router static part weighting, so that simpler routes are matched
    before more complex ones.
-   Restore ``ValidationError`` to be importable from
    ``werkzeug.routing``.


Version 2.2.0
-------------
-   Deprecated ``get_script_name``, ``get_query_string``,
    ``peek_path_info``, ``pop_path_info``, and
    ``extract_path_info``.
-   Remove previously deprecated code.
-   Add MarkupSafe as a dependency and use it to escape values when
    rendering HTML.
-   Added the ``werkzeug.debug.preserve_context`` mechanism for
    restoring context-local data for a request when running code in the
    debug console.
-   Fix compatibility with Python 3.11 by ensuring that ``end_lineno``
    and ``end_col_offset`` are present on AST nodes.
-   Add a new faster matching router based on a state
    machine.
-   Names within options headers are always converted to lowercase. This
    matches :rfc:`6266` that the case is not relevant.
-   ``AnyConverter`` validates the value passed for it when building
    URLs.
-   The debugger shows enhanced error locations in tracebacks in Python
    3.11.
-   Added Sans-IO ``is_resource_modified`` and ``parse_cookie`` functions
    based on WSGI versions.
-   Added Sans-IO ``get_content_length`` function.
-   Don't assume a mimetype for test responses.
-   Type checking ``FileStorage`` accepts ``os.PathLike``.

diffstat:

 www/py-werkzeug/Makefile        |   5 ++---
 www/py-werkzeug/Makefile.common |   4 ++--
 www/py-werkzeug/PLIST           |  26 ++++++++++++++++++++++----
 www/py-werkzeug/distinfo        |   8 ++++----
 4 files changed, 30 insertions(+), 13 deletions(-)

diffs (97 lines):

diff -r 0d242a041417 -r 7f6f264fb5d9 www/py-werkzeug/Makefile
--- a/www/py-werkzeug/Makefile  Fri Aug 05 10:55:01 2022 +0000
+++ b/www/py-werkzeug/Makefile  Fri Aug 05 11:44:30 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2022/04/29 13:36:19 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2022/08/05 11:44:30 adam Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 
@@ -6,6 +6,7 @@
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+DEPENDS+=      ${PYPKGPREFIX}-markupsafe>=2.1.1:../../textproc/py-markupsafe
 # optional
 #DEPENDS+=     ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
 #DEPENDS+=     ${PYPKGPREFIX}-greenlet-[0-9]*:../../devel/py-greenlet
@@ -34,8 +35,6 @@
 
 TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
 
-# as of 2.1.2
-# 18 failed, 804 passed, 8 errors
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
diff -r 0d242a041417 -r 7f6f264fb5d9 www/py-werkzeug/Makefile.common
--- a/www/py-werkzeug/Makefile.common   Fri Aug 05 10:55:01 2022 +0000
+++ b/www/py-werkzeug/Makefile.common   Fri Aug 05 11:44:30 2022 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.28 2022/04/29 13:36:19 wiz Exp $
+# $NetBSD: Makefile.common,v 1.29 2022/08/05 11:44:30 adam Exp $
 #
 # used by www/py-werkzeug/Makefile
 # used by www/py-werkzeug-docs/Makefile
 
-DISTNAME=      Werkzeug-2.1.2
+DISTNAME=      Werkzeug-2.2.1
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=W/Werkzeug/}
 
diff -r 0d242a041417 -r 7f6f264fb5d9 www/py-werkzeug/PLIST
--- a/www/py-werkzeug/PLIST     Fri Aug 05 10:55:01 2022 +0000
+++ b/www/py-werkzeug/PLIST     Fri Aug 05 11:44:30 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2022/04/29 13:36:19 wiz Exp $
+@comment $NetBSD: PLIST,v 1.12 2022/08/05 11:44:30 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -69,12 +69,30 @@
 ${PYSITELIB}/werkzeug/middleware/shared_data.pyc
 ${PYSITELIB}/werkzeug/middleware/shared_data.pyo
 ${PYSITELIB}/werkzeug/py.typed
-${PYSITELIB}/werkzeug/routing.py
-${PYSITELIB}/werkzeug/routing.pyc
-${PYSITELIB}/werkzeug/routing.pyo
+${PYSITELIB}/werkzeug/routing/__init__.py
+${PYSITELIB}/werkzeug/routing/__init__.pyc
+${PYSITELIB}/werkzeug/routing/__init__.pyo
+${PYSITELIB}/werkzeug/routing/converters.py
+${PYSITELIB}/werkzeug/routing/converters.pyc
+${PYSITELIB}/werkzeug/routing/converters.pyo
+${PYSITELIB}/werkzeug/routing/exceptions.py
+${PYSITELIB}/werkzeug/routing/exceptions.pyc
+${PYSITELIB}/werkzeug/routing/exceptions.pyo
+${PYSITELIB}/werkzeug/routing/map.py
+${PYSITELIB}/werkzeug/routing/map.pyc
+${PYSITELIB}/werkzeug/routing/map.pyo
+${PYSITELIB}/werkzeug/routing/matcher.py
+${PYSITELIB}/werkzeug/routing/matcher.pyc
+${PYSITELIB}/werkzeug/routing/matcher.pyo
+${PYSITELIB}/werkzeug/routing/rules.py
+${PYSITELIB}/werkzeug/routing/rules.pyc
+${PYSITELIB}/werkzeug/routing/rules.pyo
 ${PYSITELIB}/werkzeug/sansio/__init__.py
 ${PYSITELIB}/werkzeug/sansio/__init__.pyc
 ${PYSITELIB}/werkzeug/sansio/__init__.pyo
+${PYSITELIB}/werkzeug/sansio/http.py
+${PYSITELIB}/werkzeug/sansio/http.pyc
+${PYSITELIB}/werkzeug/sansio/http.pyo
 ${PYSITELIB}/werkzeug/sansio/multipart.py
 ${PYSITELIB}/werkzeug/sansio/multipart.pyc
 ${PYSITELIB}/werkzeug/sansio/multipart.pyo
diff -r 0d242a041417 -r 7f6f264fb5d9 www/py-werkzeug/distinfo
--- a/www/py-werkzeug/distinfo  Fri Aug 05 10:55:01 2022 +0000
+++ b/www/py-werkzeug/distinfo  Fri Aug 05 11:44:30 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.28 2022/04/29 13:36:19 wiz Exp $
+$NetBSD: distinfo,v 1.29 2022/08/05 11:44:30 adam Exp $
 
-BLAKE2s (Werkzeug-2.1.2.tar.gz) = 4ce382b58eb0eaa390db010a310317675cbd50f75ec8d05b88ce2fab4b0c1701
-SHA512 (Werkzeug-2.1.2.tar.gz) = 83c8f930c1166c2228ad4cdacfb150e39f6e4476960fb24ab44d6ee65eca34bfc211c9d45e895e031f0c387fbe4d5c6cae1d3d0fd6b5671aaace50306b9593ed
-Size (Werkzeug-2.1.2.tar.gz) = 835169 bytes
+BLAKE2s (Werkzeug-2.2.1.tar.gz) = 08bdad489a21cfbd6648858939742df308974628ad9d6bc497900a645cb2adac
+SHA512 (Werkzeug-2.2.1.tar.gz) = b5e483b036c08a49cd594ef255069fe4941e0ce9dfe7b43e140687655cb3bfe03b645e471f2f847bfd4f699925e1e0383b468865ac4fe81be5ed6ccf17f9921f
+Size (Werkzeug-2.2.1.tar.gz) = 838993 bytes



Home | Main Index | Thread Index | Old Index