diff --git a/pyproject.toml b/pyproject.toml index 8415329..9c8d7f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,11 +49,11 @@ classifiers = [ ] dependencies = [ - "boto3>=1.35.0,<2.0.0", + "boto3>=1.40.0,<2.0.0", "click>=8.1.0,<9.0.0", - "cryptography>=42.0.0,<45.0.0", + "cryptography>=44.0.0,<46.0.0", "python-dateutil>=2.9.0,<3.0.0", - "requests>=2.32.0,<3.0.0", + "requests>=2.32.4,<3.0.0", ] [project.urls] diff --git a/src/deltaglider/client_operations/stats.py b/src/deltaglider/client_operations/stats.py index bf4c28c..74e9de5 100644 --- a/src/deltaglider/client_operations/stats.py +++ b/src/deltaglider/client_operations/stats.py @@ -40,7 +40,7 @@ def _first_metadata_value(metadata: dict[str, Any], *keys: str) -> str | None: """Return the first non-empty metadata value matching the provided keys.""" for key in keys: value = metadata.get(key) - if value not in (None, ""): + if isinstance(value, str) and value: return value return None