From nobody Thu Oct 06 14:08:00 2022 X-Original-To: python@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MjtZ853Hhz4dh9j for ; Thu, 6 Oct 2022 14:08:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MjtZ844HXz3Kdy for ; Thu, 6 Oct 2022 14:08:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MjtZ837tDzH5V for ; Thu, 6 Oct 2022 14:08:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 296E80rK047539 for ; Thu, 6 Oct 2022 14:08:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 296E806p047538 for python@FreeBSD.org; Thu, 6 Oct 2022 14:08:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 264990] devel/py-Jinja2: Update to 3.1.2 Date: Thu, 06 Oct 2022 14:08:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ruben@verweg.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: nivit@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665065280; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0Zb0hBAVwBuOGt7w0b0WftWBNxee5rkbKGRGWPOa8PA=; b=YdbUE8joVTu4/Hoh3MR0EQTn+b1+idYgye5F5lx31audcmc58UfAYjLfxbW39Z1HCc06xh 5DVb/NGSW0mKWzRylpKT9nFS0Js7WS3TE9uKyE6p+MNpAjvF7A464QZb0TyP8i1if06z/C CJRc0NxwWde//ODX4cnFjllJ6v7EbTSK9ApEbuXvnwrDrWTZ0WCrZAazq3HHxwFgRXPv4l Jcd+WGR23IVxEwcJAXOAtXCt6/OCJWCTYXcZsiJ+4cHy+RMsG8byj3n2LVuL84Kssi4pVJ t7OeFY9RFpvd8EqCHz1YeLVVSMJZ7lC8WlA+nLiRhLIDIynOQvRira7T4fLZmQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665065280; a=rsa-sha256; cv=none; b=QmW8gdN7fbmEyqcOQI4fFLLzmaYlQHBP/nOfr3Bm8Xfl9aHq899OZUemOYuLeor/cUjfQW ETDyBv1FTxmC201+mySpbqkM4axZHsK1f4hB4XHVgzCTMGmsBNT2DisvXyqHelkO8V4nyd YnpXSfIGEwn7m6FzggmTMvGiQO843f05wgPyOQ40ePy3rPjLrVYSOzjgV6MYaG4WQ5VD3d ELxutMxW7d6bm6RPlln2P0j2fP6VJR3GlT8FLMcZrAgMm0rw3qEfk39SO2EeoJad0y55b1 jfKjTUwPLixKpNWzN0/FoY3o8IGkO7gLZaNDFURK55Mx3K5U8ck2ZUNoXk7flw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264990 --- Comment #4 from ruben@verweg.com --- 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=3D'{% macro foo(v) %}{{ v }}{% endmacr= o %} {{ foo(1) }}'" [WARNING]: No inventory was parsed, only implicit localhost is available localhost | FAILED! =3D> { "msg": "Unexpected templating type error occurred on ({% macro foo(v) %= }{{ v }}{% endmacro %} {{ foo(1) }}): sequence item 0: expected str instance, i= nt 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 en= gine With 3.1.2 Jinja2 $ ansible localhost -m debug -a "msg=3D'{% macro foo(v) %}{{ v }}{% endmacr= o %} {{ foo(1) }}'" [WARNING]: No inventory was parsed, only implicit localhost is available localhost | SUCCESS =3D> { "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 en= gine --=20 You are receiving this mail because: You are on the CC list for the bug.=