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

Skip to content
This repository was archived by the owner on Jul 31, 2024. It is now read-only.

Commit 69ee5f9

Browse files
committed
Use the version directly instead of piping
Turns out the example shown was for `curl|python...`, not invoking directly. So we can use the same version identifer as if we were using `pip` command itself.
1 parent 5244996 commit 69ee5f9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Berksfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ GRAPH
1515
chef_handler (1.2.0)
1616
minitest-handler (1.5.0)
1717
chef_handler (>= 0.0.0)
18-
python (1.4.10)
18+
python (1.4.11)
1919
build-essential (>= 0.0.0)
2020
yum-epel (>= 0.0.0)
2121
python_test (0.1.0)

metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
license "Apache 2.0"
55
description "Installs Python, pip and virtualenv. Includes LWRPs for managing Python packages with `pip` and `virtualenv` isolated Python environments."
66
# This is our fork's version. It does not correspond to the upstream's cookbook at all.
7-
version "1.4.10"
7+
version "1.4.11"
88

99
depends "build-essential"
1010
depends "yum-epel"

recipes/pip.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
# Command updated to only allow pip versions prior to 8.0.0
4545
# @see https://github.com/DataDog/devops/issues/4225
4646
command <<-EOF
47-
#{node['python']['binary']} get-pip.py | #{node['python']['binary']} - 'pip<8'
47+
#{node['python']['binary']} get-pip.py 'pip<8'
4848
EOF
4949
not_if { ::File.exists?(pip_binary) }
5050
end

0 commit comments

Comments
 (0)