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

Update requirements.txt #386

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

dongrixinyu
Copy link

The lib markupsafe has deprecated the method soft_unicode since 2.1.0. So 2.0.1 version is recommended.

It will cause the error below:

    from .debug import traceback_response
  File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/quart/debug.py", line 6, in <module>
    from jinja2 import Template
  File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/jinja2/__init__.py", line 12, in <module>
    from .environment import Environment
  File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/jinja2/environment.py", line 25, in <module>
    from .defaults import BLOCK_END_STRING
  File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/jinja2/defaults.py", line 3, in <module>
    from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
  File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/jinja2/filters.py", line 13, in <module>
    from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/home/ubuntu/anaconda3/lib/python3.8/site-packages/markupsafe/__init__.py)

The lib `markupsafe`  has deprecated the method `soft_unicode` since `2.1.0`. So `2.0.1` version is recommended.
@dongrixinyu dongrixinyu requested a review from a team as a code owner February 17, 2023 08:15
@CLAassistant
Copy link

CLAassistant commented Feb 17, 2023

CLA assistant check
All committers have signed the CLA.

@dongrixinyu
Copy link
Author

I have signed the CLA. Thank you

@wj-Mcat
Copy link
Collaborator

wj-Mcat commented Mar 24, 2023

I have signed the CLA. Thank you

thansk for your improvement.

@wj-Mcat
Copy link
Collaborator

wj-Mcat commented Mar 24, 2023

There are some errors in ci, can you try to fix it. Thanks city you later commit.

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

Successfully merging this pull request may close these issues.

3 participants