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

Bug 481634

Summary: dev-python/sqlalchemy-0.8.2 test failures (6) by pypy
Product: Gentoo Linux Reporter: Ian Delaney (RETIRED) <idella4>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jlec
Priority: Normal Keywords: TESTED, TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.sqlalchemy.org/trac/ticket/2805
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch based on upstream with 1 exception.

Description Ian Delaney (RETIRED) gentoo-dev 2013-08-19 12:55:09 UTC
/dev-python/sqlalchemy $ PYTHON_TARGETS=pypy2_0 ebuild sqlalchemy-0.8.2.ebuild clean test


======================================================================
ERROR: test.orm.test_unitofwork.UnicodeSchemaTest.test_inheritance_mapping


======================================================================
ERROR: test.orm.test_unitofwork.UnicodeSchemaTest.test_mapping


======================================================================
ERROR: test.sql.test_unicode.UnicodeSchemaTest.test_insert

======================================================================
ERROR: test.sql.test_unicode.UnicodeSchemaTest.test_reflect

======================================================================
FAIL: test.dialect.test_suite.LastrowidTest.test_native_lastrowid_autoinc

======================================================================
FAIL: test.ext.test_serializer.SerializeTest.test_query_three


----------------------------------------------------------------------
Ran 5071 tests in 897.080s

FAILED (SKIP=214, errors=4, failures=2)


https://github.com/zzzeek/sqlalchemy/pull/22

Upstream tells us these failures by pypy have been addressed in the future 0.9 release and is content to accept a pull request (above) for the 0.8 master.
The patch merely skips the 6 tests in 0.8.2 under pypy.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2013-08-19 16:00:57 UTC
Created attachment 356426 [details, diff]
patch based on upstream with 1 exception.

dev-python/sqlalchemy $ PYTHON_TARGETS=pypy2_0 ebuild sqlalchemy-0.8.2.ebuild clean test

Ran 5071 tests in 969.323s

OK (SKIP=219)
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2015-11-19 12:27:26 UTC
commit 51a8c34af9d6ca42305e63ee044dfc031d68ae1d
Author: Justin Lecher <jlec@gentoo.org>
Date:   Thu Nov 19 11:39:17 2015 +0100

    dev-python/sqlalchemy: Clean old

    obsoletes
    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=481426
    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=481634
    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=489488
    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=546892
    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=547260

    Package-Manager: portage-2.2.25
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

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