1313
1414# we use the python 3.10 package twice since we want
1515# to test if the caching code path is working
16- @pytest .mark .parametrize ("pkg_spec" , ["python=3.10 " , "numpy" , "python=3.10 " ])
16+ @pytest .mark .parametrize ("pkg_spec" , ["python=3.11 " , "numpy" ])
1717@pytest .mark .parametrize ("use_cache" , [False , True ])
1818def test_pack_pkg (tmp_path , tmp_path_module , use_cache , pkg_spec ):
1919 pkg_name = pkg_spec .split ("=" )[0 ]
@@ -58,10 +58,10 @@ def test_append(tmp_path):
5858 # create and pack env
5959 create_environment (
6060 prefix = prefix ,
61- packages = ["python=3.10 " , "numpy" ],
61+ packages = ["python=3.11 " , "numpy" ],
6262 channels = CHANNELS ,
6363 relocate_prefix = "/" ,
64- platform = "emscripten-32 " ,
64+ platform = "emscripten-wasm32 " ,
6565 )
6666
6767 pack_env (
@@ -101,7 +101,7 @@ def test_append(tmp_path):
101101 assert "packaged_dir.tar.gz" in env_meta_dict
102102
103103
104- @pytest .mark .parametrize ("packages" , [["python=3.10 " , "numpy" ]])
104+ @pytest .mark .parametrize ("packages" , [["python=3.11 " , "numpy" ]])
105105@pytest .mark .parametrize ("relocate_prefix" , ["/" , "/some/dir" , "/home/some_dir/" ])
106106def test_pack_env (tmp_path , packages , relocate_prefix ):
107107 # create the env at the temporary location
@@ -112,7 +112,7 @@ def test_pack_env(tmp_path, packages, relocate_prefix):
112112 packages = packages ,
113113 channels = CHANNELS ,
114114 relocate_prefix = relocate_prefix ,
115- platform = "emscripten-32 " ,
115+ platform = "emscripten-wasm32 " ,
116116 )
117117
118118 pack_env (
0 commit comments