Commit c2b052a1 by source_reader

changed pip upgrade strategy to only upgrade base package, not deps

parent 098bf763
......@@ -17,7 +17,7 @@ class joule {
require python3
$pip_url="http://puppet:wX27zvbA@pypi.wattsworth.net:8080/"
$pip_cmd="pip3 install --upgrade --extra-index-url ${pip_url} --trusted-host pypi.wattsworth.net"
$pip_cmd="pip3 install --upgrade --upgrade-strategy only-if-needed --extra-index-url ${pip_url} --trusted-host pypi.wattsworth.net"
$deps = ['libblas-dev', 'liblapack-dev', 'gfortran']
......
......@@ -13,7 +13,7 @@ class nilm {
require raspi
require python3
$pip_url="http://puppet:wX27zvbA@pypi.wattsworth.net:8080/"
$pip_cmd="pip3 install --upgrade --extra-index-url ${pip_url} --trusted-host pypi.wattsworth.net"
$pip_cmd="pip3 install --upgrade-strategy only-if-needed --upgrade --extra-index-url ${pip_url} --trusted-host pypi.wattsworth.net"
package{"libfreetype6-dev":
ensure => present
......
class python3::build {
$pip_url="http://puppet:wX27zvbA@pypi.wattsworth.net:8080/"
$pip_cmd="pip3 install --upgrade --extra-index-url ${pip_url} --trusted-host pypi.wattsworth.net"
$pip_cmd="pip3 install --upgrade --upgrade-strategy only-if-needed --extra-index-url ${pip_url} --trusted-host pypi.wattsworth.net"
notify { "python3 is at [${::python_version}], building 3.5.2 from source": }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment