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

Re: CentOS 8 Python bindings - opensource.wandisco.com

From: Mark Phippard <markphip_at_gmail.com>
Date: Sun, 12 Apr 2020 15:04:01 -0400

On Sun, Apr 12, 2020 at 1:10 PM Nico Kadel-Garcia <nkadel_at_gmail.com> wrote:

> On Sat, Apr 11, 2020 at 3:21 PM Jarkko Hyvärinen
> <jarkkohyvarinen_at_hotmail.com> wrote:
> >
> > Hi
> >
> >
> >
> > I have installed Subversion 1.10.6 and python bindings
> (subversion-python) to CentOS 8 server from opensource.wandisco.com repo.
> My goal is to get Trac and Subversion working with CentOS 8.
> >
> >
> >
> > After installation I encoutered two problems with python bindings:
> >
> >
> >
> > If I run ----> ’python2 -c "from svn import core"’
> >
> > then ’ImportError: No module named _core’ raises
> >
> > If I specify PYTHONHOME and PYTHONPATH ----> ’PYTHONHOME=/usr
> PYTHONPATH=/usr/lib64/python2.7/site-packages/libsvn/ python2 -c "from svn
> import core"’
> >
> > then ’ImportError: /usr/lib64/libsvn_swig_py-1.so.0: undefined symbol:
> PyUnicode_FromFormat’ raises
> >
> > i.
> It seems that our CentOS 8 server has ’PyUnicodeUCS4_FromFormat’ instead of
> ’PyUnicode_FromFormat’
> >
> >
> >
> > Is there currently any workaround to this without building Subversion
> from source cod
>
> Use python 3.
>
>
The bindings do not support Python 3, so that is not an option. The
upcoming Subversion 1.14 LTS release will add support for Python 3 but
until then once has no choice but use Python 2 if they are using the
bindings.

Aside from that ... unfortunately I have no help to offer on the original
problem.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2020-04-12 21:04:22 CEST

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