From 5a82e09e3789158d5683bb5d61b0d6cbac69c5c3 Mon Sep 17 00:00:00 2001 From: MatteoH2O1999 Date: Mon, 20 May 2024 18:30:23 +0200 Subject: [PATCH] Simplify min version computation --- src/constants.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/constants.ts b/src/constants.ts index e637db96..e70fcaab 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -13,16 +13,13 @@ // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import semver from 'semver'; const toolName = 'Python'; const testedLabels = ['ubuntu-22.04', 'windows-2022', 'macos-14']; -const minSupportedVersion = - semver - .minVersion(semver.validRange('3.7', {includePrerelease: true}) || '*') - ?.toString() || '0.0.0-0'; +const minSupportedVersion = '3.7.0-0'; + export {testedLabels, toolName, minSupportedVersion}; export enum InputNames {