Skip to content

Commit

Permalink
Pin EmPy<4
Browse files Browse the repository at this point in the history
Signed-off-by: Kazuki Takahashi <tkhsh.schoen@gmail.com>
  • Loading branch information
Taka-Kazu committed Dec 1, 2023
1 parent 7293e28 commit 0b1b0fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions src/package_manager/pip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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<number> {
const args = pip3CommandLine.concat(packages);
// Set CWD to root to avoid running 'pip install' in directory with setup.cfg file
Expand All @@ -94,7 +94,7 @@ export async function runPython3PipInstall(
*/
export async function installPython3Dependencies(
run_with_sudo: boolean = true,
packages: string[] = pip3Packages
packages: string[] = pip3Packages,
): Promise<number> {
if (packages.length === 0) {
return 0;
Expand Down

0 comments on commit 0b1b0fa

Please sign in to comment.