LUCENE-9557: regeneration should use python3, not python2

python2 will change the DFA, but using python3 re-generates the sources
as they exist today. plus, we don't want to depend on EOL python2.
This commit is contained in:
Robert Muir 2020-10-03 12:29:14 -04:00
parent f6c4f8a755
commit 7eee4fd102
No known key found for this signature in database
GPG Key ID: 817AE1DD322D7ECA
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ configure(project(":lucene:analysis:common")) {
def target = file('src/java/org/apache/lucene/analysis/charfilter/HTMLCharacterEntities.jflex')
target.withOutputStream { output ->
project.exec {
executable = project.externalTool("python2")
executable = project.externalTool("python3")
workingDir = target.parentFile
standardOutput = output
args += [