FS#48823 - [python-dateutil] 2.5.2 is broken, please revert

Attached to Project: Community Packages
Opened by Kovid Goyal (kovidgoyal) - Wednesday, 06 April 2016, 03:03 GMT
Last edited by Jelle van der Waa (jelly) - Wednesday, 06 April 2016, 19:30 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
python-dateutil 2.5.2 has a major regression, which causes it to fail to parse unambiguous dates correctly, when used with the day_first parameter: https://github.com/dateutil/dateutil/issues/233

This breaks lots of software.

Upstream suggests reverting to 2.5.1 -- or you could integrate the patch to fix the issue.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Wednesday, 06 April 2016, 19:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 2.5.2-2
Comment by Levente Polyak (anthraxx) - Wednesday, 06 April 2016, 12:41 GMT
Reverting to an outdated version does not sound appropriate when looking at the provided patch.
The patch looks super simple (one-liner) and also includes unittests to avoid possible regression.

https://github.com/dateutil/dateutil/pull/234/commits/604282fdf1b23534d3afa93b0230ea9ece79f65d
Comment by Jelle van der Waa (jelly) - Wednesday, 06 April 2016, 19:22 GMT
I'm going to patch it

Loading...