You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
env_files_skip_if_set overwrites existing Windows variables with differently cased keys #277
Actual: the assertion fails because the value is from_file. Expected: the existing from_environment value is retained. Verbose actions also incorrectly report SET instead of SKIP.
Reproduced on Windows with Python 3.13.15 against main at d904cdf. The initial dict(os.environ) snapshot contains uppercase keys on Windows, but the membership test uses the original dotenv spelling. Normalizing the lookup key on Windows preserves the intended behavior without changing Unix case sensitivity or normal override behavior.
I can submit a small fix with a regression covering both platform rules. Prepared and tested with OpenAI Codex assistance.
Activity