Ignore user site packages when running buildout
I had a Theia instance where I installed buildout with `pip install -e --user /path/to/checkout` and later deleted that `/path/to/checkout` and this made it impossible to run instance buildout, failing with import error when importing zc.buildout in buildout script. This is because python load user site packages by default. I believe we don't want this, a broken user site package should not prevent slapos from running buildout. These changes are about running buildout with `PYTHONNOUSERSITE` set, so that python ignores user site packages when running buildout. references: * https://docs.python.org/3/using/cmdline.html#envvar-PYTHONNOUSERSITE * https://docs.python.org/3/library/site.html#site.ENABLE_USER_SITE See merge request !266
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
failed |
#124979
external
|
SlapOS-Master.UnitTest-Master |
01:36:38
|
||||||
failed |
#125077
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:41:55
|
||||||
failed |
#125063
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:37:53
|
||||||
passed |
#124968
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:12:25
|
||||||
passed |
#125003
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:26:20
|
||||||
passed |
#125036
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:30:29
|
||||||
passed |
#124984
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:08:46
|
||||||
passed |
#125014
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:08:11
|
||||||
passed |
#125050
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:10:50
|
||||||