]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: avoid broken py.test 6.0.0 and dnspython 2.0.0 which causes linting errors
authorPetr Špaček <petr.spacek@nic.cz>
Mon, 3 Aug 2020 12:15:07 +0000 (14:15 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Mon, 3 Aug 2020 12:18:16 +0000 (14:18 +0200)
References:
- https://github.com/pytest-dev/pytest/pull/7565
- https://github.com/rthalley/dnspython/pull/561

ci/debian-buster/Dockerfile

index 8d54c31763ddf83cc33f5cfb8387dc31c13af769..1656ac56f871647bfdf794c211bc68300d04f961 100644 (file)
@@ -26,8 +26,8 @@ RUN pip3 install --upgrade pip
 RUN pip3 install pylint
 RUN pip3 install pep8
 RUN pip3 install pytest-xdist
-# tests/pytest dependencies
-RUN pip3 install dnspython jinja2 pytest pytest-html pytest-xdist
+# tests/pytest dependencies: skip over broken versions
+RUN pip3 install 'dnspython != 2.0.0' jinja2 'pytest != 6.0.0' pytest-html pytest-xdist
 
 # packet capture tools for Deckard
 RUN apt-get install --no-install-suggests --no-install-recommends -y -qqq tcpdump wireshark-common