Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-MechanicalSoup for 
openSUSE:Factory checked in at 2026-02-12 17:29:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-MechanicalSoup (Old)
 and      /work/SRC/openSUSE:Factory/.python-MechanicalSoup.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-MechanicalSoup"

Thu Feb 12 17:29:16 2026 rev:13 rq:1332639 version:1.4.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-MechanicalSoup/python-MechanicalSoup.changes  
    2025-08-12 17:06:35.912333525 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-MechanicalSoup.new.1977/python-MechanicalSoup.changes
    2026-02-12 17:29:36.444992651 +0100
@@ -1,0 +2,10 @@
+Thu Feb 12 08:40:13 UTC 2026 - Daniel Garcia <[email protected]>
+
+- fix unclosed textarea element
+  Add fix-unclosed-textarea.patch from upstream
+  gh#MechanicalSoup/MechanicalSoup#454
+- Add missing dependencies
+- Add python-MechanicalSoup.rpmlintrc to filter
+  "explicit-lib-dependency: python.*-urllib3"
+
+-------------------------------------------------------------------

New:
----
  fix-unclosed-textarea.patch
  python-MechanicalSoup.rpmlintrc

----------(New B)----------
  New:- fix unclosed textarea element
  Add fix-unclosed-textarea.patch from upstream
  gh#MechanicalSoup/MechanicalSoup#454
----------(New E)----------

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

Other differences:
------------------
++++++ python-MechanicalSoup.spec ++++++
--- /var/tmp/diff_new_pack.4c5UOy/_old  2026-02-12 17:29:37.141022142 +0100
+++ /var/tmp/diff_new_pack.4c5UOy/_new  2026-02-12 17:29:37.141022142 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-MechanicalSoup
 #
-# 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
@@ -24,6 +24,9 @@
 License:        MIT
 URL:            https://github.com/hickford/MechanicalSoup
 Source:         
https://files.pythonhosted.org/packages/source/m/mechanicalsoup/mechanicalsoup-%{version}.tar.gz
+Source100:      python-MechanicalSoup.rpmlintrc
+# PATCH-FIX-UPSTREAM fix-unclosed-textarea.patch -- 
gh#MechanicalSoup/MechanicalSoup#454
+Patch0:         fix-unclosed-textarea.patch
 BuildRequires:  %{python_module beautifulsoup4 >= 4.7}
 BuildRequires:  %{python_module httpbin}
 BuildRequires:  %{python_module jsonschema >= 2.5.1}
@@ -39,8 +42,10 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-beautifulsoup4 >= 4.7
+Requires:       python-certifi
 Requires:       python-lxml
 Requires:       python-requests >= 2.22.0
+Requires:       python-urllib3
 Recommends:     python-httpbin
 Recommends:     python-jsonschema >= 2.5.1
 BuildArch:      noarch
@@ -58,7 +63,7 @@
 document navigation).
 
 %prep
-%setup -q -n mechanicalsoup-%{version}
+%autosetup -p1 -n mechanicalsoup-%{version}
 # do not require cov/xdist/etc
 sed -i -e '/addopts/d' setup.cfg
 

++++++ fix-unclosed-textarea.patch ++++++
>From cad2ef13ed952e0589daa4b7837f289f57c8d423 Mon Sep 17 00:00:00 2001
From: Dan Hemberger <[email protected]>
Date: Mon, 30 Jun 2025 18:44:56 -0700
Subject: [PATCH] test_stateful_browser.py: fix unclosed textarea element

Fixes #450.

The HTML parser in libxml2 2.14 is more strict about closing textarea
elements.
---
 tests/test_stateful_browser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: mechanicalsoup-1.4.0/tests/test_stateful_browser.py
===================================================================
--- mechanicalsoup-1.4.0.orig/tests/test_stateful_browser.py
+++ mechanicalsoup-1.4.0/tests/test_stateful_browser.py
@@ -498,7 +498,7 @@ def test_select_form_tag_object():
 
 def test_select_form_associated_elements():
     """Test associated elements outside the form tag"""
-    forms = """<form id="a"><input><textarea></form><input form="a">
+    forms = """<form id="a"><input><textarea></textarea></form><input form="a">
                <textarea form="a"/><input form="b">
                <form id="ab" action="/test.php"><input></form>
                <textarea form="ab"></textarea>

++++++ python-MechanicalSoup.rpmlintrc ++++++
addFilter('explicit-lib-dependency python.*-urllib')

Reply via email to