From b234962e9ffa9f6d6e3afdb3bc658d0117711cd2 Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Sat, 7 Sep 2024 02:30:27 +0200 Subject: [PATCH] Revert "Ignore cffi installation error" (#285) This reverts commit f61caa214c9839739a727618c8965ae7282c2aa3. `cffi` now supports, and provide wheels for, Python 3.13 (https://github.com/python-cffi/cffi/releases/tag/v1.17.0), so this should work as expected on 3.13. --- dist/index.js | 4 +--- src/index.ts | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/dist/index.js b/dist/index.js index a49ff11..d272f1d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -12037,9 +12037,7 @@ async function hostBuild(maturinRelease, args) { core.info(`Installing 'maturin' from tag '${maturinRelease}'`); const maturinPath = await installMaturin(maturinRelease); await exec.exec(maturinPath, ['--version'], { ignoreReturnCode: true }); - await exec.exec('python3', ['-m', 'pip', 'install', 'cffi'], { - ignoreReturnCode: true - }); + await exec.exec('python3', ['-m', 'pip', 'install', 'cffi']); if (IS_LINUX) { await exec.exec('python3', ['-m', 'pip', 'install', 'patchelf']); } diff --git a/src/index.ts b/src/index.ts index a17816b..eb69db0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -878,9 +878,7 @@ async function hostBuild( core.info(`Installing 'maturin' from tag '${maturinRelease}'`) const maturinPath = await installMaturin(maturinRelease) await exec.exec(maturinPath, ['--version'], {ignoreReturnCode: true}) - await exec.exec('python3', ['-m', 'pip', 'install', 'cffi'], { - ignoreReturnCode: true - }) + await exec.exec('python3', ['-m', 'pip', 'install', 'cffi']) if (IS_LINUX) { await exec.exec('python3', ['-m', 'pip', 'install', 'patchelf']) }