public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mattia Verga <mattia.verga@proton.me>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pymdown-extensions] rawhide: Update to 12.3 (Fedora#2383999)
Date: Sun, 08 Nov 2026 08:21:21 GMT [thread overview]
Message-ID: <179412608102.1.10321224423293354892.rpms-python-pymdown-extensions-e463a2efc596@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pymdown-extensions
Branch : rawhide
Commit : e463a2efc596419daf7ca382295509d043939ddb
Author : Mattia Verga <mattia.verga@proton.me>
Date : 2026-11-08T09:18:53+01:00
Stats : +7/-52 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-pymdown-extensions/c/e463a2efc596419daf7ca382295509d043939ddb?branch=rawhide
Log:
Update to 12.3 (Fedora#2383999)
...
- Fix CVE-2026-61632 (Fedora#2512418)
- Fix CVE-2026-67422 (Fedora#2512405)
---
diff --git a/.gitignore b/.gitignore
index ba7c6c6..2634017 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,5 @@
/pymdown_extensions-10.12.tar.gz
/pymdown_extensions-10.16.tar.gz
/pymdown_extensions-10.21.2.tar.gz
+/pymdown_extensions-12.2.tar.gz
+/pymdown_extensions-12.3.tar.gz
diff --git a/pymdown-extensions-markdown-3.5.patch b/pymdown-extensions-markdown-3.5.patch
deleted file mode 100644
index 6be0498..0000000
--- a/pymdown-extensions-markdown-3.5.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff --git a/pymdownx/blocks/tab.py b/pymdownx/blocks/tab.py
-index 949f19f5..bb1aa18a 100644
---- a/pymdownx/blocks/tab.py
-+++ b/pymdownx/blocks/tab.py
-@@ -84,8 +84,12 @@ class TabbedTreeprocessor(Treeprocessor):
-
- # Generate slugged IDs
- for inpt, label in zip(inputs, labels):
-- innerhtml = toc.render_inner_html(toc.remove_fnrefs(label), self.md)
-- innertext = html.unescape(toc.strip_tags(innerhtml))
-+ if hasattr(toc, "render_inner_html"):
-+ innerhtml = toc.render_inner_html(toc.remove_fnrefs(label), self.md)
-+ innertext = html.unescape(toc.strip_tags(innerhtml))
-+ else:
-+ text = toc.get_name(label)
-+ innertext = toc.unescape(toc.stashedHTML2text(text, self.md))
- if self.combine_header_slug:
- parent_slug = self.get_parent_header_slug(doc, header_map, parent_map, el)
- else:
-diff --git a/pymdownx/tabbed.py b/pymdownx/tabbed.py
-index a9c6a64d..861074a3 100644
---- a/pymdownx/tabbed.py
-+++ b/pymdownx/tabbed.py
-@@ -375,8 +375,12 @@ class TabbedTreeprocessor(Treeprocessor):
-
- # Generate slugged IDs
- for inpt, label in zip(inputs, labels):
-- innerhtml = toc.render_inner_html(toc.remove_fnrefs(label), self.md)
-- innertext = html.unescape(toc.strip_tags(innerhtml))
-+ if hasattr(toc, "render_inner_html"):
-+ innerhtml = toc.render_inner_html(toc.remove_fnrefs(label), self.md)
-+ innertext = html.unescape(toc.strip_tags(innerhtml))
-+ else:
-+ text = toc.get_name(label)
-+ innertext = toc.unescape(toc.stashedHTML2text(text, self.md))
- if self.combine_header_slug:
- parent_slug = self.get_parent_header_slug(doc, header_map, parent_map, el)
- else:
diff --git a/python-pymdown-extensions.spec b/python-pymdown-extensions.spec
index 97534a9..5294c0f 100644
--- a/python-pymdown-extensions.spec
+++ b/python-pymdown-extensions.spec
@@ -1,7 +1,7 @@
%global pypi_name pymdown-extensions
Name: python-%{pypi_name}
-Version: 10.21.2
+Version: 12.3
Release: %autorelease
Summary: Extension pack for Python Markdown
@@ -9,9 +9,6 @@ Summary: Extension pack for Python Markdown
License: MIT and BSD-2-Clause
URL: https://facelessuser.github.io/pymdown-extensions
Source: %{pypi_source pymdown_extensions}
-# Conditional compatibility for markdown 3.5 for el10 based on
-# https://github.com/facelessuser/pymdown-extensions/commit/722461c65829ed6bf45ae83934c04b2dbb691e12
-Patch: pymdown-extensions-markdown-3.5.patch
BuildArch: noarch
@@ -23,6 +20,7 @@ Markdown.
Summary: %{summary}
BuildRequires: python3-devel
+BuildRequires: python3dist(pytest)
%description -n python3-%{pypi_name}
PyMdown Extensions (pymdownx) is a collection of extensions for Python
@@ -33,13 +31,6 @@ Markdown.
%prep
%autosetup -n pymdown_extensions-%{version} -p1
-# Drop invalid entry that breaks the pyproject macros
-sed -i '/\.\[extra\]/d' pyproject.toml
-
-# Don't run mypy and drop its unpackaged typing deps
-sed -e '/^mypy/d' -e '/^types-/d' -i requirements/test.txt
-sed -i '/"{envpython}" -m mypy/d' pyproject.toml
-
# EL10 only has markdown 3.5
# https://issues.redhat.com/browse/RHEL-74397
%if 0%{?el10}
@@ -47,7 +38,7 @@ sed -i 's/"Markdown>=3.6"/"Markdown>=3.5"/' pyproject.toml
%endif
%generate_buildrequires
-%pyproject_buildrequires -t -x extra
+%pyproject_buildrequires -x extra
%build
%pyproject_wheel
@@ -57,7 +48,7 @@ sed -i 's/"Markdown>=3.6"/"Markdown>=3.5"/' pyproject.toml
%pyproject_save_files pymdownx
%check
-%tox
+%pytest
%files -n python3-%{pypi_name} -f %{pyproject_files}
%license LICENSE.md
diff --git a/sources b/sources
index 00c6148..5759dc6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pymdown_extensions-10.21.2.tar.gz) = 429fe9379e98905631df92235323be7125195502f98b0da4fd56910f76fa5499b2d633d9373467b5a3e0fc602f2bf51c6294ed983f37d3105e82d53c2a671eb9
+SHA512 (pymdown_extensions-12.3.tar.gz) = ce7e6354e0da496e7fedc900dae61b148dccb3d72fafefac56242dda912650de7d18e2fa06b52d483b6e1f80358bc5d16926677e7c7e35698fcfcaab1a47254e
reply other threads:[~2026-11-08 8:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179412608102.1.10321224423293354892.rpms-python-pymdown-extensions-e463a2efc596@fedoraproject.org \
--to=mattia.verga@proton.me \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox