Summary: | devel/py-Jinja2: Update to 3.1.2 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | p5B2EA84B3 | ||||||||
Component: | Individual Port(s) | Assignee: | Yuri Victorovich <yuri> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Many People | CC: | andrej, lab+bsd, python, rm, ruben, yuri | ||||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(nivit) p5B2EA84B3: maintainer-feedback? (python) p5B2EA84B3: maintainer-feedback? (rm) |
||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
URL: | https://jinja.palletsprojects.com/en/3.1.x/changes/ | ||||||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267727 | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 266199 | ||||||||||
Attachments: |
|
Description
p5B2EA84B3
2022-07-02 11:33:32 UTC
Created attachment 236211 [details]
git diff
Update to 3.1.2, fixed COMMENT
Created attachment 236212 [details]
portlint
Created attachment 236213 [details]
poudriere testport
This also fixes using (complex) macros with Ansible as described in https://github.com/ansible/ansible/issues/77272 With 3.0.1 Jinja2 $ ansible localhost -m debug -a "msg='{% macro foo(v) %}{{ v }}{% endmacro %} {{ foo(1) }}'" [WARNING]: No inventory was parsed, only implicit localhost is available localhost | FAILED! => { "msg": "Unexpected templating type error occurred on ({% macro foo(v) %}{{ v }}{% endmacro %} {{ foo(1) }}): sequence item 0: expected str instance, int found" } $ pkg info -I py39-{ansible,Jinja2} py39-ansible-6.1.0 Radically simple IT automation py39-Jinja2-3.0.1 Fast and easy to use stand-alone template engine With 3.1.2 Jinja2 $ ansible localhost -m debug -a "msg='{% macro foo(v) %}{{ v }}{% endmacro %} {{ foo(1) }}'" [WARNING]: No inventory was parsed, only implicit localhost is available localhost | SUCCESS => { "msg": " 1" } $ pkg info -I py39-{ansible,Jinja2} py39-ansible-6.1.0 Radically simple IT automation py39-Jinja2-3.1.2 Fast and easy to use stand-alone template engine If the two cents could be of any interest, a newer Jinja might be needed for devel/py-jupyterlab. Great to see if someone's already worked out a patch for it Port updated. Thanks A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=23cc43859179b1bb1b6932ccee2559ed5f66a968 commit 23cc43859179b1bb1b6932ccee2559ed5f66a968 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-11-08 15:03:00 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-11-09 00:21:12 +0000 devel/py-Jinja2: Update 3.0.1 -> 3.1.2; Fix test target PR: 260440 264990 Approved by: nivit@ (maintainer's timoeut on 260440; 10.5 months) Submitted by: brd@, p5B2EA84B3@t-online.de devel/py-Jinja2/Makefile | 11 +++++------ devel/py-Jinja2/distinfo | 6 +++--- 2 files changed, 8 insertions(+), 9 deletions(-) Copied from bug 260440 comment 4 ... @Yuri This sphinx update caused a regression. This port is maintained by python@, nivit@ just happened to be assigned to nivit@. The correct/better course of action would have been a reset of assignee to python@ (as it wasn't on our radar). It was an assignee timeout, not a maintainer timeout. Not withstanding, comment 1 detailed what was necessary to progress, which wasn't ack'd. The missing bulk / consumer build test would have picked up the regression. Further, this update was for 3.0.3 (which wouldn't have broken the build) The commit updating to 3.1 should have gone through a cycle on this issue, including updating the summary to match. |