Fix etree deprecation

This commit is contained in:
giginet 2022-07-18 13:49:44 +09:00
parent 126e6b7443
commit e9f37ab201
2 changed files with 3 additions and 2 deletions

View file

@ -17,8 +17,9 @@ import re
import markdown
import six
from sqlalchemy.orm.session import object_session
from markdown.util import etree, AtomicString
from markdown.util import AtomicString
import xml.etree.ElementTree as etree
@six.python_2_unicode_compatible
class MarkdownString(object):

View file

@ -11,7 +11,7 @@ setup(
install_requires=[
'SQLAlchemy>=1.0,<1.4',
'whoosh>=2.5,<2.7',
'markdown>=2.4.1,<=2.6.11',
'markdown>=3.4,<3.5',
'construct==2.5.3',
'six>=1.9.0',
],