Skip to content

Commit

Permalink
Python 3.4 requires PyYAML<=5.2
Browse files Browse the repository at this point in the history
This works around a problem with the PyYAML distribution where PyPI
doesn't recognize the PyYAML 'python_requires' directive from setup.py.
  • Loading branch information
jsiirola committed Jan 17, 2020
1 parent d37679f commit 8485b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ matrix:
#- python: '2.7'
# env: PYRO="Pyro" JYTHON="org.python:jython-installer:2.7.0"
- python: '3.4'
env: PYRO="Pyro4" YAML="pyyaml"
env: PYRO="Pyro4" YAML="pyyaml<=5.2"
- python: '3.5'
env: PYRO="Pyro4" YAML="pyyaml"
- python: '3.6'
Expand All @@ -23,7 +23,7 @@ matrix:
env: PYRO="Pyro4" YAML="pyyaml"
install:
- if [ -n "${JYTHON}" ]; then source install_jython.sh; fi
- if [ -n "${YAML}" ]; then pip install pyyaml; fi
- if [ -n "${YAML}" ]; then pip install "${YAML}"; fi
- pip install xlrd
- pip install $PYRO
- pip install coverage
Expand Down

0 comments on commit 8485b2f

Please sign in to comment.