From 97ea02e85a6e8ab916893ca70237b8535e73f185 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 9 Jun 2025 08:46:07 -0700 Subject: [PATCH 1/3] manually roll python back to 3.12.2 --- .github/actions/setup-project/action.yml | 4 ++-- README.md | 6 +++--- pyproject.toml | 2 +- runtime.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) 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 From e7406aaf60bb5b76915ffecf5245d181ea3cf944 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 9 Jun 2025 08:46:50 -0700 Subject: [PATCH 2/3] add poetry.lock --- poetry.lock | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index cfa62e31f..38341da28 100644 --- a/poetry.lock +++ b/poetry.lock @@ -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" @@ -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 = "d50366495a66aa4202ed504eacb7809597c4692043cb0ecec8d2e4c44a1ca088" From 27e73343b84489e57cc41e07f41454f5302a1f31 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Jun 2025 21:26:53 +0000 Subject: [PATCH 3/3] Bump requests from 2.32.3 to 2.32.4 Bumps [requests](https://github.com/psf/requests) from 2.32.3 to 2.32.4. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.32.3...v2.32.4) --- updated-dependencies: - dependency-name: requests dependency-version: 2.32.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- poetry.lock | 12 ++++++------ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index 38341da28..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" @@ -4303,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" @@ -5582,4 +5582,4 @@ cffi = ["cffi (>=1.11)"] [metadata] lock-version = "2.1" python-versions = "^3.12.2" -content-hash = "d50366495a66aa4202ed504eacb7809597c4692043cb0ecec8d2e4c44a1ca088" +content-hash = "aca0313b6e053bbfea847692157e09f1f2d86b33b445a46170c20916341125d8" diff --git a/pyproject.toml b/pyproject.toml index 018954d96..b921ddd0b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"