PYTHONPATH not passed through to regressiontests/admin_scripts/AdminScriptTestCase.run_test()
|Reported by:||Richard Davies <richard.davies@…>||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
In my set up, on shared hosting, Django depends on various packages in my ~/site-python directory, which I include in my PYTHONPATH
When regressiontests/admin_scripts starts a subprocess with AdminScriptTestCase.run_test(), it doesn't pass PYTHONPATH through, so those subprocesses fail when they hit one of these Django dependencies (e.g. psycopg2).
I attach a patch which passes PYTHONPATH through correctly.
Change History (16)
Changed 6 years ago by Richard Davies <richard.davies@…>
comment:1 Changed 6 years ago by Richard Davies <richard.davies@…>
- milestone set to 1.0
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset