Skip to content

Commit 5c33c3a

Browse files
committed
ci: fix: ubuntu-20 deprecated in circle-ci
1 parent 149cd1e commit 5c33c3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ test-tmpl: &test-tmpl
4848
4949
job-tmpl: &job-tmpl
5050
machine:
51-
image: ubuntu-2004:edge
51+
image: ubuntu-2204:current
5252

5353
working_directory: /home/circleci/src
5454

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function install_python {
4343
curl --silent --show-error --retry 5 https://bootstrap.pypa.io/pip/$version/get-pip.py | sudo $py
4444
sudo $py -m pip install setuptools
4545
}
46-
elif [ "$version" = "3.10" ] || [ "$version" = "3.11" ] || [ "$version" = "3.12" ]; then
46+
elif [ "$version" = "3.10" ] || [ "$version" = "3.11" ] ; then
4747
sudo apt-get install ${py}-distutils
4848
curl --silent --show-error --retry 5 https://bootstrap.pypa.io/get-pip.py | sudo $py
4949
else

0 commit comments

Comments
 (0)