diff --git a/.github/actions/setup-project/action.yml b/.github/actions/setup-project/action.yml index f9ca756b9..f653ba932 100644 --- a/.github/actions/setup-project/action.yml +++ b/.github/actions/setup-project/action.yml @@ -9,10 +9,10 @@ runs: sudo apt-get update \ && sudo apt-get install -y --no-install-recommends \ libcurl4-openssl-dev - - name: Set up Python 3.13.2 + - name: Set up Python 3.12.2 uses: actions/setup-python@v4 with: - python-version: "3.13.2" + python-version: "3.12.2" - name: Install poetry shell: bash run: pip install poetry==2.1.3 diff --git a/README.md b/README.md index 63fdc6b97..2a6902de6 100644 --- a/README.md +++ b/README.md @@ -259,12 +259,12 @@ git clone git@github.com:GSA/notifications-api.git Now go into the project directory (`notifications-api` by default), create a virtual environment, and set the local Python version to point to the virtual -environment (assumes version Python `3.13.2` is what is installed on your +environment (assumes version Python `3.12.2` is what is installed on your machine): ```sh cd notifications-api -pyenv virtualenv 3.13.2 notify-api +pyenv virtualenv 3.12.2 notify-api pyenv local notify-api ``` @@ -329,7 +329,7 @@ environment with the newer version of Python you just installed: ```sh cd notifications-api -pyenv virtualenv 3.13.2 notify-api +pyenv virtualenv 3.12.2 notify-api pyenv local notify-api ``` diff --git a/pyproject.toml b/pyproject.toml index f026ced23..018954d96 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ readme = "README.md" [tool.poetry.dependencies] -python = "^3.13.2" +python = "^3.12.2" alembic = "==1.16.1" amqp = "==5.3.1" beautifulsoup4 = "==4.13.4" diff --git a/runtime.txt b/runtime.txt index c94f67640..64f28603a 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.13.x +python-3.12.x