diff --git a/.appveyor.yml b/.appveyor.yml index e6f7bf48..9dab32f2 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,7 +1,8 @@ # appveyor.yml - https://www.appveyor.com/docs/lang/python -# https://www.appveyor.com/docs/windows-images-software/#visual-studio-2022 +# https://www.appveyor.com/docs/windows-images-software/#visual-studio-2017 --- -image: Visual Studio 2022 +image: Visual Studio 2017 + environment: matrix: - PY_PYTHON: 2.7 diff --git a/requirements-optional.txt b/requirements-optional.txt index 2e112e95..a6c1f90c 100644 --- a/requirements-optional.txt +++ b/requirements-optional.txt @@ -10,4 +10,5 @@ chardet>=2.2.1 # lxml is supported with its own treebuilder ("lxml") and otherwise # uses the standard ElementTree support -lxml>=3.4.0 ; platform_python_implementation == 'CPython' +lxml>=3.4.0, <5.0.0 ; python_version < '3.0' and platform_python_implementation == 'CPython' +lxml>=3.4.0 ; python_version >= '3.0' and platform_python_implementation == 'CPython' \ No newline at end of file