Skip to content

Conversation

@Aakash0440
Copy link

This PR fixes an issue where python-dotenv fails to load environment
variables from non-regular files such as FIFOs or fd-backed mounts
(e.g. 1Password’s mounted .env files on macOS).

The loader now uses stream-based reading and includes a regression
test simulating FIFO behavior.

Fixes #598

@Aakash0440 Aakash0440 closed this Jan 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: python-dotenv doesn't load 1Password “mounted” .env files (looks like a FIFO / fd-backed file)

1 participant