Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump python in ci to 3.11 #5746

Merged
merged 1 commit into from
May 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ orbs:
default: false

docker:
- image: python:3.9-slim-bullseye
- image: python:3.11-slim-bullseye
working_directory: ~/repo
resource_class: large
steps:
Expand All @@ -23,9 +23,9 @@ orbs:
apt-get update && apt-get install --yes --no-install-recommends git curl
- restore_cache:
keys:
- v3.9-dependencies-{{ checksum "requirements.txt" }}
- v3.11-dependencies-{{ checksum "requirements.txt" }}
# fallback to using the latest cache if no exact match is found
- v3.9-dependencies-
- v3.11-dependencies-

- run:
name: install dependencies
Expand Down Expand Up @@ -91,7 +91,7 @@ orbs:
- save_cache:
paths:
- ./venv
key: v3.9-dependencies-{{ checksum "requirements.txt" }}
key: v3.11-dependencies-{{ checksum "requirements.txt" }}

- run:
name: Build image if needed
Expand All @@ -107,7 +107,7 @@ orbs:
jobs:
deploy:
docker:
- image: python:3.9-slim-bullseye
- image: python:3.11-slim-bullseye
working_directory: ~/repo
steps:
- run:
Expand All @@ -119,9 +119,9 @@ jobs:
# Download and cache dependencies
- restore_cache:
keys:
- v3.9-dependencies-gcloud-457-{{ checksum "requirements.txt" }}
- v3.11-dependencies-gcloud-457-{{ checksum "requirements.txt" }}
# fallback to using the latest cache if no exact match is found
- v3.9-dependencies-gcloud-457-
- v3.11-dependencies-gcloud-457-

- run:
name: install dependencies
Expand All @@ -146,7 +146,7 @@ jobs:
- save_cache:
paths:
- ./venv
key: v3.9-dependencies-gcloud-457-{{ checksum "requirements.txt" }}
key: v3.11-dependencies-gcloud-457-{{ checksum "requirements.txt" }}

- run:
name: Authenticating with google service account for kms/sops
Expand Down
Loading