diff --git a/app/app.py b/app/app.py index 21b9adab92..671ce44258 100644 --- a/app/app.py +++ b/app/app.py @@ -674,7 +674,9 @@ async def logging_middleware( ) raise HTTPException(status_code=400, detail="No client information") - ip_address = request.client.host + ip_address = str( + request.client.host, + ) # host can be an Object of type IPv4Address or IPv6Address and would be refused by redis port = request.client.port client_address = f"{ip_address}:{port}" diff --git a/pyproject.toml b/pyproject.toml index 8d4080c544..a0beb7bba8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = [{ name = "AEECL ECLAIR" }] # Hyperion follows Semantic Versioning # https://semver.org/ -version = "5.2.2" +version = "5.2.3" minimal-titan-version-code = 179 requires-python = ">= 3.11, < 3.13"