Skip to content

Commit 21eac7c

Browse files
authored
Merge pull request #2224 from github/RasmusWL/remove-python-dep-inst
Delete python dependency installation code
2 parents 84efe24 + 33e3a7c commit 21eac7c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+94
-1467
lines changed

.github/workflows/python-deps.yml

Lines changed: 0 additions & 174 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ Note that the only difference between `v2` and `v3` of the CodeQL Action is the
66

77
## [UNRELEASED]
88

9+
- The deprecated feature for extracting dependencies for a Python analysis has been removed. [#2224](https://github.com/github/codeql-action/pull/2224)
10+
11+
As a result, the following inputs and environment variables are now ignored:
12+
13+
- The `setup-python-dependencies` input to the `init` Action
14+
- The `CODEQL_ACTION_DISABLE_PYTHON_DEPENDENCY_INSTALLATION` environment variable
15+
16+
We recommend removing any references to these from your workflows. For more information, see the release notes for CodeQL Action v3.23.0 and v2.23.0.
917
- Automatically overwrite an existing database if found on the filesystem. [#2229](https://github.com/github/codeql-action/pull/2229)
1018

1119
## 3.24.10 - 05 Apr 2024

CODEOWNERS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
**/* @github/codeql-action-reviewers
2-
3-
/python-setup/ @github/codeql-python @github/codeql-action-reviewers

init/action.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ inputs:
2121
The build mode that will be used to analyze the language. This input is only available when
2222
analyzing a single CodeQL language per job, for example using a matrix.
2323
24-
Available build modes will differ based on the language being analyzed. One of:
24+
Available build modes will differ based on the language being analyzed. One of:
2525
2626
- `none`: The database will be created without building the source code.
2727
Available for all interpreted languages and some compiled languages.
@@ -89,9 +89,8 @@ inputs:
8989
description: A token for fetching external config files and queries if they reside in a private repository in the same GitHub instance that is running this action.
9090
required: false
9191
setup-python-dependencies:
92-
description: Try to auto-install your python dependencies
93-
required: true
94-
default: 'true'
92+
description: DEPRECATED. This option is ignored since CodeQL Action no longer installs Python dependencies as of versions 3.25.0 and 2.25.0.
93+
required: false
9594
source-root:
9695
description: Path of the root source code directory, relative to $GITHUB_WORKSPACE.
9796
required: false

lib/analyze-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze.js

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

0 commit comments

Comments
 (0)