Skip to content

Commit 4e9622d

Browse files
authored
Clarify Python autosubmission prerequisites
Added note about .python-version file requirement for Python autosubmission.
1 parent 741815e commit 4e9622d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-automatic-dependency-submission-for-your-repository.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ The .NET autosubmission action uses the open source [component-detection](https:
104104
### Python projects
105105

106106
Python uses the open source [component-detection](https://github.com/microsoft/component-detection/) project as its underlying graph generation engine. The autosubmission action for Python will only run if there is a `requirements.txt` file in the root directory of the repository. Python autosubmission does not currently support private packages; packages referenced in `requirements.txt` which are not publicly available will cause the autosubmission action to fail.
107+
**Note:** This action uses actions/setup-python to install Python. Therefore, you must include a .python-version file in your repository to specify the Python version to be installed.
108+
107109

108110
## Further reading
109111

0 commit comments

Comments
 (0)