Bug 2227766

Summary: [RFE:CRB] Update python-markdown to 3.4.1
Product: Red Hat Enterprise Linux 9 Reporter: Martin Hoyer <mhoyer>
Component: python-markdownAssignee: David King <dking>
Status: CLOSED WONTFIX QA Contact: RHEL CS Apps Subsystem QE <rhel-cs-apps-subsystem-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.4CC: tpopela
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-02 12:20:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Hoyer 2023-07-31 11:21:01 UTC
Description of problem:
python3-markdown package in CRB repository is at version 3.3.4.

3.4 introduced new features and bugfixes. Note also the backwards-incompatible changes: https://python-markdown.github.io/change_log/release-3.4/

3.4.2 release from earlier this year introduced move to PEP-621 and requires setuptools>=61.2, which is afaik unlikely to get into el9 any time soon, if ever.

With that in mind, would it be possible to update the package to version 3.4.1?

Comment 2 Tomas Popela 2023-08-02 12:20:17 UTC
Hi Martin, we have python3-markdown in RHEL 9 only because it's a dependency of gobject-introspection, see https://tiny.distro.builders/view-rpm--view-eln--python3-markdown.html (ELN, but it applies for RHEL 9 as well) and we're not interested (nor have the capacity) to do any work on that package (and risk that gobject-introspection might broke) hence I will decline this request.

Comment 3 Martin Hoyer 2023-08-03 10:05:18 UTC
(In reply to Tomas Popela from comment #2)
Thanks for looking into it Tomas. I understand.

Knowing the context, it's still strange not to include the 3.3 bug-fix releases to me. Especially when they include things like "Support Python 3.10".

May 5, 2022: version 3.3.7 (a bug-fix release).

    Disallow square brackets in reference link ids (#1209).
    Retain configured pygments_style after first code block (#1240).
    Ensure fenced code attributes are properly escaped (#1247).

Nov 17, 2021: version 3.3.6 (a bug-fix release).

    Fix a dependency issue (#1195, #1196).

Nov 16, 2021: version 3.3.5 (a bug-fix release).

    Make the slugify_unicode function not remove diacritical marks (#1118).
    Fix [toc] detection when used with nl2br extension (#1160).
    Re-use compiled regex for block level checks (#1169).
    Don’t process shebangs in fenced code blocks when using CodeHilite (#1156).
    Improve email address validation for Automatic Links (#1165).
    Ensure <summary> tags are parsed correctly (#1079).
    Support Python 3.10 (#1124).