From b5a84fbf39643821b8bf01a87bf4fbac474dfffe Mon Sep 17 00:00:00 2001 From: Li Xi Date: Wed, 30 Jun 2021 12:27:32 +0800 Subject: [PATCH] build: update pyinstaller to 4.3 Hit following errors when build on RHEL8: https://github.com/pyinstaller/pyinstaller/issues/5540 Signed-off-by: Li Xi --- pybuild/coral_build.py | 4 ++-- pycoral/utils.py | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pybuild/coral_build.py b/pybuild/coral_build.py index ae2274e..47c0404 100644 --- a/pybuild/coral_build.py +++ b/pybuild/coral_build.py @@ -19,10 +19,10 @@ # The url of pyinstaller tarball. Need to update together with # PYINSTALLER_TARBALL_SHA1SUM -PYINSTALLER_TARBALL_URL = "https://github.com/pyinstaller/pyinstaller/releases/download/v4.2/PyInstaller-4.2.tar.gz" +PYINSTALLER_TARBALL_URL = "https://github.com/pyinstaller/pyinstaller/releases/download/v4.3/pyinstaller-4.3.tar.gz" # The sha1sum of pyinstaller tarball. Need to update together with # PYINSTALLER_TARBALL_URL -PYINSTALLER_TARBALL_SHA1SUM = "bac8d46737876468d7be607a44b90debd60422b5" +PYINSTALLER_TARBALL_SHA1SUM = "972f24ef11cf69875daa2ebd4804c5f505c0fec8" # The url of pdsh tarball. Need to update together with # PDSH_TARBALL_SHA1SUM PDSH_TARBALL_URL = "https://github.com/chaos/pdsh/releases/download/pdsh-2.34/pdsh-2.34.tar.gz" diff --git a/pycoral/utils.py b/pycoral/utils.py index 02d99fc..dfd05ce 100644 --- a/pycoral/utils.py +++ b/pycoral/utils.py @@ -154,7 +154,9 @@ def cj_run_start(self): """ Start to run the command """ - # pylint: disable=consider-using-with + # RHEL8 build would fail without bad-option-value since it does not + # understand consider-using-with. + # pylint: disable=bad-option-value,consider-using-with if self.cj_started: return -1