6c4eeedf41- Add remove-six.patch to remove dependency on six module (gh#dateutil/dateutil!1403).Matej Cepl2024-12-17 23:43:45 +00:00
b17c00c3d1Accepting request 1157042 from devel:languages:pythonAna Guerrero2024-03-13 21:16:35 +00:00
cc3b445351Accepting request 1156451 from home:bnavigator:branches:devel:languages:pythonMatej Cepl2024-03-11 21:34:09 +00:00
d86ab7f938Accepting request 1111822 from devel:languages:pythonAna Guerrero2023-09-22 19:46:42 +00:00
99034ec70a- Add patch no-utcfromtimestamp.patch, stop using a deprecated function. - Switch to pyproject and autosetup macros. - Stop using greedy globs in %files.Steve Kowalik2023-09-18 04:40:05 +00:00
147a78a24b- update to 2.8.2: - Updated tzdata version to 2021a. (gh pr #1128) - Fixed a bug in the parser where non-`ValueError exceptions would be raised during exception handling; this would happen, for example, if an IllegalMonthError was raised in dateutil code. Fixed by Mark Bailey. (gh issue #981, pr #987). - Fixed the custom repr for dateutil.parser.ParserError, which was not defined due to an indentation error. (gh issue #991, gh pr #993) - Fixed a bug that caused b' prefixes to appear in parse_isodate exception messages. Reported and fixed by Paul Brown (@pawl) (gh pr #1122) - Make isoparse raise when trying to parse times with inconsistent use of : separator. Reported and fixed by @mariocj89 (gh pr #1125). - Fixed tz.gettz() not returning local time when passed an empty string. Reported by @labrys (gh issues #925, #926). Fixed by @ffe4 (gh pr #1024) * Documentation changes * Simplified handling of bytes and bytearray in _parser._timelex`.Dirk Mueller2021-07-26 21:42:45 +00:00
40953a8f6c- Update to 2.8.1: * Updated tzdata version to 2019c. * Fixed a race condition in the tzoffset and tzstr "strong" caches on Python 2.7. Reported by @kainjow (gh issue #901). * Parsing errors will now raise ParserError, a subclass of ValueError, which has a nicer string representation. Patch by @gfyoung (gh pr #881). * parser.parse will now raise TypeError when tzinfos is passed a type that cannot be interpreted as a time zone. Prior to this change, it would raise an UnboundLocalError instead. Patch by @jbrockmendel (gh pr #891). * Changed error message raised when when passing a bytes object as the time zone name to gettz in Python 3. Reported and fixed by @labrys () (gh issue #927, gh pr #935). * Changed compatibility logic to support a potential Python 4.0 release. Patch by Hugo van Kemenade (gh pr #950). * Updated many modules to use tz.UTC in favor of tz.tzutc() internally, to avoid an unnecessary function call. (gh pr #910). * Fixed issue where dateutil.tz was using a backported version of contextlib.nullcontext even in Python 3.7 due to a malformed import statement. (gh pr #963).
Tomáš Chvátal
2020-01-16 08:50:31 +00:00