Skip to content

Commit 0813a33

Browse files
committed
COMPAT: dateutil=2.2 compat
closes #12338 Author: Jeff Reback <[email protected]> Closes #12339 from jreback/dateutil and squashes the following commits: d61653f [Jeff Reback] COMPAT: dateutil=2.2 compat
1 parent 288059a commit 0813a33

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

ci/requirements-3.4.build

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
python-dateutil
2-
pytz
31
numpy=1.8.1
42
cython
53
libgfortran

ci/requirements-3.4.pip

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
python-dateutil==2.2
12
blosc
23
httplib2
34
google-api-python-client

ci/requirements-3.4.run

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
python-dateutil
21
pytz
32
numpy=1.8.1
43
openpyxl

pandas/core/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1681,7 +1681,7 @@ def _possibly_cast_to_datetime(value, dtype, errors='raise'):
16811681
errors=errors).tz_localize(dtype.tz)
16821682
elif is_timedelta64:
16831683
value = to_timedelta(value, errors=errors)._values
1684-
except (AttributeError, ValueError):
1684+
except (AttributeError, ValueError, TypeError):
16851685
pass
16861686

16871687
# coerce datetimelike to object

0 commit comments

Comments
 (0)