diff --git a/HISTORY.md b/HISTORY.md index 796d5564..b3d74001 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -5,7 +5,7 @@ **Implementations** - Add resources api - Update elasticsearch migration to use scroll -- fix version of protobuf as 3.17.3 to keep compatible with Python 2 +- fix version of dependencies to keep compatible with Python 2: protobuf<=3.17.3, dateparser<=0.7.6 ### 0.6.57 (2021-09-09) diff --git a/setup.py b/setup.py index 8f48b501..ed4db748 100755 --- a/setup.py +++ b/setup.py @@ -29,9 +29,9 @@ install_requires = [] if sys.version_info[:2] == (2, 6): - install_requires = [ 'protobuf <= 3.4.0', 'enum34', 'futures' ] + install_requires = ['protobuf <= 3.4.0', 'enum34', 'futures'] elif sys.version_info[0] == 2: - install_requires = ['protobuf <= 3.17.3', 'enum34', 'futures', 'dateparser'] + install_requires = ['protobuf <= 3.17.3', 'enum34', 'futures', 'dateparser <= 0.7.6'] elif sys.version_info[:2] == (3, 3): install_requires = ['protobuf>=3.4.0', 'enum34', 'dateparser'] elif sys.version_info[0] == 3: