Your message dated Sat, 16 May 2020 15:08:19 +0000
with message-id <e1jzyqf-0006yk...@fasolo.debian.org>
and subject line Bug#953970: fixed in python-boto 2.49.0-3
has caused the Debian Bug report #953970,
regarding python-boto: autopkgtest failure with Python 3.8 as default
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.)


-- 
953970: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953970
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-boto
Version: 2.49.0-2.1
X-Debbugs-CC: debian...@lists.debian.org
Severity: serious
User: debian...@lists.debian.org
Usertags: needs-update

Hi Maintainer

The autopkgtests of python-boto started to fail with Python 3.8 as the
default Python3 interpreter [1].

I've copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/p/python-boto/unstable/amd64/


======================================================================
ERROR: test_item_lookup (tests.unit.ecs.test_connection.TestECSConnection)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/tmp/autopkgtest-lxc.y6hi7437/downtmp/autopkgtest_tmp/tests/unit/ecs/test_connection.py",
line 53, in test_item_lookup
    item_set = self.service_connection.item_lookup(
  File "/usr/lib/python3/dist-packages/boto/ecs/__init__.py", line
105, in item_lookup
    return self.get_response('ItemLookup', params)
  File "/usr/lib/python3/dist-packages/boto/ecs/__init__.py", line 78,
in get_response
    xml.sax.parseString(body.encode('utf-8'), h)
  File "/usr/lib/python3.8/xml/sax/__init__.py", line 48, in parseString
    parser.parse(inpsrc)
  File "/usr/lib/python3.8/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python3.8/xml/sax/xmlreader.py", line 125, in parse
    self.feed(buffer)
  File "/usr/lib/python3.8/xml/sax/expatreader.py", line 217, in feed
    self._parser.Parse(data, isFinal)
  File "../Modules/pyexpat.c", line 459, in EndElement
  File "/usr/lib/python3.8/xml/sax/expatreader.py", line 336, in end_element
    self._cont_handler.endElement(name)
  File "/usr/lib/python3/dist-packages/boto/handler.py", line 41, in endElement
    self.nodes[-1][1].endElement(name, self.current_text, self.connection)
  File "/usr/lib/python3/dist-packages/boto/ecs/item.py", line 136, in
endElement
    self.curItem.endElement(name, value, connection)
  File "/usr/lib/python3/dist-packages/boto/ecs/item.py", line 70, in endElement
    self._xml.write("%s</%s>" %
(cgi.escape(value).replace("&amp;amp;", "&amp;"), name))
AttributeError: module 'cgi' has no attribute 'escape'
-------------------- >> begin captured logging << --------------------
boto: DEBUG: Using access key provided by client.
boto: DEBUG: Using secret key provided by client.
boto: DEBUG: Method: GET
boto: DEBUG: Path: /onca/xml
boto: DEBUG: Data:
boto: DEBUG: Headers: {}
boto: DEBUG: Host: ecs.amazonaws.com
boto: DEBUG: Port: 443
boto: DEBUG: Params: {'ItemId': '0316067938', 'ResponseGroup':
'Reviews', 'Service': 'AWSECommerceService', 'Operation':
'ItemLookup', 'Version': '2010-11-01'}
boto: DEBUG: establishing HTTPS connection: host=ecs.amazonaws.com,
kwargs={'timeout': 70, 'port': 443}
boto: DEBUG: Token: None
boto: DEBUG: using _calc_signature_2
boto: DEBUG: query string:
AWSAccessKeyId=aws_access_key_id&ItemId=0316067938&Operation=ItemLookup&ResponseGroup=Reviews&Service=AWSECommerceService&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2020-03-14T06%3A57%3A17Z&Version=2010-11-01
boto: DEBUG: string_to_sign: GET
ecs.amazonaws.com
/onca/xml
AWSAccessKeyId=aws_access_key_id&ItemId=0316067938&Operation=ItemLookup&ResponseGroup=Reviews&Service=AWSECommerceService&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2020-03-14T06%3A57%3A17Z&Version=2010-11-01
boto: DEBUG: len(b64)=44
boto: DEBUG: base64 encoded digest:
b'FYLEaYd20wPkhaMs5FopiEBy3GZemtbrRNg8rQ9tkmU='
boto: DEBUG: query_string:
AWSAccessKeyId=aws_access_key_id&ItemId=0316067938&Operation=ItemLookup&ResponseGroup=Reviews&Service=AWSECommerceService&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2020-03-14T06%3A57%3A17Z&Version=2010-11-01
Signature: b'FYLEaYd20wPkhaMs5FopiEBy3GZemtbrRNg8rQ9tkmU='
boto: DEBUG: Final headers: {'User-Agent': 'Boto/2.49.0 Python/3.8.2
Linux/4.19.0-6-amd64', 'Content-Length': '0', 'Host':
'ecs.amazonaws.com'}
boto: DEBUG: Response headers: []
boto: DEBUG:
            <Items>
              <Request>
              <IsValid>True</IsValid>
              <ItemLookupRequest>
                <ItemId>B00008OE6I</ItemId>
              </ItemLookupRequest>
              </Request>
              <Item>
                <ASIN>B00008OE6I</ASIN>
                <ItemAttributes>
                <Manufacturer>Canon</Manufacturer>
                <ProductGroup>Photography</ProductGroup>
                <Title>Canon PowerShot S400 4MP Digital Camera w/ 3x
Optical Zoom</Title>
               </ItemAttributes>
              </Item>
            </Items>

--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_constructor (tests.unit.utils.test_utils.TestPassword)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/tmp/autopkgtest-lxc.y6hi7437/downtmp/autopkgtest_tmp/tests/unit/utils/test_utils.py",
line 104, in test_constructor
    password.set('foo')
  File "/usr/lib/python3/dist-packages/boto/utils.py", line 787, in set
    self.str = self.hashfunc(value).hexdigest()
  File 
"/tmp/autopkgtest-lxc.y6hi7437/downtmp/autopkgtest_tmp/tests/unit/utils/test_utils.py",
line 101, in <lambda>
    hmac_hashfunc = lambda msg: hmac.new(b'mysecretkey', msg)
  File "/usr/lib/python3.8/hmac.py", line 153, in new
    return HMAC(key, msg, digestmod)
  File "/usr/lib/python3.8/hmac.py", line 51, in __init__
    raise TypeError("Missing required parameter 'digestmod'.")
TypeError: Missing required parameter 'digestmod'.

======================================================================
ERROR: test_hmac (tests.unit.utils.test_utils.TestPassword)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/tmp/autopkgtest-lxc.y6hi7437/downtmp/autopkgtest_tmp/tests/unit/utils/test_utils.py",
line 93, in test_hmac
    self.clstest(HMACPassword)
  File 
"/tmp/autopkgtest-lxc.y6hi7437/downtmp/autopkgtest_tmp/tests/unit/utils/test_utils.py",
line 61, in clstest
    self.assertNotEquals(password, 'foo')
  File "/usr/lib/python3.8/unittest/case.py", line 1410, in deprecated_func
    return original_func(*args, **kwargs)
  File "/usr/lib/python3.8/unittest/case.py", line 918, in assertNotEqual
    if not first != second:
  File "/usr/lib/python3/dist-packages/boto/utils.py", line 797, in __eq__
    return str(self.hashfunc(other).hexdigest()) == str(self.str)
  File 
"/tmp/autopkgtest-lxc.y6hi7437/downtmp/autopkgtest_tmp/tests/unit/utils/test_utils.py",
line 88, in hmac_hashfunc
    return hmac.new(b'mysecretkey', msg)
  File "/usr/lib/python3.8/hmac.py", line 153, in new
    return HMAC(key, msg, digestmod)
  File "/usr/lib/python3.8/hmac.py", line 51, in __init__
    raise TypeError("Missing required parameter 'digestmod'.")
TypeError: Missing required parameter 'digestmod'.

----------------------------------------------------------------------
Ran 1730 tests in 5.029s

FAILED (SKIP=6, errors=3)
autopkgtest [06:57:21]: test unit: -----------------------]
autopkgtest [06:57:21]: test unit:  - - - - - - - - - - results - - -
- - - - - - -
unit                 FAIL non-zero exit status 1

