Skip to content

Commit 19544bb

Browse files
committed
Remove dead Python library extraction code
1 parent d74701c commit 19544bb

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

lib/init-action.js

Lines changed: 0 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/init-action.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -624,17 +624,6 @@ async function run(startedAt: Date) {
624624
dependencyCachingResult.restoredKeys;
625625
}
626626

627-
// Suppress warnings about disabled Python library extraction.
628-
if (await codeQlVersionAtLeast(codeql, "2.17.1")) {
629-
// disabled by default, no warning
630-
} else {
631-
// disabled by default, prints warning if environment variable is not set
632-
core.exportVariable(
633-
"CODEQL_EXTRACTOR_PYTHON_DISABLE_LIBRARY_EXTRACTION",
634-
"true",
635-
);
636-
}
637-
638627
if (getOptionalInput("setup-python-dependencies") !== undefined) {
639628
logger.warning(
640629
"The setup-python-dependencies input is deprecated and no longer has any effect. We recommend removing any references from your workflows. See https://github.blog/changelog/2024-01-23-codeql-2-16-python-dependency-installation-disabled-new-queries-and-bug-fixes/ for more information.",

0 commit comments

Comments
 (0)