Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Andreas Tille 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: References: X-Original-To: eamanu , Debian Python X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Mar 30 09:44:39 2020 Old-Return-Path: 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: archive/latest/18055 List-ID: List-URL: 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: Xref: csiph.com linux.debian.maint.python:12405 linux.debian.bugs.dist:1002207 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 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