Skip to content

Commit

Permalink
more packages need to be explicitly installed on appveoyr builds
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
  • Loading branch information
hoefling committed Apr 19, 2019
1 parent c6b7751 commit 7f11858
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,17 @@ install:
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
# Python 3.4 has setuptools==18.2 by default that is unable to install pipenv
# flake8 needs typing backport for python<3.5
- 'if "%PYTHON_VERSION%" == "3.4.x" (
pip install --upgrade setuptools
pip install --upgrade setuptools typing
)'
- "pip install wheel pipenv"
- "pipenv install --dev"

# TODO: for some reason, PEP 508 env markers are not installed completely
# colorama is required by pytest on windows
- "pipenv run pip install colorama"
# pathlib2 is required for python older than 3.6
# pathlib2 is required for python<3.6
- "set pre36=false"
- 'if "%PYTHON_VERSION%" == "2.7.x" set pre36=true'
- 'if "%PYTHON_VERSION%" == "3.4.x" set pre36=true'
Expand All @@ -67,12 +68,11 @@ install:
)'

# running pytest==3.5 fails on Python 2.7 because of missing funcsigs and mock
# running flake8 fails on Python 2.7 because of missing configparser and enum34
# running flake8 fails on Python 2.7 because of missing configparser, enum34 and functools32
- 'if "%PYTHON_VERSION%" == "2.7.x" (
pipenv run pip install funcsigs mock configparser enum34
pipenv run pip install funcsigs mock configparser enum34 functools32 typing "more-itertools<6.0.0,>=4.0.0"
)'
# end TODO

- "pipenv run pip list"
- "pipenv check"

Expand Down

0 comments on commit 7f11858

Please sign in to comment.