15
0

- update to 5.3.1:

* Now only warns bout /etc/timezone if it is actually
    conflicting with other timezone configurations.
  * Now supports Python 3.9 to 3.13, and no longer requires
    backports.zoneinfo.
  * Some distributions are for some reason removing support for
    /etc/timezone, which is bad, because that's the only place
    where the timezone is stated in plain text, and what's worse,
    they don't delete it. So we can't trust it now, so when we
    have multiple configs, we are forced to
    just ignore it.
  * Attempts to return a ZoneInfo object also for UTC.
  * Updated python versions [hugovk]
  * Added type hints for the public functions
  * Moved to using pyproject.toml for project config.
  * The Unicode data doesn't change tz names when IANA does, so
    what is current in IANA is treated as an alias in Unicode data.
    This version handles that.
  * 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.
  - If tzlocal on Unix finds a timezone name in a /etc config file, then

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tzlocal?expand=0&rev=39
This commit is contained in:
2025-09-11 09:25:48 +00:00
committed by Git OBS Bridge
commit f59071f65d
5 changed files with 365 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text