File tree Expand file tree Collapse file tree 6 files changed +24
-7
lines changed Expand file tree Collapse file tree 6 files changed +24
-7
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ python Cookbook CHANGELOG
2
2
=========================
3
3
This file is used to list changes made in each version of the python cookbook.
4
4
5
+ v1.5.4
6
+ -----
7
+ - Jason Neves - Initial support for centos 7
8
+
5
9
v1.5.3
6
10
------
7
11
- Franklin Hanson: Fix default python release version for amazon platform
Original file line number Diff line number Diff line change 47
47
case platform
48
48
when 'amazon'
49
49
default [ 'python' ] [ 'version' ] = '2.7.9-1.amzn1.gd'
50
- else
51
- default [ 'python' ] [ 'version' ] = '2.7.9-1.el6.gd'
50
+ when 'centos' , 'redhat'
51
+ if node [ 'platform_version' ] . to_f >= 7
52
+ default [ 'python' ] [ 'version' ] = '2.7.5-18.el7_1.1'
53
+ else
54
+ default [ 'python' ] [ 'version' ] = '2.7.9-1.el6.gd'
55
+ end
52
56
end
53
57
when 'package'
54
- default [ 'python' ] [ 'version' ] = '2.6.6-64.el6'
58
+ case platform
59
+ when 'centos' , 'redhat'
60
+ if node [ 'platform_version' ] . to_f >= 7
61
+ default [ 'python' ] [ 'version' ] = '2.7.5-18.el7_1.1'
62
+ else
63
+ default [ 'python' ] [ 'version' ] = '2.6.6-64.el6'
64
+ end
65
+ else
66
+ default [ 'python' ] [ 'version' ] = '2.6.6-64.el6'
67
+ end
55
68
when 'source'
56
69
default [ 'python' ] [ 'version' ] = '2.7.9'
57
70
end
Original file line number Diff line number Diff line change 4
4
license 'Apache 2.0'
5
5
description 'Installs Python, pip and virtualenv. \
6
6
Includes LWRPs for managing Python packages with `pip` and `virtualenv` isolated Python environments.'
7
- version '1.5.3 '
7
+ version '1.5.4 '
8
8
9
9
depends 'build-essential'
10
10
depends 'yum-epel'
Original file line number Diff line number Diff line change 12
12
13
13
describe command ( '/usr/local/bin/pip show pip' ) do
14
14
its ( :stdout ) { should contain ( 'Name: pip' ) }
15
- its ( :stdout ) { should contain ( 'Version: 7.1.0 ' ) }
15
+ its ( :stdout ) { should contain ( 'Version: 7.1.2 ' ) }
16
16
end
Original file line number Diff line number Diff line change 20
20
21
21
describe command ( "#{ pip_binary } show pip" ) do
22
22
its ( :stdout ) { should contain ( 'Name: pip' ) }
23
- its ( :stdout ) { should contain ( 'Version: 7.1.0 ' ) }
23
+ its ( :stdout ) { should contain ( 'Version: 7.1.2 ' ) }
24
24
end
Original file line number Diff line number Diff line change 12
12
13
13
describe command ( '/usr/local/bin/pip show pip' ) do
14
14
its ( :stdout ) { should contain ( 'Name: pip' ) }
15
- its ( :stdout ) { should contain ( 'Version: 7.1.0 ' ) }
15
+ its ( :stdout ) { should contain ( 'Version: 7.1.2 ' ) }
16
16
end
You can’t perform that action at this time.
0 commit comments