Bug 273513 - textproc/py-markdown2: Update to 2.4.10
Summary: textproc/py-markdown2: Update to 2.4.10
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kai Knoblich
URL: https://github.com/trentm/python-mark...
Keywords:
Depends on:
Blocks: 273364
  Show dependency treegraph
 
Reported: 2023-09-02 07:49 UTC by Kai Knoblich
Modified: 2023-09-03 08:44 UTC (History)
1 user (show)

See Also:
kai: maintainer-feedback+
kai: merge-quarterly+


Attachments
py-markdown-2.4.10-v1.patch (1.83 KB, patch)
2023-09-02 07:49 UTC, Kai Knoblich
kai: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Knoblich freebsd_committer freebsd_triage 2023-09-02 07:49:29 UTC
Created attachment 244576 [details]
py-markdown-2.4.10-v1.patch

Hi Wen,

attached is a patch that updates textproc/py-markdown2 to 2.4.10.

Changes to the port:
~~~~~~~~~~~~~~~~~~~~
- Introduce SYNTAX and WAVEDROM options to reflect the settings in setup.py.

- Make the port concurrent safe as it installs a script outside of Python's site-lib directory.

- Update WWW as the repository has moved to a new location.

- Hook up the test suite.

This should be also MFH'ed (together with the recently added port textproc/py-wavedrom) as it fixes two security issues [1]:

- c9b3324f-8e03-4ae3-89ce-8098cdc5bfa9
- cf6f3465-e996-4672-9458-ce803f29fdb7


QA:
~~~
poudriere -> OK (12.4-RELEASE amd64 for py38, py39, py310 and py311)
bulk run against its consumers (main + 2023Q3 branches) -> OK


Results of "make test" (py38, py39, py310, py311):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

One test fails which is a known failure:

> Ran 164 tests in 0.495s
>
> FAILED (1 failure)
> WARNING:test:skipping pygments<2.14 tests (pygments 2.16.1 found)
> *** Error code 1


--
[1] Both issues were reported in bug #270923 by Hubert Tournier.
Comment 1 Wen Heping freebsd_committer freebsd_triage 2023-09-02 13:58:15 UTC
Approved! Please go ahead !
Thank you!

wen
Comment 2 Kai Knoblich freebsd_committer freebsd_triage 2023-09-03 08:11:47 UTC
^Triage: Take bug, set maintainer-feedback due comment #1 accordingly.
Comment 3 Kai Knoblich freebsd_committer freebsd_triage 2023-09-03 08:12:30 UTC
Comment on attachment 244576 [details]
py-markdown-2.4.10-v1.patch

^Triage: Set maintainer-approval flag accordingly as the approval was given via comment #1.
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-09-03 08:19:51 UTC
A commit in branch main references this bug:

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

commit f58017fbbf3f23ae9073f0202fb3758ec5d0f0a5
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-09-03 07:59:25 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-09-03 07:59:25 +0000

    textproc/py-markdown2: Update to 2.4.10

    * Introduce SYNTAX and WAVEDROM options to reflect the settings in
      setup.py accordingly.

    * Make the port concurrent safe as it installs a script outside of
      Python's site-lib directory.

    * Update WWW as the repository has moved to a new location.

    * Hook up the test suite.

    Changelog since 2.3.6:

    https://github.com/trentm/python-markdown2/compare/2.3.6...2.4.10

    PR:             273513, 270923 [1]
    Reported by:    Hubert Tournier [1]
    Approved by:    wen (maintainer)
    MFH:            2023Q3
    Security:       c9b3324f-8e03-4ae3-89ce-8098cdc5bfa9 [1]
                    cf6f3465-e996-4672-9458-ce803f29fdb7 [1]

 textproc/py-markdown2/Makefile | 25 +++++++++++++++++++++----
 textproc/py-markdown2/distinfo |  6 +++---
 2 files changed, 24 insertions(+), 7 deletions(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-09-03 08:34:55 UTC
A commit in branch 2023Q3 references this bug:

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

commit 7cac28e6977bfded94c707a0f09cf8ecb7344da0
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-09-03 07:59:25 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-09-03 08:20:24 +0000

    textproc/py-markdown2: Update to 2.4.10

    * Introduce SYNTAX and WAVEDROM options to reflect the settings in
      setup.py accordingly.

    * Make the port concurrent safe as it installs a script outside of
      Python's site-lib directory.

    * Update WWW as the repository has moved to a new location.

    * Hook up the test suite.

    Changelog since 2.3.6:

    https://github.com/trentm/python-markdown2/compare/2.3.6...2.4.10

    PR:             273513, 270923 [1]
    Reported by:    Hubert Tournier [1]
    Approved by:    wen (maintainer)
    MFH:            2023Q3
    Security:       c9b3324f-8e03-4ae3-89ce-8098cdc5bfa9 [1]
                    cf6f3465-e996-4672-9458-ce803f29fdb7 [1]

    (cherry picked from commit f58017fbbf3f23ae9073f0202fb3758ec5d0f0a5)

 textproc/py-markdown2/Makefile | 25 +++++++++++++++++++++----
 textproc/py-markdown2/distinfo |  6 +++---
 2 files changed, 24 insertions(+), 7 deletions(-)
Comment 6 Kai Knoblich freebsd_committer freebsd_triage 2023-09-03 08:44:56 UTC
(In reply to Wen Heping from comment #1)

Committed to the main branch and MFH'ed to the 2023Q3 branch. Thank you for the quick review and approval!