pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-jinja2
Module Name: pkgsrc
Committed By: adam
Date: Wed Dec 25 21:58:16 UTC 2024
Modified Files:
pkgsrc/textproc/py-jinja2: Makefile distinfo
Log Message:
py-jinja2: updated to 3.1.5
Version 3.1.5
The sandboxed environment handles indirect calls to str.format, such as by passing a stored reference to a filter that calls its argument. GHSA-q2x7-8rv6-6q7h
Escape template name before formatting it into error messages, to avoid issues with names that contain f-string syntax.
Sandbox does not allow clear and pop on known mutable sequence types.
Calling sync render for an async template uses asyncio.run.
Avoid unclosed auto_aiter warnings.
Return an aclose-able AsyncGenerator from Template.generate_async.
Avoid leaving root_render_func() unclosed in Template.generate_async.
Avoid leaving async generators unclosed in blocks, includes and extends.
The runtime uses the correct concat function for the current environment when calling block references.
Make |unique async-aware, allowing it to be used after another async-aware filter.
|int filter handles OverflowError from scientific notation.
Make compiling deterministic for tuple unpacking in a {% set ... %} call.
Fix dunder protocol (copy/pickle/etc) interaction with Undefined objects.
Fix copy/pickle support for the internal missing object.
Environment.overlay(enable_async) is applied correctly.
The error message from FileSystemLoader includes the paths that were searched.
PackageLoader shows a clearer error message when the package does not contain the templates directory.
Improve annotations for methods returning copies.
urlize does not add mailto: to values like @a@b.
Tests decorated with @pass_context` can be used with the |select filter.
Using set for multiple assignment (a, b = 1, 2) does not fail when the target is a namespace attribute.
Using set in all branches of {% if %}{% elif %}{% else %} blocks does not cause the variable to be considered initially undefined.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/textproc/py-jinja2/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/textproc/py-jinja2/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-jinja2/Makefile
diff -u pkgsrc/textproc/py-jinja2/Makefile:1.38 pkgsrc/textproc/py-jinja2/Makefile:1.39
--- pkgsrc/textproc/py-jinja2/Makefile:1.38 Mon May 6 07:15:56 2024
+++ pkgsrc/textproc/py-jinja2/Makefile Wed Dec 25 21:58:16 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2024/05/06 07:15:56 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2024/12/25 21:58:16 adam Exp $
-DISTNAME= jinja2-3.1.4
+DISTNAME= jinja2-3.1.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=J/Jinja2/}
@@ -13,10 +13,9 @@ LICENSE= modified-bsd
TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
DEPENDS+= ${PYPKGPREFIX}-babel>=2.7:../../devel/py-babel
DEPENDS+= ${PYPKGPREFIX}-markupsafe>=2.0:../../textproc/py-markupsafe
+TEST_DEPENDS+= ${PYPKGPREFIX}-trio-[0-9]*:../../devel/py-trio
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-jinja2/distinfo
diff -u pkgsrc/textproc/py-jinja2/distinfo:1.24 pkgsrc/textproc/py-jinja2/distinfo:1.25
--- pkgsrc/textproc/py-jinja2/distinfo:1.24 Mon May 6 04:39:49 2024
+++ pkgsrc/textproc/py-jinja2/distinfo Wed Dec 25 21:58:16 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.24 2024/05/06 04:39:49 adam Exp $
+$NetBSD: distinfo,v 1.25 2024/12/25 21:58:16 adam Exp $
-BLAKE2s (jinja2-3.1.4.tar.gz) = 970bdbe8a639d76766af9f8d44e84920609d1cf4303bf5b4f5776f04fff8e14c
-SHA512 (jinja2-3.1.4.tar.gz) = d07d68a2687af68c705d3b7f5a2c67aca7b9d125316b15085888b9d0d6e769981af76f6f524728b89b5501bd671d518fcb2638f9ae112e57ca2bf2a53482cd89
-Size (jinja2-3.1.4.tar.gz) = 240245 bytes
+BLAKE2s (jinja2-3.1.5.tar.gz) = 1e9efa39beec248ddb54dc53ad5350d3bb9c8b0dadac562112ece0150ae8fafa
+SHA512 (jinja2-3.1.5.tar.gz) = 75ad0094482c69d45fcd3aa8ee32e249931e53fee3f804f6ddfd5b6da0ed16962d8f1fced811e7dcb4d8401fadd828e77528d6d1280547a7d4f5f77cccf9bbd4
+Size (jinja2-3.1.5.tar.gz) = 244674 bytes
Home |
Main Index |
Thread Index |
Old Index