Hi all -
The newest version of dotenv has broken some of our code. At our shop we would install code in a virtual environment, in
/home/user/venv/lib/python2.7/site-packages/myrepo
and then place the .env file in
/home/user/venv/lib/python2.7/site-packages/myrepo/.env
using python-dotenv==0.8.0 fixes the issue, but I would like to find a better way forward.
I have tried running find_dotenv(usecwd=True)
and
find_dotenv(usecwd=False )
And this does not appear to fix the issue.
Is there a recommended setting that will fix this? If not I am happy to add a test to illustrate whats going on here.