From e03ed1dc180b18e4eea74036a99dd7a535cd8c7d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 20:08:41 +0000 Subject: [PATCH 1/2] Add timeout=1 to PyPI version check request in __init__.py Agent-Logs-Url: https://github.com/aperture-data/aperturedb-python/sessions/72b99c1c-eba8-4cea-9600-1c2361b929a0 Co-authored-by: luisremis <9687635+luisremis@users.noreply.github.com> --- aperturedb/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aperturedb/__init__.py b/aperturedb/__init__.py index 3babebc7..4c9f9fb1 100644 --- a/aperturedb/__init__.py +++ b/aperturedb/__init__.py @@ -83,7 +83,7 @@ def emit(self, record): try: latest_version = json.loads(requests.get( - "https://pypi.org/pypi/aperturedb/json").text)["info"]["version"] + "https://pypi.org/pypi/aperturedb/json", timeout=1).text)["info"]["version"] except Exception as e: logger.warning( f"Failed to get latest version: {e}. You are using version {__version__}") From 1880eb80de179f18ad7495cc576b6fe1d879fc38 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 20:18:08 +0000 Subject: [PATCH 2/2] Add *_ca/ to test/.dockerignore to fix CI permission error on ca.key Agent-Logs-Url: https://github.com/aperture-data/aperturedb-python/sessions/8379f72b-f1d0-439e-a6b2-6ddcf6f4309f Co-authored-by: luisremis <9687635+luisremis@users.noreply.github.com> --- test/.dockerignore | 1 + 1 file changed, 1 insertion(+) diff --git a/test/.dockerignore b/test/.dockerignore index eb99c596..1bf3c10d 100644 --- a/test/.dockerignore +++ b/test/.dockerignore @@ -4,3 +4,4 @@ notebooks/ kaggleds/ __pycache__/ .pytest_cache/ +*_ca/