Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-mistletoe for
openSUSE:Factory checked in at 2026-03-17 19:03:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mistletoe (Old)
and /work/SRC/openSUSE:Factory/.python-mistletoe.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mistletoe"
Tue Mar 17 19:03:04 2026 rev:6 rq:1339438 version:1.5.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mistletoe/python-mistletoe.changes
2025-11-07 18:21:36.453297825 +0100
+++
/work/SRC/openSUSE:Factory/.python-mistletoe.new.8177/python-mistletoe.changes
2026-03-17 19:04:25.708499961 +0100
@@ -1,0 +2,7 @@
+Mon Mar 16 21:23:33 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 1.5.1:
+ * Parsing slow when there are many table-like lines on input
+ * sdist is missing test-requirements.txt (#253).
+
+-------------------------------------------------------------------
Old:
----
mistletoe-1.5.0.tar.gz
New:
----
mistletoe-1.5.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mistletoe.spec ++++++
--- /var/tmp/diff_new_pack.2saysw/_old 2026-03-17 19:04:26.220521180 +0100
+++ /var/tmp/diff_new_pack.2saysw/_new 2026-03-17 19:04:26.220521180 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-mistletoe
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-mistletoe
-Version: 1.5.0
+Version: 1.5.1
Release: 0
Summary: A Markdown parser in pure Python
License: MIT
++++++ mistletoe-1.5.0.tar.gz -> mistletoe-1.5.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mistletoe-1.5.0/MANIFEST.in
new/mistletoe-1.5.1/MANIFEST.in
--- old/mistletoe-1.5.0/MANIFEST.in 2025-10-18 18:23:41.000000000 +0200
+++ new/mistletoe-1.5.1/MANIFEST.in 2025-12-07 17:12:47.000000000 +0100
@@ -2,6 +2,7 @@
include LICENSE
include requirements.txt
+include test-requirements.txt
include tox.ini
graft test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mistletoe-1.5.0/cutting-a-release.md
new/mistletoe-1.5.1/cutting-a-release.md
--- old/mistletoe-1.5.0/cutting-a-release.md 2025-10-18 18:23:41.000000000
+0200
+++ new/mistletoe-1.5.1/cutting-a-release.md 2025-12-07 17:12:47.000000000
+0100
@@ -7,7 +7,7 @@
* official documentation: [Packaging Python
Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
* install / upgrade the build tool: `$ python -m pip install --upgrade
build`
* make sure there are no old relicts in the local "dist" folder
- * build the Wheel artifact ("dist/*.whl"): `$ python -m build`
+ * build distribution archives (sdist and Wheel files in "dist/*"): `$
python -m build`
* upload the distribution archives to PyPi:
* install / upgrade Twine: `$ python -m pip install --upgrade twine`
* if unsure, upload to test PyPi and/or test locally - see
[docs](https://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-the-distribution-archives)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mistletoe-1.5.0/mistletoe/__init__.py
new/mistletoe-1.5.1/mistletoe/__init__.py
--- old/mistletoe-1.5.0/mistletoe/__init__.py 2025-10-18 18:23:41.000000000
+0200
+++ new/mistletoe-1.5.1/mistletoe/__init__.py 2025-12-07 17:12:47.000000000
+0100
@@ -2,7 +2,7 @@
Make mistletoe easier to import.
"""
-__version__ = "1.5.0"
+__version__ = "1.5.1"
__all__ = ['html_renderer', 'ast_renderer', 'block_token', 'block_tokenizer',
'span_token', 'span_tokenizer']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mistletoe-1.5.0/mistletoe/block_token.py
new/mistletoe-1.5.1/mistletoe/block_token.py
--- old/mistletoe-1.5.0/mistletoe/block_token.py 2025-10-18
18:23:41.000000000 +0200
+++ new/mistletoe-1.5.1/mistletoe/block_token.py 2025-12-07
17:12:47.000000000 +0100
@@ -752,23 +752,33 @@
@classmethod
def check_interrupts_paragraph(cls, lines):
- if not cls.interrupt_paragraph:
+ if not cls.interrupt_paragraph or not cls.start(lines.peek()):
return False
- anchor = lines.get_pos()
- result = cls.read(lines)
- lines.set_pos(anchor)
- return result
+ return cls.read(lines, check_only=True)
@classmethod
- def read(cls, lines):
+ def read(cls, lines, check_only=False):
anchor = lines.get_pos()
- line_buffer = [next(lines)]
+
+ # read the first line (header row)
+ header_row = next(lines)
start_line = lines.line_number()
- while lines.peek() is not None and '|' in lines.peek():
- line_buffer.append(next(lines))
- if len(line_buffer) < 2 or not
cls.delimiter_row_pattern.fullmatch(line_buffer[1]):
+
+ # read the second line (delimiter row)
+ delimiter_row = next(lines, None)
+ if delimiter_row is None or not
cls.delimiter_row_pattern.fullmatch(delimiter_row):
lines.set_pos(anchor)
return None
+
+ if check_only:
+ lines.set_pos(anchor)
+ return True
+
+ line_buffer = [header_row, delimiter_row]
+ # read remaining lines (table body)
+ while lines.peek() is not None and '|' in lines.peek():
+ line_buffer.append(next(lines))
+
return line_buffer, start_line