[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: make check: log_tests.py failed

From: Barry Scott <barry.alan.scott_at_ntlworld.com>
Date: 2001-12-02 22:17:29 CET

>> Personally I'd not use the SyntaxError exception to detect version mismatch.
>> You are overloading the exception with two meanings. (1) get a newer
>> python and (2) subversion script has a bug in it.
>
>'svntest' is a module that does nothing but declare bunch of routines
>as a testing API. It doesn't return errors, unless the interpreter
>literally chokes over unrecognized syntax.

        Seems like the right place to have pre-requisite checks performed.

>> I'd recommend you check for Python 2.1.1 as a min version as its been
>> out a while, has binary kits for major platforms and is the maintenance
>> version of 2.1.
>
>Why check for 2.1 if we don't need it? I've been using 2.0 to write
>the svn python tests for a long time, and I'd hate to force people to
>upgrade needlessly.

        If the only reason for 2.0 is the x += y feature then remove the
        use of it and have a min of 1.5.2.

        Do you plan to build python C/C++ extensions to interface to svn?
        What is the min version you would support?

        My reason for 2.1 is that it is better supported then the older
        versions. But for your test code this less of an issue the for
        apps built on Python and its extensions.

                BArry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:51 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.