Your message dated Thu, 15 Aug 2019 19:37:32 +0000
with message-id <[email protected]>
and subject line Bug#922833: fixed in python-mechanicalsoup 0.10.0-3
has caused the Debian Bug report #922833,
regarding lxml breaks python-mechanicalsoup autopkgtest
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.)


-- 
922833: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922833
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: lxml, python-mechanicalsoup
Control: found -1 lxml/4.3.1-1
Control: found -1 python-mechanicalsoup/0.10.0-2
Severity: important
X-Debbugs-CC: [email protected]
User: [email protected]
Usertags: breaks needs-update

Dear maintainers,

With a recent upload of lxml the autopkgtest of python-mechanicalsoup
fails in testing when that autopkgtest is run with the binary packages
of lxml from unstable. It passes when run with only packages from
testing. In tabular form:
                       pass            fail
lxml                   from testing    4.3.1-1
python-mechanicalsoup  from testing    0.10.0-2
versioned deps [0]     from testing    from unstable
all others             from testing    from testing

I copied some of the output at the bottom of this report. I can't judge
the first error, the second error smells like the reference data needs
an update in python-mechanicalsoup.

Currently this regression is blocking the migration of lxml to testing
[1]. Due to the nature of this issue, I filed this bug report against
both packages. Can you please investigate the situation and reassign the
bug to the right package? If needed, please change the bug's severity.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] You can see what packages were added from the second line of the log
file quoted below. The migration software adds source package from
unstable to the list if they are needed to install packages from
lxml/4.3.1-1. I.e. due to versioned dependencies or breaks/conflicts.
[1] https://qa.debian.org/excuses.php?package=lxml

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-mechanicalsoup/1969240/log.gz

=================================== FAILURES
===================================
______________________________ test_submit_online
______________________________

httpbin = <utils.HttpbinRemote object at 0x7f205a9f5780>

    def test_submit_online(httpbin):
        """Complete and submit the pizza form at
http://httpbin.org/forms/post """
        browser = mechanicalsoup.StatefulBrowser()
        browser.set_user_agent('testing MechanicalSoup')
        browser.open(httpbin.url)
        for link in browser.links():
            if link["href"] == "/":
                browser.follow_link(link)
                break
        browser.follow_link("forms/post")
        assert browser.get_url() == httpbin + "/forms/post"
        browser.select_form("form")
        browser["custname"] = "Customer Name Here"
        browser["size"] = "medium"
        browser["topping"] = ("cheese", "bacon")
        # Change our mind to make sure old boxes are unticked
        browser["topping"] = ("cheese", "onion")
        browser["comments"] = "Some comment here"
        browser.get_current_form().set("nosuchfield", "new value", True)
        response = browser.submit_selected()
        json = response.json()
        data = json["form"]
        assert data["custname"] == "Customer Name Here"
        assert data["custtel"] == ""  # web browser submits "" for input
left blank
        assert data["size"] == "medium"
        assert set(data["topping"]) == set(("cheese", "onion"))
        assert data["comments"] == "Some comment here"
        assert data["nosuchfield"] == "new value"

        assert json["headers"]["User-Agent"] == 'testing MechanicalSoup'
        # Ensure we haven't blown away any regular headers
        expected_headers = ('Content-Length', 'Host', 'Content-Type',
'Connection',
                            'Accept', 'User-Agent', 'Accept-Encoding')
>       assert set(expected_headers).issubset(json["headers"].keys())
E       AssertionError: assert False
E        +  where False = <built-in method issubset of set object at
0x7f205a9b7ba8>(dict_keys(['Accept', 'Accept-Encoding',
'Content-Length', 'Content-Type', 'Host', 'Referer', 'User-Agent']))
E        +    where <built-in method issubset of set object at
0x7f205a9b7ba8> = {'Accept', 'Accept-Encoding', 'Connection',
'Content-Length', 'Content-Type', 'Host', ...}.issubset
E        +      where {'Accept', 'Accept-Encoding', 'Connection',
'Content-Length', 'Content-Type', 'Host', ...} = set(('Content-Length',
'Host', 'Content-Type', 'Connection', 'Accept', 'User-Agent', ...))
E        +    and   dict_keys(['Accept', 'Accept-Encoding',
'Content-Length', 'Content-Type', 'Host', 'Referer', 'User-Agent']) =
<built-in method keys of dict object at 0x7f205a85ec60>()
E        +      where <built-in method keys of dict object at
0x7f205a85ec60> = {'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate',
'Content-Length': '147', 'Content-Type':
'application/x-www-form-urlencoded', ...}.keys

tests/test_stateful_browser.py:60: AssertionError
______________________________ test_open_relative
______________________________

