You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David James <ja...@gmail.com> on 2005/09/04 18:58:31 UTC

Re: windows python bindings for subversion

On 8/28/05, peter frankenberger <pe...@telus.net> wrote:
> Hi,
> 
> I've developed a freeware Windows tool for bulk renaming of files.  I
> would like to extend it to include renaming of files controlled by SVN.
> The tool is written using python 2.4 but unfortunately the only
> available SVN binding is for python 2.3.
> 
> Does anyone know if bindings for Python 2.4 will be available soon?  If
> not, can anyone show me how to make the bindings myself?

Hi Peter,

For testing purposes, I've compiled a prerelease version of the
Subversion bindings for Python 2.4 on Windows. On my machine, these
bindings pass the Subversion test suite.

Download it at:
  http://www.cs.toronto.edu/~james/svn-python/

Hope this helps!

David


-- 
David James -- http://www.cs.toronto.edu/~james

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: windows python bindings for subversion

Posted by Barry Scott <ba...@barrys-emacs.org>.
On Sep 6, 2005, at 03:12, Branko Čibej wrote:

>
> Just don't forget that you have to build and statically link with all 
> of APR, too -- especially apr-iconv -- and that's likely to be a 
> bigger problem than anyone wants to deal with.
>

Why does a user of the client API need iconv at all? Isn't the 
interface UTF-8 or bytes everywhere?
Where does the client API need to use char set conversion?

Barry


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: windows python bindings for subversion

Posted by Branko Čibej <br...@xbc.nu>.
David James wrote:

>On 9/4/05, Branko Čibej <br...@xbc.nu> wrote:
>  
>
>>David James wrote:
>>
>>    
>>
>>>On 8/28/05, peter frankenberger <pe...@telus.net> wrote:
>>>
>>>
>>>      
>>>
>>>>Hi,
>>>>
>>>>I've developed a freeware Windows tool for bulk renaming of files.  I
>>>>would like to extend it to include renaming of files controlled by SVN.
>>>>The tool is written using python 2.4 but unfortunately the only
>>>>available SVN binding is for python 2.3.
>>>>
>>>>Does anyone know if bindings for Python 2.4 will be available soon?  If
>>>>not, can anyone show me how to make the bindings myself?
>>>>
>>>>
>>>>        
>>>>
>>>Hi Peter,
>>>
>>>For testing purposes, I've compiled a prerelease version of the
>>>Subversion bindings for Python 2.4 on Windows. On my machine, these
>>>bindings pass the Subversion test suite.
>>>
>>>Download it at:
>>> http://www.cs.toronto.edu/~james/svn-python/
>>>
>>>Hope this helps!
>>>
>>>
>>>      
>>>
>>Maybe I have to explain, again, why the officially unofficial Windows
>>binary distro of Subversion only comes with Python 2.3 bindings. It's a
>>matter of compatibility. The Subversion binaries must work with the
>>Apache 2.0.x binaries, which are compiled with MSVC 6. Because of
>>runtime compatibility issues, Subversion must therefore also be compiled
>>with MSVC 6. Python 2.3 is the last version where the binaries available
>>from python.org are compiled with MSVC 6. Python 2.4 uses a newer
>>version of the compiler, and depends on a newer version of the C runtime
>>library, which is incompatible with Subversion's.
>>
>>I'm told Apache 2.2.x will move to this newer compiler. When that
>>happens, Subversion can also switch, and we can create Python 2.4
>>binings by default. I don't know where that leaves us with Perl, though.
>>    
>>
>
>Can we switch to Microsoft Visual Studio.NET for just the Python 2.4 bindings?
>
>If we compile the Python bindings statically, and install all needed
>DLL files into the Python library directory, we don't need to worry
>about binary compatibility. For an example of this technique in
>action, see http://www.cs.toronto.edu/~james/svn-python/
>  
>
Feel free to provide such a binary package. I'm not stopping anyone, but 
I won't do it myself. I've got enough other stuff on my plate.

Just don't forget that you have to build and statically link with all of 
APR, too -- especially apr-iconv -- and that's likely to be a bigger 
problem than anyone wants to deal with.

-- Brane


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: windows python bindings for subversion

