diff --git a/pyproject.toml b/pyproject.toml index 7779c2150..e2405d1ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "viadot2" -version = "2.1.0" +version = "2.1.2" description = "A simple data ingestion library to guide data flows from some places to other places." authors = [ { name = "acivitillo", email = "acivitillo@dyvenia.com" }, diff --git a/src/viadot/utils.py b/src/viadot/utils.py index 957dc23fd..ee5526a28 100644 --- a/src/viadot/utils.py +++ b/src/viadot/utils.py @@ -11,7 +11,6 @@ import pandas as pd import pyodbc -import pytest import requests from requests.adapters import HTTPAdapter from requests.exceptions import ConnectionError, HTTPError, ReadTimeout, Timeout @@ -829,6 +828,8 @@ def skip_test_on_missing_extra(source_name: str, extra: str) -> None: source_name (str): The name of the source for which dependencies are missing. extra (str): The name of the extra that is missing. """ + import pytest + msg = f"Missing required extra '{extra}' for source '{source_name}'." pytest.skip( msg,