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 9, 2018
1 parent 3a4743d commit a051f09
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 a051f09

Please sign in to comment.