
With the move to supporting only Python 3, patman is reliant on whatever version of Python 3 is available on the host machine. For old distributions such as Ubuntu 14.04 this means Python 3.4.0 which seems to have some problems with importing modules.
This series updates patman to work correctly in this case.
Changes in v4: - Add a new patch to drop import of test_util in test_util - Add a cover letter
Changes in v3: - Split out the gitutil change into a separate patch - Add more patches based on testing on a dusty Ubuntu 14.04
Changes in v2: - Update gitutil as well
Simon Glass (6): patman: Drop unnecessary import in gitutil patman: Avoid circular dependency between command and tools patman: Use a dict in gitutil to avoid importing series patman: Pass in maintainer dirs to avoid and import patman: Avoid importing gitutil in settings patman: Drop import of test_util in test_util
tools/patman/command.py | 7 +++---- tools/patman/get_maintainer.py | 14 +++++++------- tools/patman/gitutil.py | 10 ++++------ tools/patman/main.py | 2 +- tools/patman/series.py | 3 ++- tools/patman/settings.py | 7 +++---- tools/patman/test_util.py | 1 - 7 files changed, 20 insertions(+), 24 deletions(-)