Commit Graph

3 Commits

Author SHA1 Message Date
Bartosz Golaszewski
9f28bbf6a4 python3-tzlocal: add missing run-time dependencies
Add missing RDEPENDS for this package.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-24 09:01:53 -07:00
Bartosz Golaszewski
f3f3e97ff1 python3-tzlocal: fix coding style
Stop using PYTHON_PN, order RDEPENDS alphabetically, fix whitespaces.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-24 09:01:53 -07:00
Wang Mingyu
4d763b8d6a 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>
2023-05-25 08:57:47 -07:00