Your message dated Mon, 02 Dec 2019 23:56:11 +0000
with message-id <e1ibvy3-000c0a...@fasolo.debian.org>
and subject line Bug#945450: fixed in python-urllib3 1.25.6-3
has caused the Debian Bug report #945450,
regarding python-urllib3: FTBFS under C locale
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 ow...@bugs.debian.org
immediately.)


-- 
945450: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945450
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-urllib3
Version: 1.25.6-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Hi,

python-urllib3/experimental FTBFS under LC_ALL=C (which is set by
pbuilder) due to a failing test. It works if e.g. LC_ALL=C.UTF-8 is
exported from debian/rules.

=================================== FAILURES ===================================
______________________ TestResponse.test_io_textiowrapper ______________________

self = <test.test_response.TestResponse object at 0x7f8836078590>

    def test_io_textiowrapper(self):
        fp = BytesIO(b"\xc3\xa4\xc3\xb6\xc3\xbc\xc3\x9f")
        resp = HTTPResponse(fp, preload_content=False)
        br = TextIOWrapper(resp, encoding="utf8")
    
        assert br.read() == u"äöüß"
    
        br.close()
        assert resp.closed
    
        # HTTPResponse.read() by default closes the response
        # https://github.com/urllib3/urllib3/issues/1305
        fp = BytesIO(
            
b"\xc3\xa4\xc3\xb6\xc3\xbc\xc3\x9f\n\xce\xb1\xce\xb2\xce\xb3\xce\xb4"
        )
        resp = HTTPResponse(fp, preload_content=False)
        with pytest.raises(ValueError) as ctx:
            if six.PY2:
                # py2's implementation of TextIOWrapper requires `read1`
                # method which is provided by `BufferedReader` wrapper
                resp = BufferedReader(resp)
            list(TextIOWrapper(resp))
>       assert str(ctx.value) == "I/O operation on closed file."
E       assert "'ascii' code...in range(128)" == 'I/O operation on closed file.'
E         - 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in 
range(128)
E         + I/O operation on closed file.

test/test_response.py:416: AssertionError
======== 1 failed, 466 passed, 8 skipped, 1 deselected in 12.46 seconds ========


Andreas

--- End Message ---
--- Begin Message ---
Source: python-urllib3
Source-Version: 1.25.6-3

We believe that the bug you reported is fixed in the latest version of
python-urllib3, 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 945...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniele Tricoli <er...@debian.org> (supplier of updated python-urllib3 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 02 Dec 2019 23:20:06 +0100
Source: python-urllib3
Architecture: source
Version: 1.25.6-3
Distribution: experimental
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Daniele Tricoli <er...@debian.org>
Closes: 945450
Changes:
 python-urllib3 (1.25.6-3) experimental; urgency=medium
 .
   * debian/rules
     - Export LC_ALL=C.UTF-8 to build tests also using pbuilder.
       Thanks to Andreas Beckmann for the report and suggestion.
       (Closes: #945450)
Checksums-Sha1:
 ae6da06d3a251eb4c50b57d9f703b5c21688bea5 2533 python-urllib3_1.25.6-3.dsc
 23d325feacba2beb2521d1741546c3d79dfe0a1b 10296 
python-urllib3_1.25.6-3.debian.tar.xz
 842a5dbbcab25e377fffe16855fe309a6781d0a2 8356 
python-urllib3_1.25.6-3_amd64.buildinfo
Checksums-Sha256:
 7608409577d8e7caac69d5c1cfe9fe529f45d1d94595d4641922895a53073477 2533 
python-urllib3_1.25.6-3.dsc
 ae3503908b0b0254cd2830f1e55cf3ee1267357f2f251e3d955f21913f1eb926 10296 
python-urllib3_1.25.6-3.debian.tar.xz
 53282ef369b1b81cdd39701ef0806e19e45cb1e610d7b88dfb821fa889d44f65 8356 
python-urllib3_1.25.6-3_amd64.buildinfo
Files:
 ce6d596bef3e26aca7a7603853308e3e 2533 python optional 
python-urllib3_1.25.6-3.dsc
 afc4de479a2f797a19d08574a392f588 10296 python optional 
python-urllib3_1.25.6-3.debian.tar.xz
 720477c1cfec0fe9c66e3b0d3342ad8c 8356 python optional 
python-urllib3_1.25.6-3_amd64.buildinfo

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

iQJFBAEBCgAvFiEExlrvn+W/jMvW7bAZi69SLA1szt0FAl3lllMRHGVyaW9sQGRl
Ymlhbi5vcmcACgkQi69SLA1szt3iYA//Y/RMo9Qe/FQ9NxQzSy/xZRSs9eFHNDrP
TyIMRk3IBfcA1YbahVZv2CW5FSJCqNMqlWkJ9ecbsx9JMSbGlDDSJIBFOL+ldIvM
odx+NXX7+4hYmvLRQjpF9leADNvErUsu5wBmoH22c9ZmIw2fLrd4Hosdd21hmVQo
EVTyiTPfv0EISiKXI+wujKrpXNuCEdkvOuyS4Zhjnmun++n3DjRuQ/FKGritwM45
ArQEyoncz+EnHYgWhT6zHBFeSlccrMntqqqsWTo93c46k6I7PC9AyJLuypDD0ORL
qS6M6DhP1yCpANAaWVB5KkMAJcXnN5Zyj5Lt7GGYm22wb5t7DVpOiJbtre1aEYl6
lkdecEu5/2Pxst9cdOLzqu4yBjAClEe8YK3rrLHHO9uoqBLbmyfyYtphYPIaStRM
rteliS28OvE5RSj34qj8TNLVEWSRrpO/3LXlJZHXohFJG/VQdK7Vi8mSbF+3pf33
aERKPpCtndWtnITesV2aUFHiw3Ud7IFvWEMdwzPkyBP4MrN48IC2/HnOwNxDndcN
BgGhyHFI2mNN07/Lc2RjCcrlYpRbIMiCMj3XRw6lyRwQb4NHJSJtSuvHh1n2cvEy
z9Fjyz2qx/CvLdqa+47WvZ3AN0Mx8Tw0HpFnMX8dWHFADRYHGLE+95Z0UTYmzSFs
4qo6a5F5xoI=
=nDeU
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to