Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support .env file loading on shell & run #3324

Closed
2 tasks done
yoav-orca opened this issue Nov 4, 2020 · 5 comments
Closed
2 tasks done

Support .env file loading on shell & run #3324

yoav-orca opened this issue Nov 4, 2020 · 5 comments
Labels
kind/feature Feature requests/implementations

Comments

@yoav-orca
Copy link

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

I'm working on migrating from pipenv to poetry, and I found I'm missing a feature from pipenv, the automatic loading of .env files - https://pipenv-fork.readthedocs.io/en/latest/advanced.html#automatic-loading-of-env
We use it extensively as a way of setting per project environment variables without requiring additional scripts.

@yoav-orca yoav-orca added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Nov 4, 2020
@sinoroc
Copy link

sinoroc commented Nov 4, 2020

Seems like a good candidate for a plugin, once the plugin system is in place.

On the other hand, isn't it what python-dotenv does?

@yoav-orca
Copy link
Author

Hi, it would be a very good candidate once poetry provides a plugin system.

The functionality is very similar to what python-dotenv provides, but it's supported natively in pipenv.
It means that I don't have to litter the code with environment variable loading, and let the pipenv shell/run do it once for me on entry.

@sinoroc
Copy link

sinoroc commented Nov 4, 2020

@yoav-orca

This is a duplicate of the following ticket: Support for .env files (#337)

As such we should probably either close this one, or reframe the ticket as plugin wish by changing the title and the introductory message.

@finswimmer
Copy link
Member

Duplicate of #337.

Solution: #337 (comment)

@abn abn removed the status/triage This issue needs to be triaged label Mar 3, 2022
Copy link

github-actions bot commented Mar 2, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Feature requests/implementations
Projects
None yet
Development

No branches or pull requests

4 participants