Skip to content

Commit dfdeaad

Browse files
authored
fix: sqlalchemy dependencies (GoogleCloudPlatform#12760)
1 parent f8fcdef commit dfdeaad

6 files changed

Lines changed: 13 additions & 9 deletions

File tree

cloud-sql/mysql/sqlalchemy/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2019 Google, LLC.
1+
# Copyright 2019 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -14,7 +14,9 @@
1414

1515
# Use the official Python image.
1616
# https://hub.docker.com/_/python
17-
FROM python:3.11
17+
FROM python:3.13
18+
19+
RUN apt-get update
1820

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

cloud-sql/mysql/sqlalchemy/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Flask==2.2.2
2-
SQLAlchemy==2.0.24
2+
SQLAlchemy==2.0.36
33
PyMySQL==1.1.1
44
gunicorn==22.0.0
55
cloud-sql-python-connector==1.2.4

cloud-sql/postgres/sqlalchemy/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2019 Google, LLC.
1+
# Copyright 2019 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -14,7 +14,9 @@
1414

1515
# Use the official Python image.
1616
# https://hub.docker.com/_/python
17-
FROM python:3
17+
FROM python:3.13
18+
19+
RUN apt-get update
1820

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

cloud-sql/postgres/sqlalchemy/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Flask==2.2.2
22
pg8000==1.31.2
3-
SQLAlchemy==2.0.24
3+
SQLAlchemy==2.0.36
44
cloud-sql-python-connector==1.9.1
55
gunicorn==22.0.0
66
functions-framework==3.5.0

cloud-sql/sql-server/sqlalchemy/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 Google, LLC.
1+
# Copyright 2020 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414

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

1919
RUN apt-get update
2020

cloud-sql/sql-server/sqlalchemy/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Flask==2.2.2
22
gunicorn==22.0.0
33
python-tds==1.15.0
44
pyopenssl==24.0.0
5-
SQLAlchemy==2.0.24
5+
SQLAlchemy==2.0.36
66
cloud-sql-python-connector==1.9.1
77
sqlalchemy-pytds==1.0.2
88
functions-framework==3.5.0

0 commit comments

Comments
 (0)