[edk2] [PATCH 0/3] python3 follow-up patches for BaseTools

Gary Lin posted 3 patches 5 years, 9 months ago
Failed in applying to current master (apply log)
BaseTools/BinWrappers/PosixLike/BPDG                      | 6 +++++-
BaseTools/BinWrappers/PosixLike/Ecc                       | 6 +++++-
BaseTools/BinWrappers/PosixLike/GenDepex                  | 6 +++++-
BaseTools/BinWrappers/PosixLike/GenFds                    | 6 +++++-
BaseTools/BinWrappers/PosixLike/GenPatchPcdTable          | 6 +++++-
BaseTools/BinWrappers/PosixLike/PatchPcdValue             | 6 +++++-
BaseTools/BinWrappers/PosixLike/Pkcs7Sign                 | 6 +++++-
BaseTools/BinWrappers/PosixLike/Rsa2048Sha256GenerateKeys | 6 +++++-
BaseTools/BinWrappers/PosixLike/Rsa2048Sha256Sign         | 6 +++++-
BaseTools/BinWrappers/PosixLike/TargetTool                | 6 +++++-
BaseTools/BinWrappers/PosixLike/Trim                      | 6 +++++-
BaseTools/BinWrappers/PosixLike/UPT                       | 6 +++++-
BaseTools/BinWrappers/PosixLike/build                     | 6 +++++-
BaseTools/Source/Python/Common/Expression.py              | 6 ++++--
BaseTools/Source/Python/Workspace/DscBuildData.py         | 2 +-
15 files changed, 70 insertions(+), 16 deletions(-)
[edk2] [PATCH 0/3] python3 follow-up patches for BaseTools
Posted by Gary Lin 5 years, 9 months ago
This is the follow-up patch set for my previous python3 patch series:

https://lists.01.org/pipermail/edk2-devel/2018-June/026499.html

* A replacement of "<>" is missed in the previous series, and this is
  fixed in this patch set.

* The previous patch to unify long and int caused the build error due to
  the absence of long in TypeDict. The new implementation should be
  compatible with both python2 and python3.

* Several bash scripts are modified to read PYTHON_DEFAULT to switch to
  the python3 interpreter so that we can test the python3 compatibility
  easily. Please note that BaseTools is still not ready, so any error
  from python3 interpreter is expected.

Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Gary Lin <glin@suse.com>

Gary Lin (3):
  BaseTools: Remove the old python "not-equal" in DscBuildData.py
  BaseTools: Unify long and int in Expression.py
  BaseTools: Read the env variable PYTHON_DEFAULT

 BaseTools/BinWrappers/PosixLike/BPDG                      | 6 +++++-
 BaseTools/BinWrappers/PosixLike/Ecc                       | 6 +++++-
 BaseTools/BinWrappers/PosixLike/GenDepex                  | 6 +++++-
 BaseTools/BinWrappers/PosixLike/GenFds                    | 6 +++++-
 BaseTools/BinWrappers/PosixLike/GenPatchPcdTable          | 6 +++++-
 BaseTools/BinWrappers/PosixLike/PatchPcdValue             | 6 +++++-
 BaseTools/BinWrappers/PosixLike/Pkcs7Sign                 | 6 +++++-
 BaseTools/BinWrappers/PosixLike/Rsa2048Sha256GenerateKeys | 6 +++++-
 BaseTools/BinWrappers/PosixLike/Rsa2048Sha256Sign         | 6 +++++-
 BaseTools/BinWrappers/PosixLike/TargetTool                | 6 +++++-
 BaseTools/BinWrappers/PosixLike/Trim                      | 6 +++++-
 BaseTools/BinWrappers/PosixLike/UPT                       | 6 +++++-
 BaseTools/BinWrappers/PosixLike/build                     | 6 +++++-
 BaseTools/Source/Python/Common/Expression.py              | 6 ++++--
 BaseTools/Source/Python/Workspace/DscBuildData.py         | 2 +-
 15 files changed, 70 insertions(+), 16 deletions(-)

-- 
2.17.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel