From edcc84a914d4cdd848ea7ad6b6d1278dc2e97aff Mon Sep 17 00:00:00 2001 From: JunghwanNA <70629228+shaun0927@users.noreply.github.com> Date: Fri, 17 Apr 2026 13:08:15 +0900 Subject: [PATCH] Fix XDG_CACHE_HOME typo in boto_utils --- src/chronos/boto_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chronos/boto_utils.py b/src/chronos/boto_utils.py index 3e20e97..d339333 100644 --- a/src/chronos/boto_utils.py +++ b/src/chronos/boto_utils.py @@ -101,7 +101,7 @@ def cache_model_from_s3( boto3_session: boto3.Session | None = None, ): assert re.match("^s3://([^/]+)/(.*?([^/]+)/?)$", s3_uri) is not None, f"Not a valid S3 URI: {s3_uri}" - cache_home = Path(os.environ.get("XGD_CACHE_HOME", os.path.expanduser("~/.cache"))) + cache_home = Path(os.environ.get("XDG_CACHE_HOME", os.path.expanduser("~/.cache"))) cache_dir = cache_home / "chronos" s3_uri = s3_uri.rstrip("/") bucket, prefix = s3_uri.replace("s3://", "").split("/", 1)