From bf3b7a2ef692b0cc3665650fbb20072fd2870c79 Mon Sep 17 00:00:00 2001 From: Abhinav Kaushlya Date: Tue, 30 Jul 2019 08:42:09 +0530 Subject: [PATCH] Update lxml version to support Python 3.4 lxml 4.4.0 dropped support for Python 3.4. Hence, the version is capped below 4.4.0. Closes https://github.com/coala/coala-bears/issues/2940 --- bear-metadata.yaml | 2 +- bear-requirements.yaml | 2 +- bears/apertium/ApertiumLintBear.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bear-metadata.yaml b/bear-metadata.yaml index 42329f3abe..8fcbad3be2 100644 --- a/bear-metadata.yaml +++ b/bear-metadata.yaml @@ -36,7 +36,7 @@ bear_metadata: apertium-lint: version: ~=0.29 lxml: - version: '>=1.0' + version: '>=1.0,<4.4.0' languages: - Apertium tags: diff --git a/bear-requirements.yaml b/bear-requirements.yaml index 997400c48a..d45b2bfceb 100644 --- a/bear-requirements.yaml +++ b/bear-requirements.yaml @@ -41,7 +41,7 @@ pip_requirements: libclang-py3: version: ~=3.4.0 lxml: - version: '>=1.0' + version: '>=1.0,<4.4.0' memento-client: version: ~=0.6.1 munkres: diff --git a/bears/apertium/ApertiumLintBear.py b/bears/apertium/ApertiumLintBear.py index 641e02e701..50c86284f1 100644 --- a/bears/apertium/ApertiumLintBear.py +++ b/bears/apertium/ApertiumLintBear.py @@ -26,7 +26,7 @@ class ApertiumLintBear: """ LANGUAGES = {'Apertium'} REQUIREMENTS = {PipRequirement('apertium-lint', '0.29'), - PipRequirement('lxml', '>=1.0')} + PipRequirement('lxml', '>=1.0,<4.4.0')} AUTHORS = {'The coala developers'} AUTHORS_EMAILS = {'coala-devel@googlegroups.com'} LICENSE = 'AGPL-3.0'