actually change the default Python version to 3.10

this default lives too many places!
pull/1219/head
Min RK 2023-02-08 12:52:59 +01:00
rodzic 738a56dcd5
commit fbab2cd330
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 809C6E46EAA899F4
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -141,7 +141,7 @@ class CondaBuildPack(BaseImage):
), ),
] ]
major_pythons = {"2": "2.7", "3": "3.7"} major_pythons = {"2": "2.7", "3": "3.10"}
def get_build_script_files(self): def get_build_script_files(self):
""" """

Wyświetl plik

@ -2,7 +2,7 @@
# Verify that the default just provides a py3 environment with jupyter # Verify that the default just provides a py3 environment with jupyter
import sys import sys
assert sys.version_info[:2] == (3, 7), sys.version assert sys.version_info[:2] == (3, 10), sys.version
import jupyter import jupyter
with open("/tmp/appendix") as f: with open("/tmp/appendix") as f:

Wyświetl plik

@ -1,6 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys import sys
assert sys.version_info[:2] == (3, 7) assert sys.version_info[:2] == (3, 10)
import numpy import numpy