Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906845 - dev-python/tzlocal-5.0.1 fails tests (MUSL-SYSTEM)
Summary: dev-python/tzlocal-5.0.1 fails tests (MUSL-SYSTEM)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-20 11:51 UTC by Agostino Sarubbo
Modified: 2023-05-20 11:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,173.91 KB, text/plain)
2023-05-20 11:51 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-05-20 11:51:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/tzlocal-5.0.1 fails tests (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-20 11:51:41 UTC
Created attachment 862039 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-20 11:51:42 UTC
Error(s) that match a know pattern:


            # FileNotFoundError: If resource_name doesn't exist in the package
            # ImportError: If package_name doesn't exist (e.g. if tzdata is not
            # UnicodeEncodeError: If package_name or resource_name are not UTF-8,
            # to "we cannot find this key":
        except zoneinfo.ZoneInfoNotFoundError:
'
/var/tmp/portage/dev-python/tzlocal-5.0.1/work/tzlocal-5.0.1/tests/test_data/conflicting/etc/conf.d/clock: Africa/Johannesburg
/var/tmp/portage/dev-python/tzlocal-5.0.1/work/tzlocal-5.0.1/tests/test_data/conflicting/etc/sysconfig/clock: Europe/Warsaw
/var/tmp/portage/dev-python/tzlocal-5.0.1/work/tzlocal-5.0.1/tests/test_data/conflicting/etc/timezone: Europe/Paris
/var/tmp/portage/dev-python/tzlocal-5.0.1/work/tzlocal-5.0.1/tests/test_data/conflicting/var/db/zoneinfo: America/New_York
E           zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Africa/Harare'
E           zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Africa/Johannesburg'
E           zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Etc/UTC'
E           zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Europe/Berlin'
E           zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Europe/Minsk'
E           zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Europe/Paris'
E           zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Pacific/Chatham'
E           zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key UTC'
E           zoneinfo._common.ZoneInfoNotFoundError: 'tzlocal() does not support non-zoneinfo timezones like Africa/Harare. 
E       AssertionError: assert 'local' == 'Africa/Harare'
E       AssertionError: assert 'localtime is a symlink to: Africa/Harare' in 'Multiple conflicting time zone configurations found:
E   ModuleNotFoundError: No module named 'tzdata'
FAILED tests/test_tzlocal.py::test_assert_tz_offset - zoneinfo._common.ZoneIn...
FAILED tests/test_tzlocal.py::test_conflicting - AssertionError: assert 'loca...
FAILED tests/test_tzlocal.py::test_env - zoneinfo._common.ZoneInfoNotFoundErr...
FAILED tests/test_tzlocal.py::test_get_reload - zoneinfo._common.ZoneInfoNotF...
FAILED tests/test_tzlocal.py::test_noconflict - zoneinfo._common.ZoneInfoNotF...
FAILED tests/test_tzlocal.py::test_only_localtime - zoneinfo._common.ZoneInfo...
FAILED tests/test_tzlocal.py::test_symlink_localtime - AssertionError: assert...
FAILED tests/test_tzlocal.py::test_termux - zoneinfo._common.ZoneInfoNotFound...
FAILED tests/test_tzlocal.py::test_timezone - zoneinfo._common.ZoneInfoNotFou...
FAILED tests/test_tzlocal.py::test_timezone_setting - zoneinfo._common.ZoneIn...
FAILED tests/test_tzlocal.py::test_timezone_top_line_comment - zoneinfo._comm...
FAILED tests/test_tzlocal.py::test_ubuntu_docker_bug - zoneinfo._common.ZoneI...
FAILED tests/test_tzlocal.py::test_vardbzoneinfo_setting - zoneinfo._common.Z...
FAILED tests/test_tzlocal.py::test_win32 - zoneinfo._common.ZoneInfoNotFoundE...
FAILED tests/test_tzlocal.py::test_win32_env - zoneinfo._common.ZoneInfoNotFo...
FAILED tests/test_tzlocal.py::test_win32_no_dst - zoneinfo._common.ZoneInfoNo...
FAILED tests/test_tzlocal.py::test_zone_setting - zoneinfo._common.ZoneInfoNo...
FAILED tests/test_tzlocal.py::test_zoneinfo_compatibility - zoneinfo._common....
Fix the configuration, or set the time zone in a TZ environment variable.
Please use a timezone in the form of Continent/City'