stack/erp5: patch RestrictedPython to compile with print_function
Every restricted python code on python2 will be compiled as if it had `from __future__ import print_function`, to ease transition away from python2. To update project code, 2to3 from python2.7 seems to do a good job. Invoking like from the root of a repository rewrite all scripts: 2to3 --write --nobackups --no-diffs --fix=print .
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#653407
external
|
Cloudooo.UnitTest-Master |
00:09:01
|
||||||
passed |
#654515
external
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster |
00:27:24
|
||||||
failed |
#653711
external
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster.Master |
15:01:41
|
||||||
passed |
#654474
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:13:09
|
||||||
passed |
#654494
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:14:28
|
||||||
passed |
#654489
external
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:14:14
|
||||||
failed |
#653716
external
|
SlapOS.SoftwareReleases.IntegrationTest-Master |
06:14:36
|
||||||
failed |
#653515
external
|
SlapOS.Theia.ResilienceTest-Master-ERP5 |
04:39:51
|
||||||
passed |
#654520
external
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster |
00:27:38
|
||||||
passed |
#654522
external
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master |
07:43:58
|
||||||
passed |
#653453
external
retried
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster |
00:33:37
|
||||||
passed |
#653707
external
retried
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster |
00:27:50
|
||||||
passed |
#654410
external
retried
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster |
00:27:05
|
||||||
passed |
#654168
external
retried
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster |
00:27:36
|
||||||
passed |
#654455
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:13:22
|
||||||
passed |
#653411
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:14:06
|
||||||
passed |
#653460
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:15:44
|
||||||
passed |
#653519
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:15:30
|
||||||
passed |
#653601
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:17:40
|
||||||
passed |
#653641
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:14:29
|
||||||
passed |
#653580
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:16:01
|
||||||
passed |
#653628
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:15:13
|
||||||
passed |
#653537
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:14:13
|
||||||
passed |
#654437
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:14:32
|
||||||
passed |
#653472
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:15:14
|
||||||
passed |
#653427
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:13
|
||||||
passed |
#653532
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:14:57
|
||||||
passed |
#653595
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:14:24
|
||||||
passed |
#654451
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:14:50
|
||||||
passed |
#653623
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:15:38
|
||||||
passed |
#653403
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:14:26
|
||||||
passed |
#653457
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:15:43
|
||||||
failed |
#653573
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-Master |
07:04:48
|
||||||
passed |
#654230
external
retried
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster |
00:27:34
|
||||||
passed |
#653449
external
retried
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster |
00:41:39
|
||||||
passed |
#654418
external
retried
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster |
00:28:05
|
||||||
passed |
#653725
external
retried
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster |
00:31:27
|
||||||
failed |
#654420
external
retried
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master |
15:01:43
|
||||||
failed |
#653567
external
retried
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master |
15:01:39
|
||||||
failed |
#653766
external
retried
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master |
15:01:46
|
||||||
failed |
#654232
external
retried
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master |
15:01:42
|
||||||