[PATCH v4 0/6] patman: Support old Python 3 versions

Simon Glass sjg at chromium.org
Sun Jun 7 14:45:44 CEST 2020


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(-)

-- 
2.27.0.278.ge193c7cf3a9-goog



More information about the U-Boot mailing list