From 0b1b0fa1bb9fe57755ae4fe2bbdadf361ae3044e Mon Sep 17 00:00:00 2001 From: Kazuki Takahashi Date: Fri, 1 Dec 2023 22:08:48 +0900 Subject: [PATCH] Pin EmPy<4 Signed-off-by: Kazuki Takahashi --- dist/index.js | 4 ++-- src/package_manager/pip.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/index.js b/dist/index.js index 633ceeb90..224e81e7b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -558,7 +558,7 @@ class OidcClient { .catch(error => { throw new Error(`Failed to get ID Token. \n Error Code : ${error.statusCode}\n - Error Message: ${error.result.message}`); + Error Message: ${error.message}`); }); const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value; if (!id_token) { @@ -6982,7 +6982,7 @@ const pip3Packages = [ "colcon-test-result==0.3.8", "coverage", "cryptography", - "empy", + "empy<4", "flake8<3.8", "flake8-blind-except", "flake8-builtins", diff --git a/src/package_manager/pip.ts b/src/package_manager/pip.ts index a1192b08a..d1bb1d4b6 100644 --- a/src/package_manager/pip.ts +++ b/src/package_manager/pip.ts @@ -29,7 +29,7 @@ const pip3Packages: string[] = [ "colcon-test-result==0.3.8", "coverage", "cryptography", - "empy", + "empy<4", "flake8<3.8", "flake8-blind-except", "flake8-builtins", @@ -72,7 +72,7 @@ const pip3CommandLine: string[] = ["pip3", "install", "--upgrade"]; */ export async function runPython3PipInstall( packages: string[], - run_with_sudo: boolean = true + run_with_sudo: boolean = true, ): Promise { const args = pip3CommandLine.concat(packages); // Set CWD to root to avoid running 'pip install' in directory with setup.cfg file @@ -94,7 +94,7 @@ export async function runPython3PipInstall( */ export async function installPython3Dependencies( run_with_sudo: boolean = true, - packages: string[] = pip3Packages + packages: string[] = pip3Packages, ): Promise { if (packages.length === 0) { return 0;