From cea40f29c7288adeddabbd1aa6eb6ba5940c9856 Mon Sep 17 00:00:00 2001 From: Hendrik Schreiber Date: Wed, 18 Nov 2020 20:34:43 +0100 Subject: [PATCH 1/3] CI for Python 3.4 fails, because the current version of pyyaml (5.3.x) does not support Python 3.4 anymore. The change fixes the pyyaml version to 5.2 for Python 3.4. --- .travis_dependencies.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis_dependencies.sh b/.travis_dependencies.sh index fec57d66..30b726b4 100644 --- a/.travis_dependencies.sh +++ b/.travis_dependencies.sh @@ -30,6 +30,8 @@ if [ ! -d "$src" ]; then export PATH="$src/bin:$PATH" conda_create source activate $ENV_NAME + # later versions than 5.2 do not support python 3.4 anymore + pip install PyYAML==5.2; python_version==3.4 pip install python-coveralls source deactivate popd From f8150f04c18e3fbdb144a7a5fcc90b1506fd3c38 Mon Sep 17 00:00:00 2001 From: Hendrik Schreiber Date: Wed, 18 Nov 2020 21:40:35 +0100 Subject: [PATCH 2/3] Set pyrsistent<0.15: python_version=="3.4"' to please python 3.4. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index dc4e0540..bec238a3 100644 --- a/setup.py +++ b/setup.py @@ -34,6 +34,7 @@ install_requires=[ 'pandas', 'sortedcontainers>=2.0.0', + 'pyrsistent<0.15: python_version=="3.4"', 'jsonschema>=3.0.0', 'numpy>=1.8.0', 'six', From d77314df7e86e201e1dbe0365b4b3cc0c7ea7cd4 Mon Sep 17 00:00:00 2001 From: Hendrik Schreiber Date: Wed, 18 Nov 2020 22:43:36 +0100 Subject: [PATCH 3/3] Fixed install_requires typo. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bec238a3..489e1a97 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ install_requires=[ 'pandas', 'sortedcontainers>=2.0.0', - 'pyrsistent<0.15: python_version=="3.4"', + 'pyrsistent<0.15; python_version=="3.4"', 'jsonschema>=3.0.0', 'numpy>=1.8.0', 'six',