Unit test jobs are failing with ImportError: cannot import name 'engine' from 'flake8'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
High
|
Brian Haley |
Bug Description
Neutron unit test CI jobs are failing with the following error:
=======
Failures during discovery
=======
--- import errors ---
Failed to import test module: neutron.
Traceback (most recent call last):
File "/usr/lib/
module = self._get_
File "/usr/lib/
__import_
File "/home/
from flake8 import engine
ImportError: cannot import name 'engine' from 'flake8' (/home/
Looks like flake8 no longer has an engine but they had kept the api for backward compatibility [1], perhaps they broke it somehow.
[1] based on comment in https:/
Changed in neutron: | |
assignee: | Nate Johnston (nate-johnston) → Brian Haley (brian-haley) |
Changed in neutron: | |
status: | In Progress → Invalid |
Fix proposed to branch: master /review. opendev. org/699243
Review: https:/