python3-tzlocal: upgrade 4.3 -> 5.0.1

Changelog:
===========
- The logging info under windows made it look like it looked up the registry
  info even when you had a TZ environment, but it doesn't actually do that.
- Improved the handling of loggers.
- Fixed a bug in the new assert_tz_offset method.
- Change how the system offset is calculated to deal with non-DST
  temporary changes, such as Ramadan time in Morocco.
- Change the default to only warn when the timezone offset and system
  offset disagree (but still not even warn if TZ is set)
- Add the assert_tz_offset() method to the top level for those who want
  to explicitly check and fail.
- Removed the deprecation shim.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu
2023-05-25 14:57:59 +08:00
committed by Khem Raj
parent 2083b3a47f
commit 4d763b8d6a

View File

@@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/tzlocal/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=57e0bd61643d81d05683cdce65b11d10"
SRC_URI[sha256sum] = "3f21d09e1b2aa9f2dacca12da240ca37de3ba5237a93addfd6d593afe9073355"
SRC_URI[sha256sum] = "46eb99ad4bdb71f3f72b7d24f4267753e240944ecfc16f25d2719ba89827a803"
inherit pypi python_setuptools_build_meta