Your message dated Sat, 16 Aug 2025 20:57:40 +0000
with message-id <[email protected]>
and subject line Bug#1107078: fixed in python-mechanicalsoup 1.4.0-1
has caused the Debian Bug report #1107078,
regarding python-mechanicalsoup autopkg test fails with libxml 2.14.x from 
experimental
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1107078: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107078
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-mechanicalsoup
Version: 1.3.0-2
Tags: ftbfs sid forky
User: [email protected]
Usertags: libxml2.14

[this bug is NOT targeted to the upcoming trixie release]

Note that lxml also needs to be built with libxml 2.14.x from experimental.

[...]
75s =================================== FAILURES =================================== 75s _____________________ test_select_form_associated_elements _____________________
 75s
 75s     def test_select_form_associated_elements():
 75s         """Test associated elements outside the form tag"""
75s forms = """<form id="a"><input><textarea></form><input form="a">
 75s                    <textarea form="a"/><input form="b">
 75s                    <form id="ab" action="/test.php"><input></form>
 75s                    <textarea form="ab"></textarea>
 75s                 """
 75s         with mechanicalsoup.StatefulBrowser() as browser:
 75s             browser.open_fake_page(forms)
 75s             elements_form_a = set([
 75s                 "<input/>", "<textarea></textarea>",
75s '<input form="a"/>', '<textarea form="a"></textarea>']) 75s elements_form_ab = set(["<input/>", '<textarea form="ab"></textarea>'])
 75s             form_by_str = browser.select_form("#a")
75s form_by_tag = browser.select_form(browser.page.find("form", id='a'))
 75s >           form_by_css = browser.select_form("form[action$='.php']")
 75s
 75s tests/test_stateful_browser.py:514:
75s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 75s
75s self = <mechanicalsoup.stateful_browser.StatefulBrowser object at 0x71f654fcfd90>
 75s selector = "form[action$='.php']", nr = 0
 75s
 75s     def select_form(self, selector="form", nr=0):
 75s         """Select a form in the current page.
 75s
75s :param selector: CSS selector or a bs4.element.Tag object to identify
 75s             the form to select.
75s If not specified, ``selector`` defaults to "form", which is
 75s             useful if, e.g., there is only one form on the page.
75s For ``selector`` syntax, see the `.select() method in BeautifulSoup 75s <https://www.crummy.com/software/BeautifulSoup/bs4/doc/#css-selectors>`__. 75s :param nr: A zero-based index specifying which form among those that 75s match ``selector`` will be selected. Useful when one or more forms 75s have the same attributes as the form you want to select, and its 75s position on the page is the only way to uniquely identify it.
 75s             Default is the first matching form (``nr=0``).
 75s
 75s         :return: The selected form as a soup object. It can also be
 75s             retrieved later with the :attr:`form` attribute.
 75s         """
 75s
 75s         def find_associated_elements(form_id):
 75s             """Find all elements associated to a form
75s (i.e. an element with a form attribute -> ``form=form_id``)
 75s             """
 75s
 75s             # Elements which can have a form owner
 75s             elements_with_owner_form = ("input", "button", "fieldset",
 75s                                         "object", "output", "select",
 75s                                         "textarea")
 75s
 75s             found_elements = []
 75s
 75s             for element in elements_with_owner_form:
 75s                 found_elements.extend(
 75s                     self.page.find_all(element, form=form_id)
 75s                 )
 75s             return found_elements
 75s
 75s         if isinstance(selector, bs4.element.Tag):
 75s             if selector.name != "form":
 75s                 raise LinkNotFoundError
 75s             form = selector
 75s         else:
 75s             # nr is a 0-based index for consistency with mechanize
 75s             found_forms = self.page.select(selector,
 75s                                            limit=nr + 1)
 75s             if len(found_forms) != nr + 1:
 75s                 if self.__debug:
 75s                     print('select_form failed for', selector)
 75s                     self.launch_browser()
 75s >               raise LinkNotFoundError()
 75s E               mechanicalsoup.utils.LinkNotFoundError
 75s
75s /usr/lib/python3/dist-packages/mechanicalsoup/stateful_browser.py:241: LinkNotFoundError 75s =========================== short test summary info ============================ 75s FAILED tests/test_stateful_browser.py::test_select_form_associated_elements 75s ================= 1 failed, 111 passed, 8 deselected in 1.24s ==================
--- End Message ---
--- Begin Message ---
Source: python-mechanicalsoup
Source-Version: 1.4.0-1
Done: Stefano Rivera <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-mechanicalsoup, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated python-mechanicalsoup 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 16 Aug 2025 21:35:53 +0200
Source: python-mechanicalsoup
Architecture: source
Version: 1.4.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Closes: 1107078 1107080
Changes:
 python-mechanicalsoup (1.4.0-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release. (Closes: #1107080)
   * Patch: Support libxml 2.14 (Closes: #1107078)
Checksums-Sha1:
 164f5365713bb9ab4e806a410c83bc9395229c0e 1763 python-mechanicalsoup_1.4.0-1.dsc
 46f434882a8d5bad6d5e617c8c3e98dba3e16c18 51131 
python-mechanicalsoup_1.4.0.orig.tar.gz
 4a67402b30092b90628669501e7e8121e1180414 4348 
python-mechanicalsoup_1.4.0-1.debian.tar.xz
 0b7fceea44ace709646f6067d89f6ef9b4d532e6 7579 
python-mechanicalsoup_1.4.0-1_source.buildinfo
Checksums-Sha256:
 65a327daca8a55da157ca9efc39672383b43a6b4170120805eef51af19c68225 1763 
python-mechanicalsoup_1.4.0-1.dsc
 dce8a797635a748c4724471b5ebee5b1be42531a8464ed4a955e9a46cf612a4c 51131 
python-mechanicalsoup_1.4.0.orig.tar.gz
 f8e7bd0c77b570807efe0d22e57fb43e68a58981ffb94b340d623cf37d59aef5 4348 
python-mechanicalsoup_1.4.0-1.debian.tar.xz
 f5038f3854c7596952424728e8df20e0e2083f41573422800016dacd5439dd35 7579 
python-mechanicalsoup_1.4.0-1_source.buildinfo
Files:
 e0f0706b0eeb9f8c17a10bb12a9417de 1763 python optional 
python-mechanicalsoup_1.4.0-1.dsc
 3448abb2e797e68bbb05bbb584ffe3f0 51131 python optional 
python-mechanicalsoup_1.4.0.orig.tar.gz
 6bfdd0c861258b730533de81a9239168 4348 python optional 
python-mechanicalsoup_1.4.0-1.debian.tar.xz
 8ae75f69b46bff2937422b6eda981a3f 7579 python optional 
python-mechanicalsoup_1.4.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCaKDkpxQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2BdwAQDSKKgL+HcDE2uKcl97XCA5JFdvyzo9
W68ChWuOMPRb+QD+J9YH36eO4Op+U6cuGzNg2fbIQn3e9bZ8ZqOiEfUVfAQ=
=3wW0
-----END PGP SIGNATURE-----

Attachment: pgpuNUDxR0qlH.pgp
Description: PGP signature


--- End Message ---

Reply via email to