Autopkgtest fails because Python 3.8's hmc.new() needs digest parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
taskflow |
New
|
Undecided
|
Unassigned | ||
python-taskflow (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
...
taskflow.
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
b'Traceback (most recent call last):'
b' File "/tmp/autopkgte
b' engine = self._make_
b' File "/tmp/autopkgte
b' return taskflow.
b' File "/tmp/autopkgte
b' mgr = stevedore.
b' File "/usr/lib/
b' super(DriverMan
b' File "/usr/lib/
b' extensions = self._load_
b' File "/usr/lib/
b' self._on_
b' File "/usr/lib/
b' ext = self._load_
b' File "/usr/lib/
b' return super(NamedExte
b' File "/usr/lib/
b' obj = plugin(
b' File "/tmp/autopkgte
b' self._task_executor = self._fetch_
b' File "/tmp/autopkgte
b' return executor_
b' File "/tmp/autopkgte
b' self._dispatcher = Dispatcher({}, self._auth_key,'
b' File "/tmp/autopkgte
b' self.challenge_
b' File "/tmp/autopkgte
b' message_mac = _calculate_
b' File "/tmp/autopkgte
b' mac = hmac.new(auth_key, body).hexdigest()'
b' File "/usr/lib/
b' return HMAC(key, msg, digestmod)'
b' File "/usr/lib/
b" raise ValueError(
b'ValueError: `digestmod` is required.'
b''
...
This bug was fixed in the package python-taskflow - 3.7.1-0ubuntu3
---------------
python-taskflow (3.7.1-0ubuntu3) focal; urgency=medium
* Fix working with Python 3.8 by passing digest to hmac.new()
(LP: #1852317)
-- Balint Reczey <email address hidden> Tue, 12 Nov 2019 16:52:52 +0100