[Distutils] [setuptools] svn 1.4 support

Phillip J. Eby pje at telecommunity.com
Wed Sep 20 19:45:52 CEST 2006


At 10:11 AM 9/20/2006 -0700, Bob Ippolito wrote:
>On 9/20/06, Phillip J. Eby <pje at telecommunity.com> wrote:
>>At 05:24 PM 9/20/2006 +0200, Philippe Normand wrote:
>> >Hi,
>> >
>> >It seems that SVN 1.4 doesn't use XML anymore to store metadata
>> >in .svn/entries (at least). So setuptools fails to find the repository
>> >url for instance:
>> >
>> >  File
>> >"/home/test/Elisa/elisa-env/lib/python2.4/setuptools-0.6c2-py2.4.egg/set 
>> uptools/command/egg_info.py",
>> >line 85, in finalize_options
>> >     self.vtags = self.tags()
>> >   File
>> >"/home/test/Elisa/elisa-env/lib/python2.4/setuptools-0.6c2-py2.4.egg/set 
>> uptools/command/egg_info.py",
>> >line 179, in tags
>> >     ):  version += '-r%s' % self.get_svn_revision()
>> >   File
>> >"/home/test/Elisa/elisa-env/lib/python2.4/setuptools-0.6c2-py2.4.egg/set 
>> uptools/command/egg_info.py",
>> >line 196, in get_svn_revision
>> >     dirurl = urlre.search(data).group(1)    # get repository URL
>> >AttributeError: 'NoneType' object has no attribute 'group'
>> >
>> >I was thinking setuptools was directly using the "svn" command to find
>> >revisions and other related informations. But i was wrong ;)
>>
>>Upgrade to the 0.6c3 version in development using these steps:
>>
>>      easy_install -eb. setuptools==dev06
>>      cd setuptools
>>      python2.4 setup.py install
>
>It'd probably be a good idea to go ahead and release a version that's
>compatible with svn 1.4 and python2.5 before people get a bad taste in
>their mouth... Subversion 1.4 was released 10 days ago.

As soon as I have a stable solution for the Sourceforge mirror 
issue.  Suggestions welcome.



>-bob



More information about the Distutils-SIG mailing list