--- End Message ---
--- Begin Message ---
Source: python-boto
Source-Version: 2.49.0-3
Done: Thomas Goirand <z...@debian.org>

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

Debian distribution maintenance software
pp.
Thomas Goirand <z...@debian.org> (supplier of updated python-boto 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: SHA256

Format: 1.8
Date: Sat, 16 May 2020 12:11:41 +0200
Source: python-boto
Architecture: source
Version: 2.49.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Cloud Team <debian-cl...@lists.debian.org>
Changed-By: Thomas Goirand <z...@debian.org>
Closes: 953970
Changes:
 python-boto (2.49.0-3) unstable; urgency=medium
 .
   [ Noah Meyerhans ]
   * Update Maintainer to the Debian cloud team
   * Convert to 3.0 (quilt) source package format
   * Fix python syntax warning in upstream code
   * Fix python 3.8 compatibility issue (Closes: #953970)
   * Fix the use of a deprecated variable in debian/tests/unit
   * Fix lintian warning runtime-test-file-uses-installed-python-versions
Checksums-Sha1:
 5f542baa0dbbbb6a0ed9905bae198806654803a6 2133 python-boto_2.49.0-3.dsc
 77d7dbfd7082640d45065522c234cf3809bf0f48 6916 
python-boto_2.49.0-3.debian.tar.xz
 995fd75f2bc07ff302301d10e8c617704ac06f95 6003 
python-boto_2.49.0-3_amd64.buildinfo
Checksums-Sha256:
 69f2d5f7aea08a7a027b90d48438afebdcc256784e4f62cf93a937981a33ba33 2133 
python-boto_2.49.0-3.dsc
 887e9b25c8c6e8cdc14767759bb47ad895d2418c2dd3adf2a7b86d6020c673d3 6916 
python-boto_2.49.0-3.debian.tar.xz
 e5e1b99176ee00afe85398a47b5ef791a75c364e62278caf537a82a704c572da 6003 
python-boto_2.49.0-3_amd64.buildinfo
Files:
 001ed9be6d5bf8ff561c0003e5d92860 2133 python optional python-boto_2.49.0-3.dsc
 c40afe7d9981217ccc17d96e06f060c7 6916 python optional 
python-boto_2.49.0-3.debian.tar.xz
 fd7ddf5d7443aa8a61a6d956edf7468d 6003 python optional 
python-boto_2.49.0-3_amd64.buildinfo

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

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAl6/+GIACgkQ1BatFaxr
Q/6d8A/8DD/U+CiabvbqhORZQKp0cQ9QbZhx2KjkXIYzf6FtfUJm3wbCbtaucw3h
vwBf9ExHRRGi9QuiikZVe0Dso0uSdb6y1YVkuJZ6wyRpRTadJn8PKr8R/MfHFGvp
YTPGU9oBaX0CkqZlzMbBLETNuURL2DHve0sjxAPJibdEfYNNfjnFlRHOjQVvnjb6
/h9wW4WTEY3mhnCcIN1gkYDiaZWHgSijYXWW0SpyHk0851Ddq09NkW4yHY0LkF6U
hmJB+j/IRT1wZgQj6uJjL/RPdVZRHuf/msx7W1VSIuvFnCTB2LabjQH0p2XJnz8x
NG+U1LCYL+rx9K/9jhQATMRgtx0r5qsxvn65NjTZFQcCpIaFylFebWyaAdAyf5zh
LRHOfn8Absb7PEEMowKLhgtCPEnmil0a4yhYURwgU1cIR0bSFsq5xq1aNoSzmuxr
wuvg6Hu3yqpIGIzqjSJdJ39W7V01/HmOOP8n67iEH+sOmIuyDm18yCjgO0Vggfuu
uo/sq/KZMF69+xvs9dKgObgKntXZ5OOGPyM5F5TfqIaW8phio48K1n4qstJs1Lfx
JK4nSXyJ4oayXBCBLnSTLm8j9uOFZ/GmXxo7totdMc5p1lnU56/Oy03vR1Fg+Qmn
k3kbGc2MPSnljdQYZwHmzARbmNlUK7ROWfXxFYc4rW1Sy3nff0Q=
=tWpo
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to