public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-markdown-callouts] rawhide: [PATCH] Fix compatibility with Markdown >=3.10
Date: Thu, 13 Aug 2026 20:31:07 GMT [thread overview]
Message-ID: <178665306781.1.843647697007356093.rpms-python-markdown-callouts-4ec2590dc20e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-markdown-callouts
Branch : rawhide
Commit : 4ec2590dc20e9b0105ff6b4d6bd7592558c9373c
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-13T17:22:02-03:00
Stats : +56/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-markdown-callouts/c/4ec2590dc20e9b0105ff6b4d6bd7592558c9373c?branch=rawhide
Log:
[PATCH] Fix compatibility with Markdown >=3.10
---
diff --git a/0001-Fix-compatibility-with-Markdown-3.10.patch b/0001-Fix-compatibility-with-Markdown-3.10.patch
new file mode 100644
index 0000000..153ecb2
--- /dev/null
+++ b/0001-Fix-compatibility-with-Markdown-3.10.patch
@@ -0,0 +1,53 @@
+From d077ef1168667a47c5e201c02b9c457fe8bb83b7 Mon Sep 17 00:00:00 2001
+From: Filipe Rosset <rosset.filipe@gmail.com>
+Date: Thu, 13 Aug 2026 17:06:53 -0300
+Subject: [PATCH] Fix compatibility with Markdown >=3.10
+
+Validated against python-3.15 and pytest-9.1.1
+
+~/tmp/markdown-callouts$ python3.15 -m pytest
+=================================================================================== test session starts ===================================================================================
+platform linux -- Python 3.15.0rc1, pytest-9.1.1, pluggy-1.6.0
+rootdir: /home/opc/tmp/markdown-callouts
+configfile: pyproject.toml
+testpaths: tests
+plugins: hypothesis-6.151.9, anyio-4.14.2, libtmux-0.61.0, golden-0.2.2
+collected 61 items
+
+tests/test_extension.py ............................................................. [100%]
+
+=================================================================================== 61 passed in 0.15s ====================================================================================
+---
+ pyproject.toml | 2 +-
+ tests/test_extension.py | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index bc5cb38..a2d57f3 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -33,7 +33,7 @@ classifiers = [
+ dynamic = ["version"]
+ requires-python = ">=3.8"
+ dependencies = [
+- "Markdown >=3.3.3",
++ "Markdown >=3.10",
+ #min "importlib_metadata >=4.3",
+ ]
+
+diff --git a/tests/test_extension.py b/tests/test_extension.py
+index 72eb78c..8601d64 100644
+--- a/tests/test_extension.py
++++ b/tests/test_extension.py
+@@ -19,7 +19,7 @@ def test_extension(request, golden):
+ extensions = [
+ extension(**config)
+ for key, extension in extension_styles.items()
+- if f"{key}/" in request.node.name or "all/" in request.node.name
++ if key in golden.path.parts or "all" in golden.path.parts
+ ]
+ md = Markdown(extensions=extensions)
+ output = md.convert(golden["input"])
+--
+2.55.0
+
diff --git a/python-markdown-callouts.spec b/python-markdown-callouts.spec
index 3d8f320..3ea08c6 100644
--- a/python-markdown-callouts.spec
+++ b/python-markdown-callouts.spec
@@ -9,6 +9,9 @@ License: MIT
URL: https://oprypin.github.io/markdown-callouts
Source: %{pypi_source markdown_callouts}
+# https://github.com/oprypin/markdown-callouts/pull/24
+Patch: 0001-Fix-compatibility-with-Markdown-3.10.patch
+
BuildArch: noarch
BuildRequires: python3-devel
reply other threads:[~2026-08-13 20:31 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=178665306781.1.843647697007356093.rpms-python-markdown-callouts-4ec2590dc20e@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--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