Skip to content

Commit acbc40c

Browse files
authored
Don't install lxml on Windows on Python 3.11 (#14170)
Windows wheels for Python 3.11 are not included in the release, and `cibuildwheels` cannot build them, this causes mypy wheel build failure on Windows for Python 3.11, see e.g. https://github.com/mypyc/mypy_mypyc-wheels/actions/runs/3527396237/jobs/5916408981 We need to do this until lxml/lxml#360 is released (hopefully in next few weeks). cc @hauntsaninja @JukkaL
1 parent f656efc commit acbc40c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ flake8==5.0.4 # must match version in .pre-commit-config.yaml
77
flake8-bugbear==22.9.23 # must match version in .pre-commit-config.yaml
88
flake8-noqa==1.2.9 # must match version in .pre-commit-config.yaml
99
isort[colors]==5.10.1 # must match version in .pre-commit-config.yaml
10-
lxml>=4.9.1
10+
lxml>=4.9.1; python_version<'3.11' or sys_platform!='win32'
1111
psutil>=4.0
1212
# pytest 6.2.3 does not support Python 3.10
1313
pytest>=6.2.4

0 commit comments

Comments
 (0)