Autopkgtest fails because Python 3.8's needs digest parameter

Bug #1852317 reported by Balint Reczey
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-taskflow (Ubuntu)
Fix Released

Bug Description


Captured traceback:
    b'Traceback (most recent call last):'
    b' File "/tmp/autopkgtest.YG0BhS/build.G9O/src/taskflow/tests/unit/", line 867, in test_graph_flow_two_tasks'
    b' engine = self._make_engine(flow)'
    b' File "/tmp/autopkgtest.YG0BhS/build.G9O/src/taskflow/tests/unit/", line 1522, in _make_engine'
    b' return taskflow.engines.load(flow, flow_detail=flow_detail,'
    b' File "/tmp/autopkgtest.YG0BhS/build.G9O/src/taskflow/engines/", line 133, in load'
    b' mgr = stevedore.driver.DriverManager('
    b' File "/usr/lib/python3/dist-packages/stevedore/", line 53, in __init__'
    b' super(DriverManager, self).__init__('
    b' File "/usr/lib/python3/dist-packages/stevedore/", line 78, in __init__'
    b' extensions = self._load_plugins(invoke_on_load,'
    b' File "/usr/lib/python3/dist-packages/stevedore/", line 203, in _load_plugins'
    b' self._on_load_failure_callback(self, ep, err)'
    b' File "/usr/lib/python3/dist-packages/stevedore/", line 191, in _load_plugins'
    b' ext = self._load_one_plugin(ep,'
    b' File "/usr/lib/python3/dist-packages/stevedore/", line 156, in _load_one_plugin'
    b' return super(NamedExtensionManager, self)._load_one_plugin('
    b' File "/usr/lib/python3/dist-packages/stevedore/", line 227, in _load_one_plugin'
    b' obj = plugin(*invoke_args, **invoke_kwds)'
    b' File "/tmp/autopkgtest.YG0BhS/build.G9O/src/taskflow/engines/action_engine/", line 589, in __init__'
    b' self._task_executor = self._fetch_task_executor(self._options)'
    b' File "/tmp/autopkgtest.YG0BhS/build.G9O/src/taskflow/engines/action_engine/", line 637, in _fetch_task_executor'
    b' return executor_cls(**kwargs)'
    b' File "/tmp/autopkgtest.YG0BhS/build.G9O/src/taskflow/engines/action_engine/", line 603, in __init__'
    b' self._dispatcher = Dispatcher({}, self._auth_key,'
    b' File "/tmp/autopkgtest.YG0BhS/build.G9O/src/taskflow/engines/action_engine/", line 533, in __init__'
    b' self.challenge_pieces = _encode_message(auth_key, CHALLENGE,'
    b' File "/tmp/autopkgtest.YG0BhS/build.G9O/src/taskflow/engines/action_engine/", line 276, in _encode_message'
    b' message_mac = _calculate_hmac(auth_key, message)'
    b' File "/tmp/autopkgtest.YG0BhS/build.G9O/src/taskflow/engines/action_engine/", line 268, in _calculate_hmac'
    b' mac =, body).hexdigest()'
    b' File "/usr/lib/python3.8/", line 146, in new'
    b' return HMAC(key, msg, digestmod)'
    b' File "/usr/lib/python3.8/", line 49, in __init__'
    b" raise ValueError('`digestmod` is required.')"
    b'ValueError: `digestmod` is required.'


Revision history for this message
Launchpad Janitor (janitor) wrote :

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
    (LP: #1852317)

 -- Balint Reczey <email address hidden> Tue, 12 Nov 2019 16:52:52 +0100

Changed in python-taskflow (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.