Skip to content

Commit 1af32d1

Browse files
ShellyAggglasnt
andauthored
Update quickstart samples for python 3.14 (#13672)
* Update quickstart samples for python 3.14 * Update pytest * Update pytest to be a working version for both 3.9, 3.14 --------- Co-authored-by: Katie McLaughlin <katie@glasnt.com> Co-authored-by: Katie McLaughlin <glasnt@google.com>
1 parent ba4707d commit 1af32d1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

appengine/flexible/hello_world/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env: flex
1717
entrypoint: gunicorn -b :$PORT main:app
1818

1919
runtime_config:
20-
operating_system: ubuntu22
20+
operating_system: ubuntu24
2121

2222
# This sample incurs costs to run on the App Engine flexible environment.
2323
# The settings below are to reduce costs during testing and are not appropriate

appengine/standard_python3/building-an-app/building-an-app-1/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
runtime: python313
15+
runtime: python314
1616

1717
handlers:
1818
# This configures Google App Engine to serve the files in the app's static
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
pytest==7.0.1
1+
pytest==7.0.1; python_version == '3.9'
2+
pytest==9.0.2; python_version >= '3.10'

0 commit comments

Comments
 (0)