@@ -17,12 +17,11 @@ jobs:
17
17
- name : Clone the reference repository
18
18
uses : actions/checkout@v2
19
19
20
- - name : Set up Python 3.7 .12
20
+ - name : Set up Python 3.10 .12
21
21
uses : actions/setup-python@v2
22
22
with :
23
23
# Change this based on the python version in Google colab
24
- # actions/setup-python@v2 does not have 3.7.13
25
- python-version : ' 3.7.12'
24
+ python-version : ' 3.10.12'
26
25
27
26
- name : Install dependencies
28
27
run : |
@@ -39,12 +38,11 @@ jobs:
39
38
- name : Clone the reference repository
40
39
uses : actions/checkout@v2
41
40
42
- - name : Set up Python 3.7 .12
41
+ - name : Set up Python 3.10 .12
43
42
uses : actions/setup-python@v2
44
43
with :
45
44
# Change this based on the python version in Google colab
46
- # actions/setup-python@v2 does not have 3.7.13
47
- python-version : ' 3.7.12'
45
+ python-version : ' 3.10.12'
48
46
49
47
- name : Install dependencies
50
48
run : |
72
70
run : |
73
71
git ls-files 'notebooks/book**.ipynb' -z | xargs -0 -n1 -I{} -- git log -1 --format='%at {}' {} | sort -r
74
72
75
- - name : Setup Python 3.7.13 (current colab version)
73
+ - name : Setup Python 3.10.12 (current colab version)
76
74
shell : bash
77
75
run : |
78
76
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh --output miniconda.sh
82
80
echo "export PATH=\"\$HOME/miniconda3/bin:\$PATH\"" >> /root/.bashrc
83
81
echo "source \"\$HOME/miniconda3/bin/activate\"" >> /root/.bashrc
84
82
source /root/.bashrc
85
- conda create -n py37 python=3.7.13 -y
86
- echo "conda activate py37 " >> /root/.bashrc
83
+ conda create -n py310 python=3.10.12 -y
84
+ echo "conda activate py310 " >> /root/.bashrc
87
85
88
86
- name : Install requirements
89
87
shell : bash
@@ -128,7 +126,7 @@ jobs:
128
126
with :
129
127
fetch-depth : 0
130
128
131
- - name : Setup Python 3.7.13 (current colab version)
129
+ - name : Setup Python 3.10.12 (current colab version)
132
130
shell : bash
133
131
run : |
134
132
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh --output miniconda.sh
@@ -138,8 +136,8 @@ jobs:
138
136
echo "export PATH=\"\$HOME/miniconda3/bin:\$PATH\"" >> /root/.bashrc
139
137
echo "source \"\$HOME/miniconda3/bin/activate\"" >> /root/.bashrc
140
138
source /root/.bashrc
141
- conda create -n py37 python=3.7.13 -y
142
- echo "conda activate py37 " >> /root/.bashrc
139
+ conda create -n py310 python=3.10.12 -y
140
+ echo "conda activate py310 " >> /root/.bashrc
143
141
144
142
- name : Install requirements
145
143
shell : bash
0 commit comments