Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419993 - dev-python/sqlobject-1.3.1 version bump request
Summary: dev-python/sqlobject-1.3.1 version bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Python Gentoo Team
URL: https://sourceforge.net/tracker/index...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-06 21:15 UTC by Ian Delaney (RETIRED)
Modified: 2012-11-27 11:48 UTC (History)
0 users

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


Attachments
ebuild patch (sqlobject.patch,1.41 KB, patch)
2012-06-06 21:15 UTC, Ian Delaney (RETIRED)
Details | Diff
files/sqlobject_test.patch (sqlobject_test.patch,3.31 KB, patch)
2012-06-08 00:52 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2012-06-06 21:15:38 UTC
Created attachment 314469 [details, diff]
ebuild patch

archtester sqlobject # USE_PYTHON="2.5 2.7-pypy-1.8" ebuild sqlobject-1.3.1.ebuild clean test

sees python2.6 pass and 1 single test fails for pypy;
sqlobject/tests/test_sqlobject_admin.py

>           raise ImportError('Cannot find a PostgreSQL driver, tried %s' % drivers)
E           ImportError: Cannot find a PostgreSQL driver, tried psycopg
=

archtester sqlobject # USE_PYTHON="2.5 2.6 2.7 2.7-pypy-1.8" ebuild sqlobject-1.3.1.ebuild merge

 * Compilation and optimization of Python modules for CPython 2.5      [ ok ]
 * Compilation and optimization of Python modules for CPython 2.6      [ ok ]
 * Compilation and optimization of Python modules for CPython 2.7      [ ok ]
 * Compilation and optimization of Python modules for PyPy 1.8 (Python 2.7) [ ok ]
>>> dev-python/sqlobject-1.3.1 merged.
______________________________________________________________________________

archtester sqlobject # USE_PYTHON="2.5 2.6 2.7" ebuild  sqlobject-1.3.1.ebuild clean test merge

 * Compilation and optimization of Python modules for CPython 2.5      [ ok ]
 * Compilation and optimization of Python modules for CPython 2.6      [ ok ]
 * Compilation and optimization of Python modules for CPython 2.7      [ ok ]
>>> dev-python/sqlobject-1.3.1 merged.


Yet another test suite uncovered, and this one has its own shortcomings.
1. It appears it is written for pytest.  nosetests deosn't work.
2. There is 1 test that pypy can't pass and 1 test that has a feature I have never before encountered;
It will fail when called from py.test sqlobject/tests/
but it will pass if called when run by itself.  Go figure that.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-06-08 00:52:56 UTC
Created attachment 314623 [details, diff]
files/sqlobject_test.patch
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-06-24 18:22:24 UTC
from the issue I filed; they passed for him.

Message:
Hi. Both tests work for me:

both still fail for me.  Need someone to confirm can replicate these.  On my system they can't pass without the patch I made, but upstream's can.
pypy can't find a driver for that 1 test.  pypy isn't yet equipped to emerge dev-python/psycopg.  Just 1 test almost 400.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2012-11-27 11:48:27 UTC
bumped 28 Jun 2012