Posted by David James <ja...@gmail.com>.
On 9/4/05, Branko Čibej <br...@xbc.nu> wrote:> David James wrote:> > >On 8/28/05, peter frankenberger <pe...@telus.net> wrote:> >> >> >>Hi,> >>> >>I've developed a freeware Windows tool for bulk renaming of files.  I> >>would like to extend it to include renaming of files controlled by SVN.> >>The tool is written using python 2.4 but unfortunately the only> >>available SVN binding is for python 2.3.> >>> >>Does anyone know if bindings for Python 2.4 will be available soon?  If> >>not, can anyone show me how to make the bindings myself?> >>> >>> >> >Hi Peter,> >> >For testing purposes, I've compiled a prerelease version of the> >Subversion bindings for Python 2.4 on Windows. On my machine, these> >bindings pass the Subversion test suite.> >> >Download it at:> >  http://www.cs.toronto.edu/~james/svn-python/> >> >Hope this helps!> >> >> Maybe I have to explain, again, why the officially unofficial Windows> binary distro of Subversion only comes with Python 2.3 bindings. It's a> matter of compatibility. The Subversion binaries must work with the> Apache 2.0.x binaries, which are compiled with MSVC 6. Because of> runtime compatibility issues, Subversion must therefore also be compiled> with MSVC 6. Python 2.3 is the last version where the binaries available> from python.org are compiled with MSVC 6. Python 2.4 uses a newer> version of the compiler, and depends on a newer version of the C runtime> library, which is incompatible with Subversion's.> > I'm told Apache 2.2.x will move to this newer compiler. When that> happens, Subversion can also switch, and we can create Python 2.4> binings by default. I don't know where that leaves us with Perl, though.
Can we switch to Microsoft Visual Studio.NET for just the Python 2.4 bindings?
If we compile the Python bindings statically, and install all neededDLL files into the Python library directory, we don't need to worryabout binary compatibility. For an example of this technique inaction, see http://www.cs.toronto.edu/~james/svn-python/
Cheers,
David

-- David James -- http://www.cs.toronto.edu/~james

Re: windows python bindings for subversion

Posted by David James <ja...@gmail.com>.
On 9/4/05, Branko Čibej <br...@xbc.nu> wrote:> David James wrote:> > >On 8/28/05, peter frankenberger <pe...@telus.net> wrote:> >> >> >>Hi,> >>> >>I've developed a freeware Windows tool for bulk renaming of files.  I> >>would like to extend it to include renaming of files controlled by SVN.> >>The tool is written using python 2.4 but unfortunately the only> >>available SVN binding is for python 2.3.> >>> >>Does anyone know if bindings for Python 2.4 will be available soon?  If> >>not, can anyone show me how to make the bindings myself?> >>> >>> >> >Hi Peter,> >> >For testing purposes, I've compiled a prerelease version of the> >Subversion bindings for Python 2.4 on Windows. On my machine, these> >bindings pass the Subversion test suite.> >> >Download it at:> >  http://www.cs.toronto.edu/~james/svn-python/> >> >Hope this helps!> >> >> Maybe I have to explain, again, why the officially unofficial Windows> binary distro of Subversion only comes with Python 2.3 bindings. It's a> matter of compatibility. The Subversion binaries must work with the> Apache 2.0.x binaries, which are compiled with MSVC 6. Because of> runtime compatibility issues, Subversion must therefore also be compiled> with MSVC 6. Python 2.3 is the last version where the binaries available> from python.org are compiled with MSVC 6. Python 2.4 uses a newer> version of the compiler, and depends on a newer version of the C runtime> library, which is incompatible with Subversion's.> > I'm told Apache 2.2.x will move to this newer compiler. When that> happens, Subversion can also switch, and we can create Python 2.4> binings by default. I don't know where that leaves us with Perl, though.
Can we switch to Microsoft Visual Studio.NET for just the Python 2.4 bindings?
If we compile the Python bindings statically, and install all neededDLL files into the Python library directory, we don't need to worryabout binary compatibility. For an example of this technique inaction, see http://www.cs.toronto.edu/~james/svn-python/
Cheers,
David

-- David James -- http://www.cs.toronto.edu/~james

Re: windows python bindings for subversion

Posted by Branko Čibej <br...@xbc.nu>.
David James wrote:

>On 8/28/05, peter frankenberger <pe...@telus.net> wrote:
>  
>
>>Hi,
>>
>>I've developed a freeware Windows tool for bulk renaming of files.  I
>>would like to extend it to include renaming of files controlled by SVN.
>>The tool is written using python 2.4 but unfortunately the only
>>available SVN binding is for python 2.3.
>>
>>Does anyone know if bindings for Python 2.4 will be available soon?  If
>>not, can anyone show me how to make the bindings myself?
>>    
>>
>
>Hi Peter,
>
>For testing purposes, I've compiled a prerelease version of the
>Subversion bindings for Python 2.4 on Windows. On my machine, these
>bindings pass the Subversion test suite.
>
>Download it at:
>  http://www.cs.toronto.edu/~james/svn-python/
>
>Hope this helps!
>  
>
Maybe I have to explain, again, why the officially unofficial Windows 
binary distro of Subversion only comes with Python 2.3 bindings. It's a 
matter of compatibility. The Subversion binaries must work with the 
Apache 2.0.x binaries, which are compiled with MSVC 6. Because of 
runtime compatibility issues, Subversion must therefore also be compiled 
with MSVC 6. Python 2.3 is the last version where the binaries available 
from python.org are compiled with MSVC 6. Python 2.4 uses a newer 
version of the compiler, and depends on a newer version of the C runtime 
library, which is incompatible with Subversion's.

I'm told Apache 2.2.x will move to this newer compiler. When that 
happens, Subversion can also switch, and we can create Python 2.4 
binings by default. I don't know where that leaves us with Perl, though.

-- Brane


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: windows python bindings for subversion

Posted by peter frankenberger <pe...@telus.net>.
Hi David,

Thanks for creating the bindings.  I'll give them a try.

Peter.


David James wrote:

