Merge pull request #3420 from fonttools/bump-lxml
don't restrict lxml<5, and run tests with latest 5.1.0
This commit is contained in:
commit
679a5c0c25
@ -7,7 +7,7 @@ from tempfile import NamedTemporaryFile
|
|||||||
|
|
||||||
|
|
||||||
SVG_DATA = """\
|
SVG_DATA = """\
|
||||||
<?xml version="1.0" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||||
@ -15,7 +15,9 @@ SVG_DATA = """\
|
|||||||
<path d="M 100 100 L 300 100 L 200 300 z"/>
|
<path d="M 100 100 L 300 100 L 200 300 z"/>
|
||||||
<path d="M100,200 C100,100 250,100 250,200 S400,300 400,200"/>
|
<path d="M100,200 C100,100 250,100 250,200 S400,300 400,200"/>
|
||||||
</svg>
|
</svg>
|
||||||
"""
|
""".encode(
|
||||||
|
"utf-8"
|
||||||
|
)
|
||||||
|
|
||||||
EXPECTED_PEN_COMMANDS = [
|
EXPECTED_PEN_COMMANDS = [
|
||||||
("moveTo", ((100.0, 100.0),)),
|
("moveTo", ((100.0, 100.0),)),
|
||||||
|
@ -16,5 +16,5 @@ pyobjc==10.1; sys_platform == "darwin"
|
|||||||
freetype-py==2.4.0
|
freetype-py==2.4.0
|
||||||
uharfbuzz==0.37.3
|
uharfbuzz==0.37.3
|
||||||
glyphsLib==6.6.0 # this is only required to run Tests/varLib/interpolatable_test.py
|
glyphsLib==6.6.0 # this is only required to run Tests/varLib/interpolatable_test.py
|
||||||
lxml==4.9.3
|
lxml==5.1.0
|
||||||
sympy==1.12
|
sympy==1.12
|
||||||
|
2
setup.py
2
setup.py
@ -97,7 +97,7 @@ extras_require = {
|
|||||||
# for fontTools.misc.etree and fontTools.misc.plistlib: use lxml to
|
# for fontTools.misc.etree and fontTools.misc.plistlib: use lxml to
|
||||||
# read/write XML files (faster/safer than built-in ElementTree)
|
# read/write XML files (faster/safer than built-in ElementTree)
|
||||||
"lxml": [
|
"lxml": [
|
||||||
"lxml >= 4.0, < 5",
|
"lxml >= 4.0",
|
||||||
],
|
],
|
||||||
# for fontTools.sfnt and fontTools.woff2: to compress/uncompress
|
# for fontTools.sfnt and fontTools.woff2: to compress/uncompress
|
||||||
# WOFF 1.0 and WOFF 2.0 webfonts.
|
# WOFF 1.0 and WOFF 2.0 webfonts.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user