Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c6d0aa

Browse files
committed
@ranjib pointed out I hard-wired to upgrade
Use the correct semantics of upgrade unless version locked.
1 parent d13e97c commit 9c6d0aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/pip.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@
4848
end
4949

5050
python_pip 'setuptools' do
51-
action :upgrade
51+
action :upgrade unless node['python']['setuptools_version']
5252
version node['python']['setuptools_version']
5353
end

0 commit comments

Comments
 (0)