Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-markdownify for
openSUSE:Factory checked in at 2026-11-23 12:22:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-markdownify (Old)
and /work/SRC/openSUSE:Factory/.python-markdownify.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-markdownify"
Mon Nov 23 12:22:43 2026 rev:3 rq:1399676 version:1.2.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-markdownify/python-markdownify.changes
2026-07-02 20:13:12.449189654 +0200
+++
/work/SRC/openSUSE:Factory/.python-markdownify.new.1340718/python-markdownify.changes
2026-11-23 12:26:04.383445624 +0100
@@ -1,0 +2,10 @@
+Sat Nov 21 21:36:10 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 1.2.4:
+ * remove broken remnants of Python 2 compatibility
+ * use python 3.15
+ * Avoid quadratic whitespace stripping in pre blocks
+ * fix: avoid quadratic re_newline_whitespace scan in
+ process_text
+
+-------------------------------------------------------------------
Old:
----
markdownify-1.2.3.tar.gz
New:
----
markdownify-1.2.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-markdownify.spec ++++++
--- /var/tmp/diff_new_pack.5IaHOw/_old 2026-11-23 12:26:06.107518192 +0100
+++ /var/tmp/diff_new_pack.5IaHOw/_new 2026-11-23 12:26:06.109518276 +0100
@@ -18,7 +18,7 @@
%bcond_without libalternatives
Name: python-markdownify
-Version: 1.2.3
+Version: 1.2.4
Release: 0
Summary: Convert HTML to markdown
License: MIT
++++++ markdownify-1.2.3.tar.gz -> markdownify-1.2.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/markdownify-1.2.3/.github/workflows/python-app.yml
new/markdownify-1.2.4/.github/workflows/python-app.yml
--- old/markdownify-1.2.3/.github/workflows/python-app.yml 2026-06-30
22:27:23.000000000 +0200
+++ new/markdownify-1.2.4/.github/workflows/python-app.yml 2026-11-18
19:16:55.414187200 +0100
@@ -16,10 +16,10 @@
steps:
- uses: actions/checkout@v4
- - name: Set up Python 3.8
- uses: actions/setup-python@v2
+ - name: Set up Python
+ uses: actions/setup-python@v7
with:
- python-version: 3.8
+ python-version: 3.15
- name: Install dependencies
run: |
python -m pip install --upgrade pip
@@ -37,14 +37,14 @@
steps:
- uses: actions/checkout@v2
- - name: Set up Python 3.8
- uses: actions/setup-python@v2
+ - name: Set up Python
+ uses: actions/setup-python@v7
with:
- python-version: 3.8
+ python-version: 3.15
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- pip install --upgrade setuptools setuptools_scm wheel build tox mypy
types-beautifulsoup4
+ pip install --upgrade setuptools setuptools_scm wheel build tox mypy
pytest types-beautifulsoup4
- name: Check types
run: |
mypy .
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/markdownify-1.2.3/.github/workflows/python-publish.yml
new/markdownify-1.2.4/.github/workflows/python-publish.yml
--- old/markdownify-1.2.3/.github/workflows/python-publish.yml 2026-06-30
22:27:23.000000000 +0200
+++ new/markdownify-1.2.4/.github/workflows/python-publish.yml 2026-11-18
19:16:55.414488800 +0100
@@ -15,9 +15,9 @@
steps:
- uses: actions/checkout@v4
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v7
with:
- python-version: '3.8'
+ python-version: '3.15'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/markdownify-1.2.3/PKG-INFO
new/markdownify-1.2.4/PKG-INFO
--- old/markdownify-1.2.3/PKG-INFO 2026-06-30 22:27:37.607043700 +0200
+++ new/markdownify-1.2.4/PKG-INFO 2026-11-18 19:17:07.584421400 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
Name: markdownify
-Version: 1.2.3
+Version: 1.2.4
Summary: Convert HTML to markdown.
Author-email: Matthew Tretter <[email protected]>
Project-URL: Homepage, http://github.com/matthewwithanm/python-markdownify
@@ -10,17 +10,21 @@
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2.5
-Classifier: Programming Language :: Python :: 2.6
-Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
+Classifier: Programming Language :: Python :: 3.13
+Classifier: Programming Language :: Python :: 3.14
+Classifier: Programming Language :: Python :: 3.15
Classifier: Topic :: Utilities
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: beautifulsoup4<5,>=4.9
-Requires-Dist: six<2,>=1.15
+Dynamic: license-file
|build| |version| |license| |downloads|
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/markdownify-1.2.3/markdownify/__init__.py
new/markdownify-1.2.4/markdownify/__init__.py
--- old/markdownify-1.2.3/markdownify/__init__.py 2026-06-30
22:27:23.000000000 +0200
+++ new/markdownify-1.2.4/markdownify/__init__.py 2026-11-18
19:16:55.414488800 +0100
@@ -1,7 +1,6 @@
from bs4 import BeautifulSoup, Comment, Doctype, NavigableString, Tag
from textwrap import fill
import re
-import six
# General-purpose regex patterns
@@ -9,7 +8,9 @@
re_line_with_content = re.compile(r'^(.*)', flags=re.MULTILINE)
re_whitespace = re.compile(r'[\t ]+')
re_all_whitespace = re.compile(r'[\t \r\n]+')
-re_newline_whitespace = re.compile(r'[\t \r\n]*[\r\n][\t \r\n]*')
+# (the lookbehind only lets a match start at the beginning of a whitespace run;
+# without it, a long run of spaces with no newline is rescanned from every
position)
+re_newline_whitespace = re.compile(r'(?<![\t \r\n])[\t \r\n]*[\r\n][\t \r\n]*')
re_html_heading = re.compile(r'h(\d+)')
re_pre_lstrip1 = re.compile(r'^ *\n')
re_pre_rstrip1 = re.compile(r'\n *$')
@@ -75,7 +76,7 @@
def strip_pre(text):
"""Strip all leading and trailing newlines from a <pre> string."""
text = re_pre_lstrip.sub('', text)
- text = re_pre_rstrip.sub('', text)
+ text = text.rstrip(' \n')
return text
@@ -249,7 +250,7 @@
# (subclasses of NavigableString, must test first)
return True
elif isinstance(el, NavigableString):
- if six.text_type(el).strip() != '':
+ if str(el).strip() != '':
# Non-whitespace text nodes are always processed.
return False
elif should_remove_inside and (not el.previous_sibling or not
el.next_sibling):
@@ -345,7 +346,7 @@
if parent_tags is None:
parent_tags = set()
- text = six.text_type(el) or ''
+ text = str(el)
# normalize whitespace if we're not inside a preformatted element
if 'pre' not in parent_tags:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/markdownify-1.2.3/markdownify.egg-info/PKG-INFO
new/markdownify-1.2.4/markdownify.egg-info/PKG-INFO
--- old/markdownify-1.2.3/markdownify.egg-info/PKG-INFO 2026-06-30
22:27:37.000000000 +0200
+++ new/markdownify-1.2.4/markdownify.egg-info/PKG-INFO 2026-11-18
19:17:07.525126000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
Name: markdownify
-Version: 1.2.3
+Version: 1.2.4
Summary: Convert HTML to markdown.
Author-email: Matthew Tretter <[email protected]>
Project-URL: Homepage, http://github.com/matthewwithanm/python-markdownify
@@ -10,17 +10,21 @@
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2.5
-Classifier: Programming Language :: Python :: 2.6
-Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
+Classifier: Programming Language :: Python :: 3.13
+Classifier: Programming Language :: Python :: 3.14
+Classifier: Programming Language :: Python :: 3.15
Classifier: Topic :: Utilities
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: beautifulsoup4<5,>=4.9
-Requires-Dist: six<2,>=1.15
+Dynamic: license-file
|build| |version| |license| |downloads|
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/markdownify-1.2.3/markdownify.egg-info/requires.txt
new/markdownify-1.2.4/markdownify.egg-info/requires.txt
--- old/markdownify-1.2.3/markdownify.egg-info/requires.txt 2026-06-30
22:27:37.000000000 +0200
+++ new/markdownify-1.2.4/markdownify.egg-info/requires.txt 2026-11-18
19:17:07.540822000 +0100
@@ -1,2 +1 @@
beautifulsoup4<5,>=4.9
-six<2,>=1.15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/markdownify-1.2.3/pyproject.toml
new/markdownify-1.2.4/pyproject.toml
--- old/markdownify-1.2.3/pyproject.toml 2026-06-30 22:27:23.000000000
+0200
+++ new/markdownify-1.2.4/pyproject.toml 2026-11-18 19:16:55.414905000
+0100
@@ -4,7 +4,7 @@
[project]
name = "markdownify"
-version = "1.2.3"
+version = "1.2.4"
authors = [{name = "Matthew Tretter", email = "[email protected]"}]
description = "Convert HTML to markdown."
readme = "README.rst"
@@ -14,17 +14,20 @@
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
- "Programming Language :: Python :: 2.5",
- "Programming Language :: Python :: 2.6",
- "Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
+ "Programming Language :: Python :: 3.14",
+ "Programming Language :: Python :: 3.15",
"Topic :: Utilities",
]
dependencies = [
"beautifulsoup4>=4.9,<5",
- "six>=1.15,<2"
]
[project.urls]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/markdownify-1.2.3/shell.nix
new/markdownify-1.2.4/shell.nix
--- old/markdownify-1.2.3/shell.nix 2026-06-30 22:27:23.000000000 +0200
+++ new/markdownify-1.2.4/shell.nix 2026-11-18 19:16:55.414905000 +0100
@@ -2,9 +2,12 @@
pkgs.mkShell {
name = "python-shell";
buildInputs = with pkgs; [
- python38
- python38Packages.tox
- python38Packages.setuptools
- python38Packages.virtualenv
+ python315
+ python314Packages.tox
+ python314Packages.setuptools
+ python314Packages.virtualenv
+ python314Packages.mypy
+ python314Packages.types-beautifulsoup4
+ python314Packages.pytest
];
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/markdownify-1.2.3/tox.ini
new/markdownify-1.2.4/tox.ini
--- old/markdownify-1.2.3/tox.ini 2026-06-30 22:27:23.000000000 +0200
+++ new/markdownify-1.2.4/tox.ini 2026-11-18 19:16:55.415252400 +0100
@@ -1,5 +1,5 @@
[tox]
-envlist = py38
+envlist = py315
[testenv]
passenv = PYTHONPATH