[MAINTENANCE] Pin snowflake-sqlalchemy
due to 1.5.2
runtime bug
#9744
Build #20240412.18 had test failures
Details
- Failed: 4 (0.32%)
- Passed: 1,264 (99.68%)
- Other: 0 (0.00%)
- Total: 1,268
Annotations
Check failure on line 42 in Build log
azure-pipelines / sqlalchemy_compatibility
Build log #L42
1 test(s) failed, 317 test(s) collected.
Check failure on line 42 in Build log
azure-pipelines / sqlalchemy_compatibility
Build log #L42
1 test(s) failed, 317 test(s) collected.
Check failure on line 42 in Build log
azure-pipelines / sqlalchemy_compatibility
Build log #L42
1 test(s) failed, 317 test(s) collected.
Check failure on line 42 in Build log
azure-pipelines / sqlalchemy_compatibility
Build log #L42
1 test(s) failed, 317 test(s) collected.
azure-pipelines / sqlalchemy_compatibility
tests/execution_engine/test_sqlalchemy_execution_engine.py::test_instantiation_via_fluent_data_source__trino_add_sql[test_backends0]
sa = <module 'sqlalchemy' from '/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/__init__.py'>
empty_data_context = {
"anonymous_usage_statistics": {
"data_context_id": "8b78ee50-65bd-478d-9c9d-7ab29d3ab720",
"explicit_url":... "base_directory": "validation_definitions/"
}
}
},
"validations_store_name": "validations_store"
}
@pytest.mark.trino
def test_instantiation_via_fluent_data_source__trino_add_sql(sa, empty_data_context):
context = empty_data_context
CONNECTION_STRING = "trino://test@localhost:8088/memory/schema"
# This utility is not for general use. It is only to support testing.
> load_data_into_test_database(
table_name="taxi_data",
csv_path=file_relative_path(
__file__,
"../test_sets/taxi_yellow_tripdata_samples/yellow_tripdata_sample_2019-01.csv",
),
connection_string=CONNECTION_STRING,
convert_colnames_to_datetime=["pickup_datetime"],
)
tests/execution_engine/test_sqlalchemy_execution_engine.py:183:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_utils.py:637: in load_data_into_test_database
engine = sa.create_engine(connection_string)
<string>:2: in create_engine
???
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/util/deprecations.py:375: in warned
return fn(*args, **kwargs)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/engine/create.py:518: in create_engine
entrypoint = u._get_entrypoint()
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/engine/url.py:662: in _get_entrypoint
cls = registry.load(name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <sqlalchemy.util.langhelpers.PluginLoader object at 0x7f3496ad3bb0>
name = 'trino'
def load(self, name):
if name in self.impls:
return self.impls[name]()
if self.auto_fn:
loader = self.auto_fn(name)
if loader:
self.impls[name] = loader
return loader()
for impl in compat.importlib_metadata_get(self.group):
if impl.name == name:
self.impls[name] = impl.load
return impl.load()
> raise exc.NoSuchModuleError(
"Can't load plugin: %s:%s" % (self.group, name)
)
E sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:trino
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py:343: NoSuchModuleError
Raw output
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py:343: sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:trino
azure-pipelines / sqlalchemy_compatibility
tests/execution_engine/test_sqlalchemy_execution_engine.py::test_instantiation_via_fluent_data_source__trino_add_sql[test_backends0]
sa = <module 'sqlalchemy' from '/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/__init__.py'>
empty_data_context = {
"anonymous_usage_statistics": {
"usage_statistics_url": "https://stats.greatexpectations.io/great_expectations... "base_directory": "validation_definitions/"
}
}
},
"validations_store_name": "validations_store"
}
@pytest.mark.trino
def test_instantiation_via_fluent_data_source__trino_add_sql(sa, empty_data_context):
context = empty_data_context
CONNECTION_STRING = "trino://test@localhost:8088/memory/schema"
# This utility is not for general use. It is only to support testing.
> load_data_into_test_database(
table_name="taxi_data",
csv_path=file_relative_path(
__file__,
"../test_sets/taxi_yellow_tripdata_samples/yellow_tripdata_sample_2019-01.csv",
),
connection_string=CONNECTION_STRING,
convert_colnames_to_datetime=["pickup_datetime"],
)
tests/execution_engine/test_sqlalchemy_execution_engine.py:183:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_utils.py:637: in load_data_into_test_database
engine = sa.create_engine(connection_string)
<string>:2: in create_engine
???
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/util/deprecations.py:281: in warned
return fn(*args, **kwargs) # type: ignore[no-any-return]
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/engine/create.py:550: in create_engine
entrypoint = u._get_entrypoint()
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/engine/url.py:758: in _get_entrypoint
cls = registry.load(name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <sqlalchemy.util.langhelpers.PluginLoader object at 0x7f774c539910>
name = 'trino'
def load(self, name: str) -> Any:
if name in self.impls:
return self.impls[name]()
if self.auto_fn:
loader = self.auto_fn(name)
if loader:
self.impls[name] = loader
return loader()
for impl in compat.importlib_metadata_get(self.group):
if impl.name == name:
self.impls[name] = impl.load
return impl.load()
> raise exc.NoSuchModuleError(
"Can't load plugin: %s:%s" % (self.group, name)
)
E sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:trino
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py:375: NoSuchModuleError
Raw output
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py:375: sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:trino
azure-pipelines / sqlalchemy_compatibility
tests/execution_engine/test_sqlalchemy_execution_engine.py::test_instantiation_via_fluent_data_source__trino_add_sql[test_backends0]
sa = <module 'sqlalchemy' from '/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/__init__.py'>
empty_data_context = {
"anonymous_usage_statistics": {
"explicit_url": false,
"enabled": false,
"explicit_id": true,
"dat... "base_directory": "validation_definitions/"
}
}
},
"validations_store_name": "validations_store"
}
@pytest.mark.trino
def test_instantiation_via_fluent_data_source__trino_add_sql(sa, empty_data_context):
context = empty_data_context
CONNECTION_STRING = "trino://test@localhost:8088/memory/schema"
# This utility is not for general use. It is only to support testing.
> load_data_into_test_database(
table_name="taxi_data",
csv_path=file_relative_path(
__file__,
"../test_sets/taxi_yellow_tripdata_samples/yellow_tripdata_sample_2019-01.csv",
),
connection_string=CONNECTION_STRING,
convert_colnames_to_datetime=["pickup_datetime"],
)
tests/execution_engine/test_sqlalchemy_execution_engine.py:183:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_utils.py:637: in load_data_into_test_database
engine = sa.create_engine(connection_string)
<string>:2: in create_engine
???
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/util/deprecations.py:375: in warned
return fn(*args, **kwargs)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/engine/create.py:518: in create_engine
entrypoint = u._get_entrypoint()
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/engine/url.py:662: in _get_entrypoint
cls = registry.load(name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <sqlalchemy.util.langhelpers.PluginLoader object at 0x7f2ee72d3bb0>
name = 'trino'
def load(self, name):
if name in self.impls:
return self.impls[name]()
if self.auto_fn:
loader = self.auto_fn(name)
if loader:
self.impls[name] = loader
return loader()
for impl in compat.importlib_metadata_get(self.group):
if impl.name == name:
self.impls[name] = impl.load
return impl.load()
> raise exc.NoSuchModuleError(
"Can't load plugin: %s:%s" % (self.group, name)
)
E sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:trino
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py:343: NoSuchModuleError
Raw output
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py:343: sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:trino
azure-pipelines / sqlalchemy_compatibility
tests/execution_engine/test_sqlalchemy_execution_engine.py::test_instantiation_via_fluent_data_source__trino_add_sql[test_backends0]
sa = <module 'sqlalchemy' from '/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/__init__.py'>
empty_data_context = {
"anonymous_usage_statistics": {
"data_context_id": "0da60090-3e08-4a2d-86f8-267b42132e99",
"explicit_id": ... "base_directory": "validation_definitions/"
}
}
},
"validations_store_name": "validations_store"
}
@pytest.mark.trino
def test_instantiation_via_fluent_data_source__trino_add_sql(sa, empty_data_context):
context = empty_data_context
CONNECTION_STRING = "trino://test@localhost:8088/memory/schema"
# This utility is not for general use. It is only to support testing.
> load_data_into_test_database(
table_name="taxi_data",
csv_path=file_relative_path(
__file__,
"../test_sets/taxi_yellow_tripdata_samples/yellow_tripdata_sample_2019-01.csv",
),
connection_string=CONNECTION_STRING,
convert_colnames_to_datetime=["pickup_datetime"],
)
tests/execution_engine/test_sqlalchemy_execution_engine.py:183:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_utils.py:637: in load_data_into_test_database
engine = sa.create_engine(connection_string)
<string>:2: in create_engine
???
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/util/deprecations.py:281: in warned
return fn(*args, **kwargs) # type: ignore[no-any-return]
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/engine/create.py:550: in create_engine
entrypoint = u._get_entrypoint()
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/engine/url.py:758: in _get_entrypoint
cls = registry.load(name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <sqlalchemy.util.langhelpers.PluginLoader object at 0x7f7bfe87c8e0>
name = 'trino'
def load(self, name: str) -> Any:
if name in self.impls:
return self.impls[name]()
if self.auto_fn:
loader = self.auto_fn(name)
if loader:
self.impls[name] = loader
return loader()
for impl in compat.importlib_metadata_get(self.group):
if impl.name == name:
self.impls[name] = impl.load
return impl.load()
> raise exc.NoSuchModuleError(
"Can't load plugin: %s:%s" % (self.group, name)
)
E sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:trino
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py:375: NoSuchModuleError
Raw output
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py:375: sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:trino