Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12405

Taking over DPMT (Was: python-boto: autopkgtest failure with Python 3.8 as default)

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Andreas Tille <andreas@an3as.eu>
Newsgroups linux.debian.maint.python, linux.debian.bugs.dist
Subject Taking over DPMT (Was: python-boto: autopkgtest failure with Python 3.8 as default)
Date Mon, 30 Mar 2020 11:50:01 +0200
Message-ID <zPZdn-5f0-1@gated-at.bofh.it> (permalink)
References <zPZdn-5f0-3@gated-at.bofh.it>
X-Original-To eamanu <eamanu@yaerobi.com>, Debian Python <debian-python@lists.debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Mar 30 09:44:39 2020
Old-Return-Path <andreas@an3as.eu>
X-Amavis-Spam-Status No, score=-6.88 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -4.6
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.10.1 (2018-07-13)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18055
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20200330094423.GA20811@an3as.eu
Approved robomod@news.nic.it
Lines 69
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc 953970@bugs.debian.org, ginggs@debian.org, eevans@debian.org
X-Original-Date Mon, 30 Mar 2020 11:44:23 +0200
X-Original-Message-ID <20200330094423.GA20811@an3as.eu>
X-Original-References <a8f06357-ff68-f015-bb30-9ed22a5a35a2@yaerobi.com>
Xref csiph.com linux.debian.maint.python:12405 linux.debian.bugs.dist:1002207

Cross-posted to 2 groups.

Show key headers only | View raw


Hi Emmanuel,

thanks a lot for your patch.  Please note that you crafted it against
GIt which is lagging behind the latest NMU.  I intended to apply it
anyway - but it does not solve

======================================================================
ERROR: test_constructor (tests.unit.utils.test_utils.TestPassword)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.Trbllh/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.Trbllh/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.Trbllh/autopkgtest_tmp/tests/unit/utils/test_utils.py", line 93, in test_hmac
    self.clstest(HMACPassword)
  File "/tmp/autopkgtest.Trbllh/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.Trbllh/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.640s

FAILED (SKIP=6, errors=3)


On Tue, Mar 24, 2020 at 11:10:28AM -0300, eamanu wrote:
> I prepare a non-maintainer upload patch that I attach.
> 
> Please consider apply it.
> 
> Also I make a MR [0]
> 
> [0] https://salsa.debian.org/eevans/python-boto/-/merge_requests/1


I wonder whether we should take over python-boto into DPMT maintenance
which would enable commits to Git way more easily. 

Kind regards

       Andreas.

-- 
http://fam-tille.de

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Taking over DPMT (Was: python-boto: autopkgtest failure with Python  3.8 as default) Andreas Tille <andreas@an3as.eu> - 2020-03-30 11:50 +0200
  Re: Taking over DPMT (Was: python-boto: autopkgtest failure with  Python 3.8 as default) Emmanuel Arias <emmanuelarias30@gmail.com> - 2020-04-07 15:50 +0200
    Re: Taking over DPMT (Was: python-boto: autopkgtest failure with  Python 3.8 as default) Andreas Tille <andreas@an3as.eu> - 2020-05-10 09:50 +0200
      Bug#953970: Taking over DPMT (Was: python-boto: autopkgtest failure with Python 3.8 as default) Noah Meyerhans <noahm@debian.org> - 2020-05-12 04:30 +0200
        Bug#953970: Taking over DPMT (Was: python-boto: autopkgtest failure with Python 3.8 as default) Andreas Tille <tille@debian.org> - 2020-05-16 11:10 +0200

csiph-web