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/poetry.lock b/poetry.lock index cfa62e31f..8e232bdbe 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.1 and should not be changed by hand. [[package]] name = "aiohappyeyeballs" @@ -185,6 +185,7 @@ files = [ [package.dependencies] idna = ">=2.8" sniffio = ">=1.1" +typing_extensions = {version = ">=4.5", markers = "python_version < \"3.13\""} [package.extras] doc = ["Sphinx (>=8.2,<9.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx_rtd_theme"] @@ -1369,6 +1370,9 @@ files = [ {file = "exceptiongroup-1.3.0.tar.gz", hash = "sha256:b241f5885f560bc56a59ee63ca4c6a8bfa46ae4ad651af316d4e81817bb9fd88"}, ] +[package.dependencies] +typing-extensions = {version = ">=4.6.0", markers = "python_version < \"3.13\""} + [package.extras] test = ["pytest (>=6)"] @@ -4191,6 +4195,7 @@ files = [ [package.dependencies] attrs = ">=22.2.0" rpds-py = ">=0.7.0" +typing-extensions = {version = ">=4.4.0", markers = "python_version < \"3.13\""} [[package]] name = "regex" @@ -4298,19 +4303,19 @@ files = [ [[package]] name = "requests" -version = "2.32.3" +version = "2.32.4" description = "Python HTTP for Humans." optional = false python-versions = ">=3.8" groups = ["main", "dev"] files = [ - {file = "requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6"}, - {file = "requests-2.32.3.tar.gz", hash = "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760"}, + {file = "requests-2.32.4-py3-none-any.whl", hash = "sha256:27babd3cda2a6d50b30443204ee89830707d396671944c998b5975b031ac2b2c"}, + {file = "requests-2.32.4.tar.gz", hash = "sha256:27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422"}, ] [package.dependencies] certifi = ">=2017.4.17" -charset-normalizer = ">=2,<4" +charset_normalizer = ">=2,<4" idna = ">=2.5,<4" urllib3 = ">=1.21.1,<3" @@ -5576,5 +5581,5 @@ cffi = ["cffi (>=1.11)"] [metadata] lock-version = "2.1" -python-versions = "^3.13.2" -content-hash = "879c7bb9dd451bb098c7a092498dd458224dcc766eb504fafe2cdc10255ccf7e" +python-versions = "^3.12.2" +content-hash = "aca0313b6e053bbfea847692157e09f1f2d86b33b445a46170c20916341125d8" diff --git a/pyproject.toml b/pyproject.toml index f026ced23..b921ddd0b 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" @@ -75,7 +75,7 @@ webencodings = "^0.5.1" itsdangerous = "^2.2.0" jinja2 = "^3.1.6" redis = "^5.0.8" -requests = "^2.32.3" +requests = "^2.32.4" flask-socketio = "^5.5.1" virtualenv = "<20.30" 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