Re: [PATCH 1/5] t/t5800: skip if python version is older than 2.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/02/2010 01:21 AM, Sverre Rabbelier wrote:
> Heya,
> 
> On Wed, Jun 2, 2010 at 02:13, Brandon Casey <casey@xxxxxxxxxxxxxxx> wrote:
>> This test script depends on the git-remote-testgit python script.  This
>> python script makes use of the hashlib module which was released in python
>> version 2.5.  So, add a new pre-requisite named PYTHON_2_5_OR_NEWER to
>> test-lib.sh and check for it in t5800.
> 
> Perhaps instead we can change git-remote-testgit to do:
> 
> "try:
> import hashlib
> except ImportError:
> import ?? as hashlib
> "

I can only guess at what that does. :)

> Otoh, python 2.5 has been out for a while (and is in fact only
> downloadable as a source-only release these days). To be exact, it was
> released on September 19, 2006.

That's only long in python years. :)

RedHat's latest operating system still has version 2.4.3.

-brandon
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]