Skip to content

Commit 6c55ca1

Browse files
authored
Pin MySQL sample to Python 3.11 (GoogleCloudPlatform#10904)
The current base image 'python:3' takes the latest image available, which is 3.12 (recently released). All dependencies of the mySql sample are not yet compatible with 3.12. Thus, pinning the base version to 3.11 like all other samples in this repository.
1 parent 9f7c850 commit 6c55ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud-sql/mysql/sqlalchemy/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# Use the official Python image.
1616
# https://hub.docker.com/_/python
17-
FROM python:3
17+
FROM python:3.11
1818

1919
# Copy application dependency manifests to the container image.
2020
# Copying this separately prevents re-running pip install on every code change.

0 commit comments

Comments
 (0)