GeezerVison is showing github.com — Merge pull request #2224 from github/RasmusWL/remove-python-dep-inst · github/codeql-action@21eac7c
File tree
Expand file treeCollapse file tree
Open diff view settings
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss bannerExpand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/python-deps.yml -174Lines changed: 0 additions & 174 deletions Collapse file
Copy file name to clipboardExpand all lines: CHANGELOG.md +8Lines changed: 8 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6,6 +6,14 @@ Note that the only difference between `v2` and `v3` of the CodeQL Action is the |
6 | 6 |
|
7 | 7 | ## [UNRELEASED] |
8 | 8 |
|
| 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. |
9 | 17 | - Automatically overwrite an existing database if found on the filesystem. [#2229](https://github.com/github/codeql-action/pull/2229) |
10 | 18 |
|
11 | 19 | ## 3.24.10 - 05 Apr 2024 |
|
Collapse file
Copy file name to clipboard -2Lines changed: 0 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | **/* @github/codeql-action-reviewers |
2 | | - |
3 | | -/python-setup/ @github/codeql-python @github/codeql-action-reviewers |
Collapse file
Copy file name to clipboardExpand all lines: init/action.yml +3-4Lines changed: 3 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -21,7 +21,7 @@ inputs: |
21 | 21 | The build mode that will be used to analyze the language. This input is only available when |
22 | 22 | analyzing a single CodeQL language per job, for example using a matrix. |
23 | 23 |
|
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: |
25 | 25 |
|
26 | 26 | - `none`: The database will be created without building the source code. |
27 | 27 | Available for all interpreted languages and some compiled languages. |
@@ -89,9 +89,8 @@ inputs: |
89 | 89 | 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. |
90 | 90 | required: false |
91 | 91 | 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 |
95 | 94 | source-root: |
96 | 95 | description: Path of the root source code directory, relative to $GITHUB_WORKSPACE. |
97 | 96 | required: false |
|
Collapse file
Copy file name to clipboardExpand all lines: lib/analyze-action.js +1-1Lines changed: 1 addition & 1 deletion Collapse file
Copy file name to clipboardExpand all lines: lib/analyze-action.js.map +1-1Lines changed: 1 addition & 1 deletion Collapse file
Copy file name to clipboardExpand all lines: lib/analyze.js +10-29Lines changed: 10 additions & 29 deletions