On 24.09.2019 22:40, Eric Johnson wrote: > I'm writing some python hook scripts to work with Subversion. > > I've used MacPorts to install Subversion. Looking around I see that > MacPorts only has a package for "subversion-python27bindings", and > none for python37. Is this just a limitation of MacPorts packaging of > the official python bindings? From the mailing list, it looks like > this might have been a limitation as little as six months ago > <https://lists.apache.org/thread.html/12b604fbd6b396ccd63035cbcc96e21047885edae0b97dd075745a53@<users.subversion.apache.org>>. > > I could not find a python packaging of the official python bindings on > pypi. > > Should I use subvertpy instead, or maybe pysvn? What's the right > approach here?
Support for Python 3 bindings is in the works, actually quite close to being ready for merge to trunk. I expect it to be included in Subversion 1.14. In the meantime, you can still use Python 2.7, it won't magically stop working. -- Brane