Skip to content

Commit

Permalink
clear PYTHONPATH before executing payload. Fix #8805 (#8839)
Browse files Browse the repository at this point in the history
  • Loading branch information
belforte authored Nov 26, 2024
1 parent 0445524 commit 8d59c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/CMSRunAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ def compareBrachListWithReference(branchList, tier):
jobExitCode = None
applicationName = 'CMSSW JOB' if not options.scriptExe else 'ScriptEXE'
print(f"==== {applicationName} Execution started at {UTCNow()} ====")
command = "stdbuf -oL -eL "
command = "unset PYTHONPATH; stdbuf -oL -eL " # make sure COMP python does not leak to CMSSW #8805
if not options.scriptExe:
command += 'cmsRun -j FrameworkJobReport.xml PSet.py'
else:
Expand Down

0 comments on commit 8d59c1b

Please sign in to comment.