Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2026-03-20 21:20:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and      /work/SRC/openSUSE:Factory/.python-feedparser.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-feedparser"

Fri Mar 20 21:20:07 2026 rev:41 rq:1341432 version:6.0.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes      
2025-09-11 14:43:35.674590250 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-feedparser.new.8177/python-feedparser.changes
    2026-03-20 21:20:34.211405125 +0100
@@ -1,0 +2,5 @@
+Thu Mar 19 12:04:29 UTC 2026 - Markéta Machová <[email protected]>
+
+- Add upstream-issue-inspired chardet6.patch to fix tests
+
+-------------------------------------------------------------------
@@ -4 +9 @@
-- update to version 6.0.11:
+- update to version 6.0.12:

New:
----
  chardet6.patch

----------(New B)----------
  New:
- Add upstream-issue-inspired chardet6.patch to fix tests
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-feedparser.spec ++++++
--- /var/tmp/diff_new_pack.MkRk9q/_old  2026-03-20 21:20:34.911434290 +0100
+++ /var/tmp/diff_new_pack.MkRk9q/_new  2026-03-20 21:20:34.915434456 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-feedparser
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# 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
@@ -25,6 +25,8 @@
 Group:          Development/Libraries/Python
 URL:            https://github.com/kurtmckee/feedparser
 Source:         
https://files.pythonhosted.org/packages/source/f/feedparser/feedparser-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM inspired by 
https://github.com/kurtmckee/feedparser/issues/318 and the linked patches
+Patch:          chardet6.patch
 BuildRequires:  %{python_module chardet}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}

++++++ chardet6.patch ++++++
Index: feedparser-6.0.12/tests/illformed/chardet/big5.xml
===================================================================
--- feedparser-6.0.12.orig/tests/illformed/chardet/big5.xml
+++ feedparser-6.0.12/tests/illformed/chardet/big5.xml
@@ -1,8 +1,8 @@
 <!--
 SkipUnless:   __import__('chardet')
 Description:  Big5 with no encoding information
-Expect:       bozo and encoding == 'Big5'
+Expect:       bozo and encoding in ('Big5', 'BIG5')
 -->
 <feed xmlns="http://www.w3.org/2005/Atom";>
 <title>�ڧƱ�??�ܮe��?��½?������A�}���U�_��??��C �P?�z??����C</title>
-</feed>
\ No newline at end of file
+</feed>
Index: feedparser-6.0.12/tests/illformed/chardet/euckr.xml
===================================================================
--- feedparser-6.0.12.orig/tests/illformed/chardet/euckr.xml
+++ feedparser-6.0.12/tests/illformed/chardet/euckr.xml
@@ -1,7 +1,7 @@
 <!--
 SkipUnless:   __import__('chardet')
 Description:  EUC-KR with no encoding information
-Expect:       bozo and encoding == 'EUC-KR'
+Expect:       bozo and encoding in ('EUC-KR', 'UHC', 'CP949')
 -->
 <rss>
 <channel>
@@ -10,4 +10,4 @@ Expect:       bozo and encoding == 'EUC-
 <description>TypeKey ����� UTF-8�� ����, �ű⼭ �ѱ۷� �� �г���� ��� ��쿡, EUC-KR�� 
�� ����Ÿ�� �Ͽ��� �����Ʈ�Ǿ� �۵Ǿ��� �г����� UTF�� ��� ��� �����. ��� �� ��� 
����ϴ� �ʸ� ���� �г���� �ѱ۷� ����ϴ� �� �е鵵 Ÿ��Ű������ �г���� � �������� 
�����ڸԱ�� ����� �� �ִ�....</description>
 </item>
 </channel>
-</rss>
\ No newline at end of file
+</rss>
Index: feedparser-6.0.12/tests/illformed/chardet/gb2312.xml
===================================================================
--- feedparser-6.0.12.orig/tests/illformed/chardet/gb2312.xml
+++ feedparser-6.0.12/tests/illformed/chardet/gb2312.xml
@@ -1,7 +1,7 @@
 <!--
 SkipUnless:   __import__('chardet')
 Description:  GB2312 with no encoding information
-Expect:       bozo and encoding == 'GB2312'
+Expect:       bozo and encoding in ('GB2312', 'GB18030')
 -->
 <rss>
 <channel>
Index: feedparser-6.0.12/tests/illformed/chardet/tis620.xml
===================================================================
--- feedparser-6.0.12.orig/tests/illformed/chardet/tis620.xml
+++ feedparser-6.0.12/tests/illformed/chardet/tis620.xml
@@ -1,7 +1,7 @@
 <!--
 SkipUnless:   __import__('chardet')
 Description:  TIS-620 with no encoding information
-Expect:       bozo and encoding == 'TIS-620'
+Expect:       bozo and encoding in ('TIS-620', 'CP874')
 -->
 <rss>
 <channel>
Index: feedparser-6.0.12/tests/illformed/chardet/windows1255.xml
===================================================================
--- feedparser-6.0.12.orig/tests/illformed/chardet/windows1255.xml
+++ feedparser-6.0.12/tests/illformed/chardet/windows1255.xml
@@ -1,7 +1,7 @@
 <!--
 SkipUnless:   __import__('chardet')
 Description:  windows-1255 with no encoding information
-Expect:       bozo and encoding == 'windows-1255'
+Expect:       bozo and encoding in ('windows-1255', 'WINDOWS-1255')
 -->
 <rss>
 <channel>

Reply via email to