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__}") 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/