From 1fb3c8e146a84a5dbfbaf27ea060fcff6b4bac7d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Apr 2024 12:46:00 +1000 Subject: [PATCH] chore(deps): bump gunicorn from 20.1.0 to 22.0.0 in /run/service-auth (#11515) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): bump gunicorn from 20.1.0 to 22.0.0 in /run/service-auth Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 20.1.0 to 22.0.0. - [Release notes](https://github.com/benoitc/gunicorn/releases) - [Commits](https://github.com/benoitc/gunicorn/compare/20.1.0...22.0.0) --- updated-dependencies: - dependency-name: gunicorn dependency-type: direct:production ... Signed-off-by: dependabot[bot] * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Owl Bot --- run/service-auth/receive_test.py | 46 +++++++++++++++++++------------ run/service-auth/requirements.txt | 2 +- 2 files changed, 29 insertions(+), 19 deletions(-) diff --git a/run/service-auth/receive_test.py b/run/service-auth/receive_test.py index 88c7c51be5a4..2d20f59f3705 100644 --- a/run/service-auth/receive_test.py +++ b/run/service-auth/receive_test.py @@ -52,25 +52,35 @@ def services(): ) # Get the URL for the service - endpoint_url = subprocess.run( - [ - "gcloud", - "run", - "services", - "describe", - service_name, - "--project", - project, - "--region=us-central1", - "--format=value(status.url)", - ], - stdout=subprocess.PIPE, - check=True, - ).stdout.strip().decode() + endpoint_url = ( + subprocess.run( + [ + "gcloud", + "run", + "services", + "describe", + service_name, + "--project", + project, + "--region=us-central1", + "--format=value(status.url)", + ], + stdout=subprocess.PIPE, + check=True, + ) + .stdout.strip() + .decode() + ) - token = subprocess.run( - ["gcloud", "auth", "print-identity-token"], stdout=subprocess.PIPE, check=True - ).stdout.strip().decode() + token = ( + subprocess.run( + ["gcloud", "auth", "print-identity-token"], + stdout=subprocess.PIPE, + check=True, + ) + .stdout.strip() + .decode() + ) yield endpoint_url, token diff --git a/run/service-auth/requirements.txt b/run/service-auth/requirements.txt index 0b4695564424..e7b7c0ef8be4 100644 --- a/run/service-auth/requirements.txt +++ b/run/service-auth/requirements.txt @@ -1,5 +1,5 @@ google-auth==2.19.1 requests==2.31.0 Flask==3.0.0 -gunicorn==20.1.0 +gunicorn==22.0.0 Werkzeug==3.0.1