Skip to content

Commit

Permalink
actually change the default Python version to 3.10
Browse files Browse the repository at this point in the history
this default lives too many places!
  • Loading branch information
minrk committed Feb 8, 2023
1 parent 738a56d commit fbab2cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion repo2docker/buildpacks/conda/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def get_build_scripts(self):
),
]

major_pythons = {"2": "2.7", "3": "3.7"}
major_pythons = {"2": "2.7", "3": "3.10"}

def get_build_script_files(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/venv/default/verify
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Verify that the default just provides a py3 environment with jupyter
import sys

assert sys.version_info[:2] == (3, 7), sys.version
assert sys.version_info[:2] == (3, 10), sys.version
import jupyter

with open("/tmp/appendix") as f:
Expand Down
2 changes: 1 addition & 1 deletion tests/venv/numpy/verify
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
import sys

assert sys.version_info[:2] == (3, 7)
assert sys.version_info[:2] == (3, 10)

import numpy

0 comments on commit fbab2cd

Please sign in to comment.