Skip to content

Commit

Permalink
Update pyparsing requirement from ~=2.0 to >=2,<4 (#296)
Browse files Browse the repository at this point in the history
Do so only for Python 3 since pyparsing 3 dropped support for Python 2

Replaces #276
  • Loading branch information
ecederstrand authored and darthbear committed Feb 12, 2023
1 parent 7bf5bb2 commit 0990b56
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ def run_tests(self):
packages=[
'pyhocon',
],
install_requires=['pyparsing~=2.0'],
install_requires=[
'pyparsing~=2.0;python_version<"3.0"',
'pyparsing>=2,<4;python_version>="3.0"',
],
extras_require={
'Duration': ['python-dateutil>=2.8.0']
},
Expand Down

0 comments on commit 0990b56

Please sign in to comment.