Skip to content

Commit 1ae249e

Browse files
committed
Merge branch 'main' into chore/eja-eli-366-address-ruff-issues-with-version-bump
2 parents 26de218 + d91fec5 commit 1ae249e

4 files changed

Lines changed: 20 additions & 63 deletions

File tree

poetry.lock

Lines changed: 13 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ asgiref = "^3.11.0"
2929
eval-type-backport = "^0.2.2"
3030
mangum = "^0.19.0"
3131
wireup = "^2.1.0"
32-
python-json-logger = "^3.3.0"
32+
python-json-logger = "^4.0.0"
3333
python-dateutil = "^2.9.0"
3434
pyhamcrest = "^2.1.0"
3535
boto3 = "^1.40.57"
@@ -43,7 +43,7 @@ jsonpath-rw = "^1.4.0"
4343
semver = "^3.0.4"
4444
gitpython = "^3.1.45"
4545
pytest = "^8.4.2"
46-
pytest-asyncio = "^1.2.0"
46+
pytest-asyncio = "^1.3.0"
4747
pytest-cov = "^7.0.0"
4848
pytest-nhsd-apim = "^5.0.14"
4949
aiohttp = "^3.12.15"
@@ -62,7 +62,7 @@ jsonschema = "^4.25.1"
6262
behave = "^1.3.3"
6363
python-dotenv = "^1.2.1"
6464
openapi-spec-validator = "^0.7.2"
65-
pip-licenses = "^5.0.0"
65+
pip-licenses = "^5.5.0"
6666

6767

6868
[tool.poetry-plugin-lambda-build]

src/eligibility_signposting_api/logging/logs_manager.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ def wrapper(event: LambdaEvent, context: LambdaContext) -> dict[str, Any] | None
3030

3131

3232
class EnrichedJsonFormatter(JsonFormatter):
33-
def add_fields(self, log_record: dict[str, Any], record: logging.LogRecord, message_dict: dict[str, Any]) -> None:
34-
log_record["request_id"] = request_id_context_var.get() or "-"
35-
super().add_fields(log_record, record, message_dict)
33+
def add_fields(self, log_data: dict[str, Any], record: logging.LogRecord, message_dict: dict[str, Any]) -> None:
34+
log_data["request_id"] = request_id_context_var.get() or "-"
35+
super().add_fields(log_data, record, message_dict)
3636

3737

3838
def init_logging(quieten: Sequence[str] = ("asyncio", "botocore", "boto3", "mangum", "urllib3")) -> None:

tests/integration/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ def inactive_iteration_config(s3_client: BaseClient, rules_bucket: BucketName) -
824824
)
825825

826826
campaign.start_date = StartDate(datetime.date(2025, 1, 1))
827-
campaign.end_date = EndDate(datetime.date(2026, 1, 1))
827+
campaign.end_date = EndDate(datetime.date(2027, 1, 1))
828828
campaign.iterations[0].iteration_date = data[1]
829829

830830
campaign_data = {"CampaignConfig": campaign.model_dump(by_alias=True)}

0 commit comments

Comments
 (0)