Skip to content

Commit ac318de

Browse files
authored
Pin CircleCI env on Python 3.11.1 (#28)
1 parent 0098b36 commit ac318de

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.circleci/config.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,18 @@ jobs:
99
save-state:
1010
executor: localstack/default
1111
steps:
12+
- checkout
1213
- restore_cache:
1314
keys:
1415
- python-deps-{{ checksum "requirements-dev.txt" }}
1516
- python-deps
1617
- run:
17-
name: Install Python 3.9
18+
name: Install Python 3.11
1819
command: |
19-
test -d /opt/circleci/.pyenv/versions/3.9.16 || pyenv install 3.9.16
20-
pyenv global 3.9.16
20+
# Currently highest available 3.11 on CircleCI runner
21+
test -d /opt/circleci/.pyenv/versions/3.11.1 || pyenv install 3.11.1
22+
pyenv global 3.11.1
2123
- localstack/start
22-
- checkout
2324
- run:
2425
name: Install dependencies
2526
command:
@@ -38,7 +39,7 @@ jobs:
3839
- ls-state.zip
3940
- save_cache:
4041
paths:
41-
- /opt/circleci/.pyenv/versions/3.9.16
42+
- /opt/circleci/.pyenv/versions/3.11.1
4243
key: python-deps-{{ checksum "requirements-dev.txt" }}
4344
- store_artifacts:
4445
path: ls-state.zip
@@ -59,7 +60,7 @@ jobs:
5960
- run:
6061
name: Choose python version
6162
command:
62-
pyenv global 3.9.16
63+
pyenv global 3.11.1
6364
- localstack/start
6465
- checkout
6566
- run:

0 commit comments

Comments
 (0)