Skip to content

Commit 445c6e5

Browse files
committed
Add Python-3.6.8 and Python-3.7.2
1 parent 0e1b1ab commit 445c6e5

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

installer/installer_python_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ func TestPython_Install(t *testing.T) {
2424
version string
2525
}{
2626
{"2.7.15"},
27-
{"3.6.6"},
28-
{"3.7.0"},
27+
{"3.6.8"},
28+
{"3.7.2"},
2929
}
3030

3131
for _, testcase := range testcases {

origin/package_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ func TestFindPackage(t *testing.T) {
1010
arg string
1111
expected string
1212
}{
13-
{"2.7.14", "2.7.14"},
14-
{"3.6.4", "3.6.4"},
13+
{"2.7.15", "2.7.15"},
14+
{"3.6.8", "3.6.8"},
15+
{"3.7.2", "3.7.2"},
1516
{"https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz", "3.6.4"},
1617
}
1718
for _, test := range tests {

origin/python_package.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,11 @@ var pythonPackages = map[string]Package{
8080
"3.6.5": NewPythonPackage("https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz#ab25d24b1f8cc4990ade979f6dc37883"),
8181
"3.6.6": NewPythonPackage("https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tgz#9a080a86e1a8d85e45eee4b1cd0a18a2"),
8282
"3.6.7": NewPythonPackage("https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tgz#c83551d83bf015134b4b2249213f3f85"),
83+
"3.6.8": NewPythonPackage("https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tgz#48f393a04c2e66c77bfc114e589ec630"),
8384

8485
"3.7.0": NewPythonPackage("https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz#41b6595deb4147a1ed517a7d9a580271"),
8586
"3.7.1": NewPythonPackage("https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tgz#99f78ecbfc766ea449c4d9e7eda19e83"),
87+
"3.7.2": NewPythonPackage("https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz#02a75015f7cd845e27b85192bb0ca4cb"),
8688
}
8789

8890
func (p *pythonPackage) Type() PackageType {

0 commit comments

Comments
 (0)