Bug 255281

Summary: devel/py-cheetah3: Support py-markdown > 3.2
Product: Ports & Packages Reporter: Neel Chauhan <nc>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Many People CC: FreeBSD
Priority: --- Flags: FreeBSD: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 239070    
Attachments:
Description Flags
extra patch file for devel/py-cheetah3 FreeBSD: maintainer-approval+

Description Neel Chauhan freebsd_committer 2021-04-20 19:38:34 UTC
This port was capped at py-markdown 3.2 mainly for Python 2.7 support.

https://github.com/CheetahTemplate3/cheetah3/commit/35571a00395c4ef937a08ae5a3686700a53bd1d1#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449

Since we now default at Python 3, we should commit this patch so we can update textproc/py-markdown. This will allow for the GTK+ 4 update.
Comment 1 Shane 2021-04-22 01:22:12 UTC
Created attachment 224345 [details]
extra patch file for devel/py-cheetah3

Patching py-cheetah3 is only relevant for running tox, the port itself doesn't provide an upper limit to versions.

Remove markdown < 3.2 from tox.ini to allow use of newer versions that don't support py2.7
Comment 2 commit-hook freebsd_committer 2021-04-22 01:57:30 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=afea92ed172c9131007680a91b83395ab970e747

commit afea92ed172c9131007680a91b83395ab970e747
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2021-04-22 01:55:43 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2021-04-22 01:55:43 +0000

    devel/py-cheetah3: Support py-markdown > 3.2

    This commit is needed as we will need to update py-markdown to import GTK+ 4.

    PR:             255281
    Approved by:    FreeBSD AT ShaneWare DOT Biz (maintainer)

 devel/py-cheetah3/Makefile                  |  1 +
 devel/py-cheetah3/files/patch-tox.ini (new) | 11 +++++++++++
 2 files changed, 12 insertions(+)
Comment 3 Neel Chauhan freebsd_committer 2021-04-22 02:22:19 UTC
Committed!