Skip to content

Commit 427de13

Browse files
authored
Keep support for Python 3.4 - pin PyYAML properly (#348)
Reverts 1937372, continuation of #346.
1 parent d0c5878 commit 427de13

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- name: Python 3.5
2626
python: "3.5"
2727
env: TOXENV=py35-cov
28+
- name: Python 3.4
29+
python: "3.4"
30+
env: TOXENV=py34-cov
2831

2932
install:
3033
- pip install tox

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44

55
install_requires = [
6-
'PyYAML>=3.11',
6+
'PyYAML<=5.2;python_version<"3.5"',
7+
'PyYAML>=3.11;python_version>="3.5"',
78
'ansicolor>=0.2.4',
89
'chardet>=2.3.0',
910
'setuptools>=36.2.2', # for enhanced marker support (used below).
@@ -59,6 +60,7 @@ def read_readme():
5960
'Topic :: Text Editors',
6061
'Programming Language :: Python',
6162
'Programming Language :: Python :: 2.7',
63+
'Programming Language :: Python :: 3.4',
6264
'Programming Language :: Python :: 3.5',
6365
'Programming Language :: Python :: 3.6',
6466
'Programming Language :: Python :: 3.7',

0 commit comments

Comments
 (0)