Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-textile for openSUSE:Factory checked in at 2026-05-20 15:24:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-textile (Old) and /work/SRC/openSUSE:Factory/.python-textile.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-textile" Wed May 20 15:24:59 2026 rev:12 rq:1354127 version:4.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-textile/python-textile.changes 2024-10-11 17:07:26.271541339 +0200 +++ /work/SRC/openSUSE:Factory/.python-textile.new.1966/python-textile.changes 2026-05-20 15:26:14.030373420 +0200 @@ -1,0 +2,8 @@ +Tue May 19 22:06:37 UTC 2026 - Dirk Müller <[email protected]> + +- update to 4.0.4: + * Update supported python versions to include 3.13, and 3.14. + Minimum support for pypy has increased to pypy3.11. + * Allow text blocks with spaces around first and last newlines + +------------------------------------------------------------------- Old: ---- textile-4.0.3.tar.gz New: ---- textile-4.0.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-textile.spec ++++++ --- /var/tmp/diff_new_pack.xY0DhI/_old 2026-05-20 15:26:15.086416935 +0200 +++ /var/tmp/diff_new_pack.xY0DhI/_new 2026-05-20 15:26:15.086416935 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-textile # -# Copyright (c) 2024 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 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-textile -Version: 4.0.3 +Version: 4.0.4 Release: 0 Summary: Textile processing for python License: BSD-3-Clause ++++++ textile-4.0.3.tar.gz -> textile-4.0.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/textile-4.0.3/.github/workflows/lint_and_test.yml new/textile-4.0.4/.github/workflows/lint_and_test.yml --- old/textile-4.0.3/.github/workflows/lint_and_test.yml 2024-09-22 20:59:36.000000000 +0200 +++ new/textile-4.0.4/.github/workflows/lint_and_test.yml 2026-05-10 22:48:07.000000000 +0200 @@ -8,7 +8,7 @@ runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "pypy3.11"] image_size: ['true', 'false'] steps: - uses: actions/checkout@v4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/textile-4.0.3/CHANGELOG.textile new/textile-4.0.4/CHANGELOG.textile --- old/textile-4.0.3/CHANGELOG.textile 2024-09-22 20:59:36.000000000 +0200 +++ new/textile-4.0.4/CHANGELOG.textile 2026-05-10 22:49:40.000000000 +0200 @@ -1,5 +1,11 @@ + h1. Textile Changelog +h2. Version 4.0.4 +* Update supported python versions to include 3.13, and 3.14. Minimum support for pypy has increased to pypy3.11. +* Bugfixes: +** Allow text blocks with spaces around first and last newlines ("#87":https://github.com/textile/python-textile/pull/87) + h2. Version 4.0.3 * Update supported Python versions to 3.8 - 3.12 ("#83":https://github.com/textile/python-textile/issues/83) * Replace html5lib with nh3 for html sanitization diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/textile-4.0.3/CONTRIBUTORS.txt new/textile-4.0.4/CONTRIBUTORS.txt --- old/textile-4.0.3/CONTRIBUTORS.txt 2024-09-22 20:59:36.000000000 +0200 +++ new/textile-4.0.4/CONTRIBUTORS.txt 2026-05-10 22:48:07.000000000 +0200 @@ -9,4 +9,5 @@ Dave Brondsema Dmitry Shachnev Kirill Mavreshko -Brad Schoening \ No newline at end of file +Brad Schoening +Samuel Lim \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/textile-4.0.3/PKG-INFO new/textile-4.0.4/PKG-INFO --- old/textile-4.0.3/PKG-INFO 2024-09-22 21:15:56.436805200 +0200 +++ new/textile-4.0.4/PKG-INFO 2026-05-10 22:54:58.748859200 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 2.1 +Metadata-Version: 2.4 Name: textile -Version: 4.0.3 +Version: 4.0.4 Summary: Textile processing for python. Author-email: Dennis Burke <[email protected]> Project-URL: Homepage, https://github.com/textile/python-textile @@ -20,6 +20,8 @@ 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: Topic :: Software Development :: Libraries :: Python Modules Requires-Python: >=3.8 Description-Content-Type: text/markdown @@ -31,6 +33,7 @@ Requires-Dist: pytest-cov; extra == "develop" Provides-Extra: imagesize Requires-Dist: Pillow>=3.0.0; extra == "imagesize" +Dynamic: license-file <p><a href="https://github.com/textile/python-textile/actions/workflows/lint_and_test.yml"><img alt="python-textile" src="https://github.com/textile/python-textile/actions/workflows/lint_and_test.yml/badge.svg" title="python-textile" /></a> <a href="https://codecov.io/github/textile/python-textile"><img alt="" src="https://codecov.io/github/textile/python-textile/coverage.svg" /></a> <img alt="" src="https://img.shields.io/pypi/pyversions/textile" /> <img alt="" src="https://img.shields.io/pypi/wheel/textile" /></p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/textile-4.0.3/pyproject.toml new/textile-4.0.4/pyproject.toml --- old/textile-4.0.3/pyproject.toml 2024-09-22 20:59:36.000000000 +0200 +++ new/textile-4.0.4/pyproject.toml 2026-05-10 22:48:07.000000000 +0200 @@ -22,6 +22,8 @@ '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', 'Topic :: Software Development :: Libraries :: Python Modules', ] dynamic = ["version",] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/textile-4.0.3/tests/test_textile.py new/textile-4.0.4/tests/test_textile.py --- old/textile-4.0.3/tests/test_textile.py 2024-09-22 20:59:36.000000000 +0200 +++ new/textile-4.0.4/tests/test_textile.py 2026-05-10 22:48:07.000000000 +0200 @@ -242,3 +242,9 @@ t = textile.Textile() t.restricted = True assert t.relURL("gopher://gopher.com/") == '#' + + +def test_whitespace_at_beginning_and_end(): + result = textile.textile(' \n Testing 1 2 3 \n ', html_type='html5') + expect = ' Testing 1 2 3 \n ' + assert result == expect diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/textile-4.0.3/textile/core.py new/textile-4.0.4/textile/core.py --- old/textile-4.0.3/textile/core.py 2024-09-22 20:59:36.000000000 +0200 +++ new/textile-4.0.4/textile/core.py 2026-05-10 22:48:07.000000000 +0200 @@ -442,9 +442,9 @@ tag = 'p' atts = cite = ext = '' - out = [] - + block = Block(self, tag, atts, ext, cite, '') # init block + block.eat = False # don't eat the next line after init block for line in text: # the line is just whitespace, add it to the output, and move on if not line.strip(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/textile-4.0.3/textile/version.py new/textile-4.0.4/textile/version.py --- old/textile-4.0.3/textile/version.py 2024-09-22 21:03:01.000000000 +0200 +++ new/textile-4.0.4/textile/version.py 2026-05-10 22:49:40.000000000 +0200 @@ -1 +1 @@ -VERSION = '4.0.3' +VERSION = '4.0.4' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/textile-4.0.3/textile.egg-info/PKG-INFO new/textile-4.0.4/textile.egg-info/PKG-INFO --- old/textile-4.0.3/textile.egg-info/PKG-INFO 2024-09-22 21:15:56.000000000 +0200 +++ new/textile-4.0.4/textile.egg-info/PKG-INFO 2026-05-10 22:54:58.000000000 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 2.1 +Metadata-Version: 2.4 Name: textile -Version: 4.0.3 +Version: 4.0.4 Summary: Textile processing for python. Author-email: Dennis Burke <[email protected]> Project-URL: Homepage, https://github.com/textile/python-textile @@ -20,6 +20,8 @@ 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: Topic :: Software Development :: Libraries :: Python Modules Requires-Python: >=3.8 Description-Content-Type: text/markdown @@ -31,6 +33,7 @@ Requires-Dist: pytest-cov; extra == "develop" Provides-Extra: imagesize Requires-Dist: Pillow>=3.0.0; extra == "imagesize" +Dynamic: license-file <p><a href="https://github.com/textile/python-textile/actions/workflows/lint_and_test.yml"><img alt="python-textile" src="https://github.com/textile/python-textile/actions/workflows/lint_and_test.yml/badge.svg" title="python-textile" /></a> <a href="https://codecov.io/github/textile/python-textile"><img alt="" src="https://codecov.io/github/textile/python-textile/coverage.svg" /></a> <img alt="" src="https://img.shields.io/pypi/pyversions/textile" /> <img alt="" src="https://img.shields.io/pypi/wheel/textile" /></p>
