Summary: | dev-python/pytz-2015.4 fails tests (with pypy ?) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
Component: | [OLD] Unspecified | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | jlec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Patrick Lauer
2015-07-20 03:42:29 UTC
How many broken systems do you run?
~/cvsPortage/gentoo-x86/dev-python/pytz $ PYTHON_TARGETS=pypy ebuild pytz-2015.4.ebuild clean test
Ran 203 tests in 2.340s
OK
* pypy: running distutils-r1_run_phase _clean_egg_info
>>> Completed testing dev-python/pytz-2015.4
This bug is probably related to [0]: If an old pytz (<=2014.10) is used in conjunction with a new timezone-data (e.g. 2015e), then this error arises. The reason is that we apply a patch to pytz to use the /usr/share/zoneinfo/ instead of the build in one. If timezone-data is new enough, then the file /usr/share/zoneinfo/iso3166.tab contains UTF-8 encoded characters. Old pytz try to parse this file as ASCII and fail. Suggested solution: Apply the patch of [0], which lets pytz parse the file using UTF-8. [0] https://bugs.launchpad.net/pytz/+bug/1473533 commit 426b21e4fdee0a8b0b5651cb45a785757264737b Author: Justin Lecher <jlec@gentoo.org> Date: Tue Sep 29 12:06:57 2015 +0200 dev-python/pytz: Drop old obsoletes Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=555404 Package-Manager: portage-2.2.22 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=426b21e4fdee0a8b0b5651cb45a785757264737b |