Skip to content

Commit fbab2cd

Browse files
committed
actually change the default Python version to 3.10
this default lives too many places!
1 parent 738a56d commit fbab2cd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

repo2docker/buildpacks/conda/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def get_build_scripts(self):
141141
),
142142
]
143143

144-
major_pythons = {"2": "2.7", "3": "3.7"}
144+
major_pythons = {"2": "2.7", "3": "3.10"}
145145

146146
def get_build_script_files(self):
147147
"""

tests/venv/default/verify

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Verify that the default just provides a py3 environment with jupyter
33
import sys
44

5-
assert sys.version_info[:2] == (3, 7), sys.version
5+
assert sys.version_info[:2] == (3, 10), sys.version
66
import jupyter
77

88
with open("/tmp/appendix") as f:

tests/venv/numpy/verify

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
import sys
33

4-
assert sys.version_info[:2] == (3, 7)
4+
assert sys.version_info[:2] == (3, 10)
55

66
import numpy

0 commit comments

Comments
 (0)