Skip to content

Commit

Permalink
force pip version to 18.0 -
Browse files Browse the repository at this point in the history
workaround for pypa/pipenv#2924
  • Loading branch information
migwellian committed Oct 11, 2018
1 parent 506e0f0 commit be4c24c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions keanu-python/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,22 @@ task pytest {
exec {
commandLine 'pip', 'install', 'pipenv'
}
exec {
// temporary workaround for https://github.com/pypa/pipenv/issues/2924
// (pip 18.1 broke pipenv)
commandLine 'pipenv', 'run', 'pip', 'install', 'pip==18.0', '--three'
}
exec {
commandLine 'pipenv', 'install', '--dev', '--three'
}
exec {
// NB: the python version inside pipenv is not necessarily the same as the version outside pipenv
commandLine 'pipenv', 'run', 'python', '--version'
}
exec {
// NB: the pip version inside pipenv is not necessarily the same as the version outside pipenv
commandLine 'pipenv', 'run', 'pip', '--version'
}
exec {
commandLine 'pipenv', 'run', 'pytest'
}
Expand Down

0 comments on commit be4c24c

Please sign in to comment.