Cannot find `sonar.python.version`

I’m receiving the following warning

image

Which leads me to Python, that says that sonar.python.version should exist.

However, on the admin/settings?category=Python page, I find no such configuration option - nor the search.

What am I missing here?

Hi,

Welcome to the community!

Not all settings are exposed in the UI.

Per the docs you referenced, you can set that via your analysis parameters, in sonar-project.properties or on the analysis command line.

 
HTH,
Ann

Hello @stdedos,

Thanks for reporting this.

This is actually an overlook on our side. The setting can be set through the sonar-project.properties file but was not made visible in the actual UI. This will be fixed in SonarQube 10.5 (see SONARPY-1686).

In the meantime, you can still set the property through sonar-project.properties.

Cheers,
Guillaume

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.