From cf58ef44808253d2c70d10bd992f7051720d99ce Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Mon, 15 May 2023 12:05:03 +0200 Subject: [PATCH] Update wording for CODEQL_PYTHON warning Co-authored-by: Henry Mercer --- src/analyze.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyze.ts b/src/analyze.ts index eb9a0c43c4..9127b675d6 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -95,7 +95,7 @@ async function setupPythonExtractor( await features.getValue(Feature.DisablePythonDependencyInstallation, codeql) ) { logger.warning( - "Library extraction is disabled now. Please remove your logic that sets the CODEQL_PYTHON environment variable." + + "We recommend that you remove the CODEQL_PYTHON environment variable from your workflow. This environment variable was originally used to specify a Python executable that included the dependencies of your Python code, however Python analysis no longer uses these dependencies." + "\nIf you used CODEQL_PYTHON to force the version of Python to analyze as, please use CODEQL_EXTRACTOR_PYTHON_ANALYSIS_VERSION instead, such as 'CODEQL_EXTRACTOR_PYTHON_ANALYSIS_VERSION=2.7' or 'CODEQL_EXTRACTOR_PYTHON_ANALYSIS_VERSION=3.11'." ); return;