Skip to content

Commit aa57834

Browse files
authored
Update pyparsing requirement from ~=2.0 to >=2,<4 (#296)
Do so only for Python 3 since pyparsing 3 dropped support for Python 2 Replaces #276
1 parent be660de commit aa57834

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ def run_tests(self):
5252
packages=[
5353
'pyhocon',
5454
],
55-
install_requires=['pyparsing~=2.0'],
55+
install_requires=[
56+
'pyparsing~=2.0;python_version<"3.0"',
57+
'pyparsing>=2,<4;python_version>="3.0"',
58+
],
5659
extras_require={
5760
'Duration': ['python-dateutil>=2.8.0']
5861
},

0 commit comments

Comments
 (0)