diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index dfc667d..c6be283 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "TitleCreator Development Environment", - "image": "mcr.microsoft.com/devcontainers/python:3.9", + "image": "mcr.microsoft.com/devcontainers/python:3.12", "features": { "ghcr.io/devcontainers/features/docker-in-docker:2": {}, diff --git a/CODESPACES.md b/CODESPACES.md index 68e201c..8abba86 100644 --- a/CODESPACES.md +++ b/CODESPACES.md @@ -10,7 +10,7 @@ This repository is configured with a pre-built GitHub Codespaces environment tha - Wait for the environment to build (first time takes ~3-5 minutes) 2. **Environment will include**: - - ✅ Python 3.9 with Flask and dependencies + - ✅ Python 3.12 with Flask and dependencies - ✅ Docker and Docker Compose - ✅ Google Cloud CLI (`gcloud`) - ✅ GitHub CLI (`gh`) diff --git a/Dockerfile b/Dockerfile index 28a3d6e..61de2e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Use an official Python 3 slim base image -FROM python:3.9-slim +FROM python:3.12-slim # Set the working directory in the container WORKDIR /app diff --git a/README.md b/README.md index b5a2c4f..717b6b8 100755 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Inspired by a salesperson who would always introduce me with a new title on ever ## Instructions to run locally: Enter this in the command line: -`Python TitleCreator.py` or `./TitleCreator.py` on Linux/BSD/macOS. +`python3 titlecreator.py` or `./titlecreator.py` on Linux/BSD/macOS. ^ You did it! You have a new title! Add it to your Linkedin. diff --git a/app.yaml b/app.yaml index 0e56bb3..5990e73 100755 --- a/app.yaml +++ b/app.yaml @@ -1,4 +1,4 @@ -runtime: python27 +runtime: python312 api_version: 1 threadsafe: false handlers: diff --git a/requirements.txt b/requirements.txt index f2a93f9..00d7a19 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -flask==2.3.3 -gunicorn==23.0.0 \ No newline at end of file +flask==3.0.2 +gunicorn==21.2.0 \ No newline at end of file