Your message dated Sat, 23 Feb 2019 23:35:15 +0000
with message-id <e1gxgp9-0008xp...@fasolo.debian.org>
and subject line Bug#912183: fixed in python-cookies 2.2.1-2
has caused the Debian Bug report #912183,
regarding python-cookies FTBFS with python 3.7 as supported version
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.)


-- 
912183: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912183
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-cookies
Version: 2.2.1-1
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-cookies.html

...
============================= test session starts ==============================
platform linux -- Python 3.7.1, pytest-3.6.4, py-1.6.0, pluggy-0.6.0
rootdir: /build/1st/python-cookies-2.2.1, inifile:
collected 67 items

test_cookies.py ........................................................ [ 83%]
......F....                                                              [100%]

=================================== FAILURES ===================================
__________________________ test_encoding_assumptions ___________________________

check_unicode = False

    def test_encoding_assumptions(check_unicode=False):
        "Document and test assumptions underlying URL encoding scheme"
        # Use the RFC 6265 based character class to build a regexp matcher that
        # will tell us whether or not a character is okay to put in cookie 
values.
        cookie_value_re = re.compile("[%s]" % Definitions.COOKIE_OCTET)
        # Figure out which characters are okay. (unichr doesn't exist in Python 
3,
        # in Python 2 it shouldn't be an issue)
        cookie_value_safe1 = set(chr(i) for i in range(0, 256) \
                                if cookie_value_re.match(chr(i)))
        cookie_value_safe2 = set(unichr(i) for i in range(0, 256) \
                                if cookie_value_re.match(unichr(i)))
        # These two are NOT the same on Python3
        assert cookie_value_safe1 == cookie_value_safe2
        # Now which of these are quoted by urllib.quote?
        # caveat: Python 2.6 crashes if chr(127) is passed to quote and safe="",
        # so explicitly set it to b"" to avoid the issue
        safe_but_quoted = set(c for c in cookie_value_safe1
                              if quote(c, safe=b"") != c)
        # Produce a set of characters to give to urllib.quote for the safe parm.
        dont_quote = "".join(sorted(safe_but_quoted))
        # Make sure it works (and that it works because of what we passed)
        for c in dont_quote:
            assert quote(c, safe="") != c
            assert quote(c, safe=dont_quote) == c
    
        # Make sure that the result of using dont_quote as the safe characters 
for
        # urllib.quote produces stuff which is safe as a cookie value, but not
        # different unless it has to be.
        for i in range(0, 255):
            original = chr(i)
            quoted = quote(original, safe=dont_quote)
            # If it is a valid value for a cookie, that quoting should leave it
            # alone.
            if cookie_value_re.match(original):
                assert original == quoted
            # If it isn't a valid value, then the quoted value should be valid.
            else:
                assert cookie_value_re.match(quoted)
    
