Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 922995

Summary: dev-python/alembic-1.13.1 fails tests
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-01-27 06:52:47 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/alembic-1.13.1 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM
Info about the system: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-27 06:52:50 UTC
Created attachment 883215 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-27 06:52:50 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":
E           zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key EST5EDT'
E           zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Europe/Berlin'
E           zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key UTC'
E       ModuleNotFoundError: No module named 'tzdata'
FAILED tests/test_script_production.py::ScriptNamingTest::test_custom_tz - zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key EST5EDT'
FAILED tests/test_script_production.py::ScriptNamingTest::test_custom_tz_lowercase - zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key EST5EDT'
FAILED tests/test_script_production.py::ScriptNamingTest::test_custom_tz_utc - zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key UTC'
FAILED tests/test_script_production.py::ScriptNamingTest::test_custom_tzdata_tz - zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Europe...
Comment 3 Larry the Git Cow gentoo-dev 2024-01-27 12:10:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96d05ae1bb5ae78ebcf0258d8b31c8b426c731a

commit e96d05ae1bb5ae78ebcf0258d8b31c8b426c731a
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-01-27 12:04:05 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-01-27 12:10:36 +0000

    dev-python/alembic: Add a test dep on sys-libs/timezone-data
    
    Closes: https://bugs.gentoo.org/922995
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/alembic/alembic-1.13.1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)