From 1e2e203e0dcc21f6ff6085da86c45bb29955ae8e Mon Sep 17 00:00:00 2001 From: Erik Cederstrand Date: Wed, 8 Aug 2018 09:40:37 +0200 Subject: [PATCH] PyYAML works on 3.7 now. Install patched defusedxml for 3.8-dev --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9d75e4de..50bbccf1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,10 +16,12 @@ before_install: -in settings.yml.enc -out settings.yml -d install: -# Sometimes, only lxml master branch compiles with Python nightly +# Only lxml master branch compiles with Python nightly # - if [[ "$( python --version | grep 'a' )" ]] ; then pip install cython && pip install git+https://github.com/lxml/lxml.git ; fi # Only PyYAML master branch compiles with Python nightly -- if [[ "$( python --version | grep 'a' )" ]] ; then pip install git+https://github.com/yaml/pyyaml.git ; fi +# - if [[ "$( python --version | grep 'a' )" ]] ; then pip install git+https://github.com/yaml/pyyaml.git ; fi +# Fix for changed XMLParser signature on Python nightly +- if [[ "$( python --version | grep 'a' )" ]] ; then pip install git+https://github.com/ecederstrand/defusedxml.git@patch-2 ; fi - pip install . # Install test dependencies manually since we're calling tests/__init__.py directly in the 'script' section - pip install PyYAML requests_mock psutil