[GRASS-git] [OSGeo/grass] e6e102: grass.app: Always set path to script addons (#6639)

Vaclav Petras noreply at github.com
Wed Nov 19 21:17:00 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: e6e10249c41c404d76cc1b5f77d097cc6900b342
      https://github.com/OSGeo/grass/commit/e6e10249c41c404d76cc1b5f77d097cc6900b342
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2025-11-20 (Thu, 20 Nov 2025)

  Changed paths:
    M python/grass/app/runtime.py
    A scripts/g.extension/tests/conftest.py
    A scripts/g.extension/tests/g_extension_test.py

  Log Message:
  -----------
  grass.app: Always set path to script addons (#6639)

For relevant platforms (currently all except Windows), add the scripts directory for addons to path even if the directory does not exist. When installing into a fresh install, the directory may not exist, so it is not added and the addon tool does not run.

The new test fails for the Python tool with the old code, but works with the new code.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list