Skip to content

Commit

Permalink
pip is too old on python3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
chadrik committed Nov 9, 2019
1 parent 5472170 commit ac0b3d2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1763,6 +1763,10 @@ class BeamModulePlugin implements Plugin<Project> {
"--python=python${project.ext.pythonVersion}",
]
project.exec { commandLine virtualenvCmd }
project.exec {
executable 'sh'
args '-c', ". ${project.ext.envdir}/bin/activate && pip install --upgrade --retries 10 pip==19.3.1"
}
}
// Gradle will delete outputs whenever it thinks they are stale. Putting a
// specific binary here could make gradle delete it while pip will believe
Expand Down

0 comments on commit ac0b3d2

Please sign in to comment.