>       assert set(dont_quote) == set("!#$%&'()*+/:<=>?@[]^`{|}~")
E       assert {'!', '#', '$...'&', "'", ...} == {'!', '#', '$'...'&', "'", ...}
E         Extra items in the right set:
E         '~'
E         Use -v to get the full diff

test_cookies.py:2228: AssertionError
===================== 1 failed, 66 passed in 1.07 seconds ======================
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd 
/build/1st/python-cookies-2.2.1/.pybuild/cpython3_3.7_cookies/build; python3.7 
-m pytest 
dh_auto_test: pybuild --test -i python{version} -p "3.7 3.6" returned exit code 
13
make: *** [debian/rules:8: build] Error 25

--- End Message ---
--- Begin Message ---
Source: python-cookies
Source-Version: 2.2.1-2

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

Debian distribution maintenance software
pp.
Federico Ceratto <feder...@debian.org> (supplier of updated python-cookies 
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: Sat, 23 Feb 2019 21:49:46 +0000
Source: python-cookies
Binary: python-cookies python3-cookies
Architecture: source all
Version: 2.2.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Federico Ceratto <feder...@debian.org>
Description:
 python-cookies - Python RFC 6265-compliant cookie parser and renderer
 python3-cookies - Python 3 RFC 6265-compliant cookie parser and renderer
Closes: 912183
Changes:
 python-cookies (2.2.1-2) unstable; urgency=medium
 .
   [ Ondřej Nový ]
   * d/control: Remove ancient X-Python-Version field
   * d/control: Remove ancient X-Python3-Version field
   * d/copyright: Use https protocol in Format field
   * d/watch: Use https protocol
 .
   [ Federico Ceratto ]
   * Add patch (Closes: #912183)
Checksums-Sha1:
 8f8394d3fa8f49683330aee87871d8a6ff897db5 2175 python-cookies_2.2.1-2.dsc
 8f0c867bbcdddf00ccf6ce15cc558a4f37a262d7 2576 
python-cookies_2.2.1-2.debian.tar.xz
 a7fc7b4a9dbb72427bfbba3817f056efe9e5ea39 36924 python-cookies_2.2.1-2_all.deb
 38b704f9a52cf21a236e7713e1733b4c4d08bc5f 7036 
python-cookies_2.2.1-2_amd64.buildinfo
 2e2e93390db4fbe7d65257be8b91cb7b5d3cba73 37000 python3-cookies_2.2.1-2_all.deb
Checksums-Sha256:
 9b1b41bd43d2e82897444b01789219608d52c35cd9af49602d14b687dd35ebf3 2175 
python-cookies_2.2.1-2.dsc
 a80377a91307a385c3611fafc01a98d57fb894d93d38899d41ad4023d249d576 2576 
python-cookies_2.2.1-2.debian.tar.xz
 d0da15a30199f0a6ebe1d28aa9ddf3f7663131a01481bc9031ce364b770d13ae 36924 
python-cookies_2.2.1-2_all.deb
 a29ece6fbc8ec51a3d38584fdbd78a618e15a60f2d06c1646238814507c4c994 7036 
python-cookies_2.2.1-2_amd64.buildinfo
 b85f572d0a421d12cafd97d471ee731948171323fc90bfaa72d063f0ff3d277a 37000 
python3-cookies_2.2.1-2_all.deb
Files:
 b9b8e78b04e74ca60c39e6eec25ceaf7 2175 python optional 
python-cookies_2.2.1-2.dsc
 9cc55d2ab7cfcf4936f15706c5107b64 2576 python optional 
python-cookies_2.2.1-2.debian.tar.xz
 f859cddcc2b50c373c04a7b200b4f83b 36924 python optional 
python-cookies_2.2.1-2_all.deb
 7617b559cf07811446bfc1568a5e15c0 7036 python optional 
python-cookies_2.2.1-2_amd64.buildinfo
 94c3cfc162ec5fcacbe6e955e1dc1527 37000 python optional 
python3-cookies_2.2.1-2_all.deb

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

iQIzBAEBCgAdFiEEfKfd+zM5IUCMbyuWbzG8RPUXfaoFAlxx1L0ACgkQbzG8RPUX
fapGRw/+PLq3W2EBrr2pAlPzKYpLi3hfq0UhxEJ1Rm4NoK6kJ/FAQczPYqtuUdn9
j6YfknIYeWYLS3iNrs8QYohOXbdxfd0JO4/0GmDfuijB22kdJHOR66WcBubftFmJ
znevB02ShkJHae74wMtXQ7f9QPvwwHE070pommKEqiqyzoll+IUIoRHyc2GtGa/X
j3YL6NMY827n25FXJ3Zo0qfP7Hac2k2I3N1xR1X2rUnbjmx56q8QhuLWkN6TY9KX
qFSZQ8MDTS+OGHQNmLbbaYgLH8M/uwk8Tf9xE2Z4ZlUNInUcmefZco3IAz0jdeaa
ubXgiyk+6jG6GPKV+FolasB4VrAQeeXvW5uEYPX0iwx/Om/xBpEEPa2mkp/EXTG4
r+R1Ih0qv1OltwAoG/iLKCxuNBZqWhtELC/oyiK3/Hx8OR23E3TJz/lpUd9GDERA
Y1+SJ46+JYdLzI+oO+F/9hUbI5TRI8zdVET1s3zsJEjSHM3yfKDFJeZXJNCJN5CD
b0PtUfjItFVNMdMmVRUWtjLs70qjGRT0eia3lP9OeSuxrjF9LljwWMYlxXvBvUku
Pc4VZ3NBwdF83C7cclocmcfyxT06zpHhYFT7pqa6Z8Mgl7xgVKfpsmtILo7bG3xu
wwp6Y5U1bzIgpUzFuvG4/31DLoW37pji9m4nkVC5vl1FCFxIcWQ=
=czdo
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to