httpbin = <utils.HttpbinRemote object at 0x7f205a931a90>

    def test_open_relative(httpbin):
        # Open an arbitrary httpbin page to set the current URL
        browser = mechanicalsoup.StatefulBrowser()
        browser.open(httpbin + "/html")

        # Open a relative page and make sure remote host and browser
agree on URL
        resp = browser.open_relative("/get")
>       assert resp.json()['url'] == httpbin + "/get"
E       AssertionError: assert 'https://httpbin.org/get' ==
'http://httpbin.org/get'
E         - https://httpbin.org/get
E         ?     -
E         + http://httpbin.org/get

tests/test_stateful_browser.py:90: AssertionError

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: python-mechanicalsoup
Source-Version: 0.10.0-3

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.
Andrey Rahmatullin <[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: Fri, 16 Aug 2019 00:21:39 +0500
Source: python-mechanicalsoup
Architecture: source
Version: 0.10.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Andrey Rahmatullin <[email protected]>
Closes: 922833
Changes:
 python-mechanicalsoup (0.10.0-3) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Ondřej Nový ]
   * Use debhelper-compat instead of debian/compat.
   * Drop Python 2 support.
   * Bump debhelper compat level to 12.
   * Bump standards version to 4.4.0 (no changes).
 .
   [ Andrey Rahmatullin ]
   * Add patches from Ubuntu to fix test failures (Closes: #922833).
Checksums-Sha1:
 1bcc579d57b28098fbd5ef8191e72ef68d0dbb01 2323 
python-mechanicalsoup_0.10.0-3.dsc
 2ecb0536ace595d0a34145e116356dd6eb7e3279 5584 
python-mechanicalsoup_0.10.0-3.debian.tar.xz
 931d207c4cee81384e67ee396a5b44d0c5601f1e 6362 
python-mechanicalsoup_0.10.0-3_amd64.buildinfo
Checksums-Sha256:
 62b88290f8f0154db1d4da6a840b7d9b3b9266ae0184be9a40da9ea26ceb8ca4 2323 
python-mechanicalsoup_0.10.0-3.dsc
 af692bc70bc3df0794d4dfd1a1e16a72bf38b74a0ed5cb29ea442e4948c68894 5584 
python-mechanicalsoup_0.10.0-3.debian.tar.xz
 4df184d5a7ad3236fdc779dfa148d6330eecba97955c301c117651cefeaed173 6362 
python-mechanicalsoup_0.10.0-3_amd64.buildinfo
Files:
 e17848ca1748150ceecebc691de611df 2323 python optional 
python-mechanicalsoup_0.10.0-3.dsc
 4a744a7b59f2756ed7eceebbefe4865b 5584 python optional 
python-mechanicalsoup_0.10.0-3.debian.tar.xz
 aafedac1e04952c60bf5269a467d5518 6362 python optional 
python-mechanicalsoup_0.10.0-3_amd64.buildinfo

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

iQIzBAEBCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAl1VsUsACgkQM2L3AxpJ
kuF5zA/9HgXCxR2FwQ6kJ8H0TbhFuwygeQif3ngxlngQn0sl8IFTOL5eU1+2ES7F
EURiARfGJA2N9vEcby9ISScGCb9vKX8CGl9ArH86KF8KjUCdXYVnpFR+/zvM2BBf
0B262J75+SZFQgYxmnwBI3skwMnXQlHng2CHvA8xHTYBI5NRxn1l9pJG24ZZejla
z0kreOie3TmkwZ5uDDEs/BGO5/UXjDa8j58Soo0Ag6EJyyuuHc1Sj/Br0xvMoK7w
zLeM22FmqHL+HpPsGtozY8oDOo8zbW3qjj7Cx6RxKpgZsBV+/6+Jdij/JwoTyTle
M1ErtmqsfLyCzj5Szi/lcvY5jQa91q4n+3MDVRtE5FEtNzhF/szjH15CbTqeW3an
vPXFhMLjM/7lSDDbEZCDZpmaHR5IHyvu9cgjOZtlRHoqvaR3dQWLfV0jnWmc2qCK
Izwk1NRFQyZBx0ORPBihh0x+XhmNqIx8St6NUZviZaz2kWx5/Xg3rzL0ZQZ7QkSy
Es0BgIVkasphj7FEUml0+HWtgOtOovBOyQB/n7EYieTBdlxHjWaYuSNe/3uujKEf
6+wy+Mo+1A+FKH68my+NAfHqxPHSKBXQN5a+V+ywCgdGLeuQ3cuMuNu7q77Za0yV
Tznq1hs7GgSG78ofs9tfiPwRLSiY94kfsNJQ5sZMQN34EquQDE0=
=ALHm
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to