kopia lustrzana https://github.com/jupyterhub/repo2docker
update default env expectations in seperate kernel envs
rodzic
1a2438d34e
commit
847fdffe01
|
@ -3,7 +3,7 @@ import os
|
||||||
import sys
|
import sys
|
||||||
from subprocess import STDOUT, check_output
|
from subprocess import STDOUT, check_output
|
||||||
|
|
||||||
assert sys.version_info[:2] == (3, 7), sys.version
|
assert sys.version_info[:2] == (3, 10), sys.version
|
||||||
|
|
||||||
|
|
||||||
def sh(cmd, **kwargs):
|
def sh(cmd, **kwargs):
|
||||||
|
|
|
@ -69,7 +69,7 @@ def test_kernel_env(kernel_conda):
|
||||||
def test_server_env(server_conda):
|
def test_server_env(server_conda):
|
||||||
# this should be the default version
|
# this should be the default version
|
||||||
# it will need updating when the default changes
|
# it will need updating when the default changes
|
||||||
assert server_conda["python"]["version"][:3] == "3.7"
|
assert server_conda["python"]["version"].split(".")[:2] == ["3", "10"]
|
||||||
|
|
||||||
|
|
||||||
def test_conda_install(kernel_conda, server_conda):
|
def test_conda_install(kernel_conda, server_conda):
|
||||||
|
|
Ładowanie…
Reference in New Issue