Browse Source

travis pipeline: downgrade pipenv to restore compatibility with python3.4

Fabian Peter Hammerle 3 years ago
parent
commit
3904b3fd5b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .travis.yml

+ 3 - 1
.travis.yml

@@ -14,7 +14,9 @@ python:
 dist: xenial
 
 install:
-- pip install --upgrade pipenv>=2018.10.9
+# pipenv v2020.4.1a2 / v2020.5.28 removed support for python3.4 (in vendored pkg_resources)
+# https://github.com/pypa/pipenv/commit/3f9f359c0e563d30a60f0d1e4633eea9f964b610#diff-eec907d96e76285f711fb3cb5ab5469dR92
+- pip install --upgrade 'pipenv>=2018.10.9,<v2020.5.28'
 - pipenv sync --dev
 - if python3 -c 'import sys; sys.exit(sys.version_info < (3, 8))'; then
   pipenv install 'astroid>=2.3.0';