[GRASS-git] [OSGeo/grass] 671d6f: grass.script: Sanitize mapset region variables in ...
Anna Petrasova
noreply at github.com
Tue Jun 16 13:45:46 PDT 2026
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 671d6f71cd541447fdfc17eb3ec81cbbdf8dd32a
https://github.com/OSGeo/grass/commit/671d6f71cd541447fdfc17eb3ec81cbbdf8dd32a
Author: Anna Petrasova <kratochanna at gmail.com>
Date: 2026-06-16 (Tue, 16 Jun 2026)
Changed paths:
M python/grass/script/setup.py
M python/grass/script/tests/grass_script_setup_test.py
Log Message:
-----------
grass.script: Sanitize mapset region variables in runtime setup (#7577)
Remove mapset-specific variables (WIND_OVERRIDE, GRASS_REGION) when setting up the runtime environment in setup_runtime_env(), so they do not leak from the parent environment into a freshly initialized session. This reuses the existing sanitize_mapset_environment() function.
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