>On 8/28/05, peter frankenberger <pe...@telus.net> wrote:
>  
>
>>Hi,
>>
>>I've developed a freeware Windows tool for bulk renaming of files.  I
>>would like to extend it to include renaming of files controlled by SVN.
>>The tool is written using python 2.4 but unfortunately the only
>>available SVN binding is for python 2.3.
>>
>>Does anyone know if bindings for Python 2.4 will be available soon?  If
>>not, can anyone show me how to make the bindings myself?
>>    
>>
>
>Hi Peter,
>
>For testing purposes, I've compiled a prerelease version of the
>Subversion bindings for Python 2.4 on Windows. On my machine, these
>bindings pass the Subversion test suite.
>
>Download it at:
>  http://www.cs.toronto.edu/~james/svn-python/
>
>Hope this helps!
>
>David
>
>
>  
>

Re: windows python bindings for subversion

Posted by peter frankenberger <pe...@telus.net>.
Hi David,

Thanks for creating the bindings.  I'll give them a try.

Peter.


David James wrote:

>On 8/28/05, peter frankenberger <pe...@telus.net> wrote:
>  
>
>>Hi,
>>
>>I've developed a freeware Windows tool for bulk renaming of files.  I
>>would like to extend it to include renaming of files controlled by SVN.
>>The tool is written using python 2.4 but unfortunately the only
>>available SVN binding is for python 2.3.
>>
>>Does anyone know if bindings for Python 2.4 will be available soon?  If
>>not, can anyone show me how to make the bindings myself?
>>    
>>
>
>Hi Peter,
>
>For testing purposes, I've compiled a prerelease version of the
>Subversion bindings for Python 2.4 on Windows. On my machine, these
>bindings pass the Subversion test suite.
>
>Download it at:
>  http://www.cs.toronto.edu/~james/svn-python/
>
>Hope this helps!
>
>David
>
>
>  
>

Re: windows python bindings for subversion

Posted by Branko Čibej <br...@xbc.nu>.
David James wrote:

>On 8/28/05, peter frankenberger <pe...@telus.net> wrote:
>  
>
>>Hi,
>>
>>I've developed a freeware Windows tool for bulk renaming of files.  I
>>would like to extend it to include renaming of files controlled by SVN.
>>The tool is written using python 2.4 but unfortunately the only
>>available SVN binding is for python 2.3.
>>
>>Does anyone know if bindings for Python 2.4 will be available soon?  If
>>not, can anyone show me how to make the bindings myself?
>>    
>>
>
>Hi Peter,
>
>For testing purposes, I've compiled a prerelease version of the
>Subversion bindings for Python 2.4 on Windows. On my machine, these
>bindings pass the Subversion test suite.
>
>Download it at:
>  http://www.cs.toronto.edu/~james/svn-python/
>
>Hope this helps!
>  
>
Maybe I have to explain, again, why the officially unofficial Windows 
binary distro of Subversion only comes with Python 2.3 bindings. It's a 
matter of compatibility. The Subversion binaries must work with the 
Apache 2.0.x binaries, which are compiled with MSVC 6. Because of 
runtime compatibility issues, Subversion must therefore also be compiled 
with MSVC 6. Python 2.3 is the last version where the binaries available 
from python.org are compiled with MSVC 6. Python 2.4 uses a newer 
version of the compiler, and depends on a newer version of the C runtime 
library, which is incompatible with Subversion's.

I'm told Apache 2.2.x will move to this newer compiler. When that 
happens, Subversion can also switch, and we can create Python 2.4 
binings by default. I don't know where that leaves us with Perl, though.

-- Brane


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: windows python bindings for subversion

Posted by Clint Stotesbery <cs...@hotmail.com>.
David,
Thanks for doing this because this is an often requested item. Might I 
suggest that you also put instructions on your page with the steps you 
followed to compile them? Then other people can compile them if they wish 
and there won't be a dependency on one person maintaining this.
Regards,
Clint

----Original Message Follows----
From: David James <ja...@gmail.com>
Reply-To: james82@gmail.com
To: peter frankenberger <pe...@telus.net>
CC: users@subversion.tigris.org, svn-dev-list <de...@subversion.tigris.org>, 
Branko �ibej <br...@xbc.nu>
Subject: Re: windows python bindings for subversion
Date: Sun, 4 Sep 2005 14:58:31 -0400


On 8/28/05, peter frankenberger <pe...@telus.net> wrote:
 > Hi,
 >
 > I've developed a freeware Windows tool for bulk renaming of files.  I
 > would like to extend it to include renaming of files controlled by SVN.
 > The tool is written using python 2.4 but unfortunately the only
 > available SVN binding is for python 2.3.
 >
 > Does anyone know if bindings for Python 2.4 will be available soon?  If
 > not, can anyone show me how to make the bindings myself?

Hi Peter,

For testing purposes, I've compiled a prerelease version of the
Subversion bindings for Python 2.4 on Windows. On my machine, these
bindings pass the Subversion test suite.

Download it at:
   http://www.cs.toronto.edu/~james/svn-python/

Hope this helps!

David


--
David James -- http://www.cs.toronto.edu/~james

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org