Some Python projects may have dependencies that are only valid on Python3 and Snyk by default, scans with Python2. There are ways to change this on both the SCM (Source Control Management) and the CLI (Command Line Interface) to adjust the version of Python Snyk uses to scan dependencies.
On the SCM
Navigating to an organization's Settings and then clicking on Languages will bring this section of the SCM.
By clicking into Edit Settings, the interface will provide the option to adjust the scanning nature for this organization to default to Python 3.
On the CLI
The user is able to add the argument of
as an additional argument to go with either
snyk test or
Additionally, to adjust the version of the whole project itself, creating a
.snyk policy file to target a specific python version, like this.