Skip to content

Commit 4bbfc00

Browse files
authored
Fix dateparser py2 (#197)
* fix version of dateparser as 0.7.6 * Update HISTORY.md
1 parent 1716ecb commit 4bbfc00

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

HISTORY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
**Implementations**
66
- Add resources api
77
- Update elasticsearch migration to use scroll
8-
- fix version of protobuf as 3.17.3 to keep compatible with Python 2
8+
- fix version of dependencies to keep compatible with Python 2: protobuf<=3.17.3, dateparser<=0.7.6
99

1010

1111
### 0.6.57 (2021-09-09)

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
install_requires = []
3030

3131
if sys.version_info[:2] == (2, 6):
32-
install_requires = [ 'protobuf <= 3.4.0', 'enum34', 'futures' ]
32+
install_requires = ['protobuf <= 3.4.0', 'enum34', 'futures']
3333
elif sys.version_info[0] == 2:
34-
install_requires = ['protobuf <= 3.17.3', 'enum34', 'futures', 'dateparser']
34+
install_requires = ['protobuf <= 3.17.3', 'enum34', 'futures', 'dateparser <= 0.7.6']
3535
elif sys.version_info[:2] == (3, 3):
3636
install_requires = ['protobuf>=3.4.0', 'enum34', 'dateparser']
3737
elif sys.version_info[0] == 3:

0 commit comments

Comments
 (0)