From 645a16c667ede7148c17c2890c8b9f4ba83045ae Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 06:16:44 +0100 Subject: [PATCH] requirement: bump python-json-logger from 2.0.7 to 3.2.1 Bumps [python-json-logger](https://github.com/nhairs/python-json-logger) from 2.0.7 to 3.2.1. - [Release notes](https://github.com/nhairs/python-json-logger/releases) - [Changelog](https://github.com/nhairs/python-json-logger/blob/main/docs/changelog.md) - [Commits](https://github.com/nhairs/python-json-logger/compare/v2.0.7...v3.2.1) --- updated-dependencies: - dependency-name: python-json-logger dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- inclusion_connect/logging.py | 4 ++-- requirements/base.txt | 6 +++--- requirements/dev.txt | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/inclusion_connect/logging.py b/inclusion_connect/logging.py index 4b7167e9..c4eee5ec 100644 --- a/inclusion_connect/logging.py +++ b/inclusion_connect/logging.py @@ -3,7 +3,7 @@ from elasticsearch import Elasticsearch from elasticsearch.helpers import bulk -from pythonjsonlogger import jsonlogger +from pythonjsonlogger.json import JsonFormatter from inclusion_connect.utils.oidc import oidc_params @@ -18,7 +18,7 @@ def log_data(request, next_url=None): return log_data -class JsonFormatter(jsonlogger.JsonFormatter): +class JsonFormatter(JsonFormatter): def parse(self): # Remove the empty key "message". return [] diff --git a/requirements/base.txt b/requirements/base.txt index 8ac0b144..a69e95bf 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -381,9 +381,9 @@ python-dotenv==1.0.1 \ --hash=sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca \ --hash=sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a # via -r requirements/base.in -python-json-logger==2.0.7 \ - --hash=sha256:23e7ec02d34237c5aa1e29a070193a4ea87583bb4e7f8fd06d3de8264c4b2e1c \ - --hash=sha256:f380b826a991ebbe3de4d897aeec42760035ac760345e57b812938dc8b35e2bd +python-json-logger==3.2.1 \ + --hash=sha256:8eb0554ea17cb75b05d2848bc14fb02fbdbd9d6972120781b974380bfa162008 \ + --hash=sha256:cdc17047eb5374bd311e748b42f99d71223f3b0e186f4206cc5d52aefe85b090 # via -r requirements/base.in requests==2.32.3 \ --hash=sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760 \ diff --git a/requirements/dev.txt b/requirements/dev.txt index 25142550..2461fbbf 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -682,9 +682,9 @@ python-dotenv==1.0.1 \ --hash=sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca \ --hash=sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a # via -r requirements/base.txt -python-json-logger==2.0.7 \ - --hash=sha256:23e7ec02d34237c5aa1e29a070193a4ea87583bb4e7f8fd06d3de8264c4b2e1c \ - --hash=sha256:f380b826a991ebbe3de4d897aeec42760035ac760345e57b812938dc8b35e2bd +python-json-logger==3.2.1 \ + --hash=sha256:8eb0554ea17cb75b05d2848bc14fb02fbdbd9d6972120781b974380bfa162008 \ + --hash=sha256:cdc17047eb5374bd311e748b42f99d71223f3b0e186f4206cc5d52aefe85b090 # via -r requirements/base.txt pyyaml==6.0.2 \ --hash=sha256:01179a4a8559ab5de078078f37e5c1a30d76bb88519906844fd7bdea1b7729ff \