Overview

Request 765162 accepted

- 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).


Ismail Dönmez's avatar

@scarabeus_iv

+Obsoletes:      python-dateutil < %{version}
+Provides:       python-dateutil = %{version}
[...]
-%ifpython3
-Obsoletes:      python3-dateutil < %{version}
Provides:       python3-dateutil = %{version}
-%endif

Looks like the new O/P should be for python3 as well?


Ismail Dönmez's avatar

Ok, clarified in an email.

Request History
Tomáš Chvátal's avatar

scarabeus_iv created request

- 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).


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Dominique Leuenberger's avatar

dimstar_suse set openSUSE:Factory:Staging:I as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:I"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:I"


Saul Goodman's avatar

licensedigger accepted review

ok


Ismail Dönmez's avatar

namtrac accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:I got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:I got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:I got accepted.

openSUSE Build Service is sponsored by