mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-03 06:03:26 +00:00
fix(ingest): fix build breakage due to traitlets 5.2.2 bug (#5051)
This commit is contained in:
parent
08a5fcfd01
commit
83d9f7d6e6
@ -531,8 +531,9 @@ def generate(
|
||||
get_additional_deps_for_extra(extra_plugin) if extra_plugin else []
|
||||
)
|
||||
except Exception as e:
|
||||
print(f"Failed to process {plugin_name} due to {e}")
|
||||
metrics["plugins"]["failed"] = metrics["plugins"]["failed"] + 1
|
||||
print(f"Failed to process {plugin_name} due to exception")
|
||||
print(repr(e))
|
||||
metrics["plugins"]["failed"] = metrics["plugins"].get("failed", 0) + 1
|
||||
|
||||
if source_type and hasattr(source_type, "get_config_class"):
|
||||
try:
|
||||
|
||||
@ -91,6 +91,9 @@ sql_common = {
|
||||
"great-expectations>=0.14.11,<0.15.3",
|
||||
# datahub does not depend on Jinja2 directly but great expectations does. With Jinja2 3.1.0 GE 0.14.11 is breaking
|
||||
"Jinja2<3.1.0",
|
||||
# datahub does not depend on traitlets directly but great expectations does.
|
||||
# https://github.com/ipython/traitlets/issues/741
|
||||
"traitlets<5.2.2",
|
||||
"greenlet",
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user