diff --git a/poetry.lock b/poetry.lock index 61a9e4c..b22ce53 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1209,13 +1209,13 @@ files = [ [[package]] name = "singer-sdk" -version = "0.30.0" +version = "0.31.0" description = "A framework for building Singer taps" optional = false python-versions = ">=3.7.1,<3.12" files = [ - {file = "singer_sdk-0.30.0-py3-none-any.whl", hash = "sha256:ca8e002ab6fce56c4e6f3312655c7b68896d1d07f88a9efeb373e74c58ceb9b8"}, - {file = "singer_sdk-0.30.0.tar.gz", hash = "sha256:73300d1c1bcb048b49a7f28c71ae26c9d309fdf3375e65940747b05c8a6551b5"}, + {file = "singer_sdk-0.31.0-py3-none-any.whl", hash = "sha256:aa9329bd7e26f9e2bd59332468e064dd38f6df2dd6b7445e047d8008acd0dd65"}, + {file = "singer_sdk-0.31.0.tar.gz", hash = "sha256:de8fdf00967dc13b4073dddad499799df2a1273806406b765ba55b671ea18b8a"}, ] [package.dependencies] @@ -1240,7 +1240,7 @@ pytz = ">=2022.2.1,<2024.0.0" PyYAML = ">=6.0,<7.0" requests = ">=2.25.1,<3.0.0" simplejson = ">=3.17.6,<4.0.0" -sqlalchemy = ">=1.4,<2.0" +sqlalchemy = ">=1.4,<3.0" typing-extensions = ">=4.2.0,<5.0.0" urllib3 = ">=1.26,<2" @@ -1582,4 +1582,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "2.0" python-versions = ">=3.7.1,<3.12" -content-hash = "b42530c0b8818979de69c5c5a92e9d1a2dba02510721385207302fd4713425c5" +content-hash = "7b1e6fca059b8b927b932ebf8caee33f23e8cb084e92e88e5b0587fbd8a2853f" diff --git a/pyproject.toml b/pyproject.toml index 8da2e5f..1e4b394 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ packages = [ [tool.poetry.dependencies] python = ">=3.7.1,<3.12" requests = "^2.25.1" -singer-sdk = "~=0.30.0" +singer-sdk = "~=0.31.0" snowflake-sqlalchemy = "^1.4.7" snowflake-connector-python = "^3.0.2" sqlalchemy = "<2" diff --git a/tap_snowflake/client.py b/tap_snowflake/client.py index 3f693a3..e61ba34 100644 --- a/tap_snowflake/client.py +++ b/tap_snowflake/client.py @@ -99,6 +99,10 @@ def create_engine(self) -> sqlalchemy.engine.Engine: self.sqlalchemy_url, echo=False, pool_timeout=10, + # TODO: Enable these when `snowflake-sqlalchemy` supports it. + # https://github.com/snowflakedb/snowflake-sqlalchemy/issues/433 + # json_serializer=self.serialize_json, + # json_deserializer=self.deserialize_json, ) # overridden to filter out the information_schema from catalog discovery