Re: zope.sqlalchemy+py3 test failures.

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/27/2011 02:01 AM, Chris McDonough wrote:
> On Mon, 2011-09-26 at 21:47 -0400, Chris McDonough wrote:
>> In case anyone is interested, I've made a stab at porting 
>> zope.sqlalchemy to Python 3 at 
>> http://svn.zope.org/zope.sqlalchemy/branches/chrism-py3/ .
>> Several tests still fail.  I could use some help fixing them.
>> 
>> To run the test suite:
>> 
>> - Create a Python 3.2 virtualenv.
>> 
>> - Install nose into the virtualenv.
>> 
>> - Check out the "chrism-py3" transaction branch from 
>> svn://svn.zope.org/repos/main/transaction/branches/chrism-py3
>> 
>> - Install the "chrism-py3" transaction checkout into the
>> virtualenv, e.g. $env32/bin/python setup.py develop.
>> 
>> - Install this package into the virtualenv eg. run
>> $env32/bin/python setup develop.
>> 
>> - Run $env32/bin/python setup.py nosetests.
>> 
>> Currently 2 tests fail:
>> 
> 
> Mike Merickel solved this...
> 
> This is because the setuptools (and nose) testrunners do not respect
> the ``test_suite`` stanza at the bottom of ``tests.py``; these
> shouldn't be getting run unless the DSN has postgres in it, and they
> are getting run regardless (under sqlite).
> 
> That brings up how to cope with running test suites that depend on 
> zope.testrunner features in a cross-platform way.  Currently the 
> bootstrap script in this package wont run under Py3.

This bootstrap is from Jim's '2' branch of zc.buildout:

 http://svn.zope.org/zc.buildout/branches/2/bootstrap/bootstrap.py?rev=121484&view=auto

It is designed to work with Py3k.


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6B/IYACgkQ+gerLs4ltQ6XOwCeNuYNhjXbasb5Qfr729Howd5N
6sAAoIpnbXpvLMP340cyt3PghRjrah34
=933g
-----END PGP SIGNATURE-----
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.