Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use markupsafe==2.0.1 #105

Open
debedb opened this issue Oct 23, 2022 · 0 comments
Open

Use markupsafe==2.0.1 #105

debedb opened this issue Oct 23, 2022 · 0 comments

Comments

@debedb
Copy link

debedb commented Oct 23, 2022

$ data_lineage --catalog-user xxx --catalog-password yyy
Traceback (most recent call last):
  File "/opt/homebrew/bin/data_lineage", line 5, in <module>
    from data_lineage.__main__ import main
  File "/opt/homebrew/lib/python3.9/site-packages/data_lineage/__main__.py", line 7, in <module>
    from data_lineage.server import create_server
  File "/opt/homebrew/lib/python3.9/site-packages/data_lineage/server.py", line 5, in <module>
    import flask_restless
  File "/opt/homebrew/lib/python3.9/site-packages/flask_restless/__init__.py", line 22, in <module>
    from .manager import APIManager  # noqa
  File "/opt/homebrew/lib/python3.9/site-packages/flask_restless/manager.py", line 24, in <module>
    from flask import Blueprint
  File "/opt/homebrew/lib/python3.9/site-packages/flask/__init__.py", line 14, in <module>
    from jinja2 import escape
  File "/opt/homebrew/lib/python3.9/site-packages/jinja2/__init__.py", line 12, in <module>
    from .environment import Environment
  File "/opt/homebrew/lib/python3.9/site-packages/jinja2/environment.py", line 25, in <module>
    from .defaults import BLOCK_END_STRING
  File "/opt/homebrew/lib/python3.9/site-packages/jinja2/defaults.py", line 3, in <module>
    from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
  File "/opt/homebrew/lib/python3.9/site-packages/jinja2/filters.py", line 13, in <module>
    from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/opt/homebrew/lib/python3.9/site-packages/markupsafe/__init__.py)

Looks like that was removed in 2.1.0. You may want to specify markupsafe==2.0.1.

debedb pushed a commit to debedb/data-lineage that referenced this issue Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant