File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,17 @@ def test_miniconda():
14
14
base_url = 'https://repo.continuum.io/miniconda'
15
15
dockerfile = get_dockerfile ()
16
16
conda_version = dockerfile .envs .get ('CONDA_VERSION' )
17
+ conda_python_version = dockerfile .envs .get ('CONDA_PYTHON_VERSION' )
17
18
latest = requests .head (
18
- '{base}/Miniconda2 -latest-Linux-x86_64.sh' .format (
19
+ '{base}/Miniconda3 -latest-Linux-x86_64.sh' .format (
19
20
base = base_url
20
21
)
21
22
)
22
23
current = requests .head (
23
- '{base}/Miniconda2-{version }-Linux-x86_64.sh' .format (
24
+ '{base}/Miniconda3-{conda_python_version}_{conda_version }-Linux-x86_64.sh' .format (
24
25
base = base_url ,
25
- version = conda_version ,
26
+ conda_python_version = conda_python_version ,
27
+ conda_version = conda_version ,
26
28
)
27
29
)
28
30
assert current .headers ['etag' ] == latest .headers ['etag' ]
You can’t perform that action at this time.
0 commit comments