I posted it from wrong email address so I repost ... ------- Forwarded Message To: l...@freebsd.org Cc: d...@langille.org, freebsd-ports@freebsd.org, futat...@yf.bsdclub.org Subject: Re: FreeBSD Port: devel/py-subversion - Python 3 flavor? In-Reply-To: Your message of "Thu, 23 Apr 2020 18:37:53 +0300". <4455c880-71d0-c90d-18ce-b1497d3d7...@freebsd.org> From: Yasuhito FUTATSUKI <futat...@yf.bsdclub.org> Message-ID: <200424061857.m0194...@mkii.yf.bsdclub.org>
Hi, In article <4455c880-71d0-c90d-18ce-b1497d3d7...@freebsd.org> l...@freebsd.org writes: > On 23.04.2020 17:43, Dan Langille wrote: > > subversion 1.14.0 which is RC2 now will be python3 only. This is partly incorrect. Upcoming subversion 1.14.0 will still allow to build SWIG python 2 binding. We are checking 'make check-swig-py' both of with Python 2.7 and with Python 3.x. However, * subversion 1.14.0 release tarball will be shipped with SWIG generated Python bindings source code only for Python 3. To build Python 2 bindings, SWIG is needed. * Python 2 bindings and Python 3 bindings is conflict to install, because both of them requires mutual incompatible libsvn-swig_py-1.so each other Please see subversion/binding/swig/INSTALL in subversion source tree for detail. And these are not related support for SWIG Python bindings itself directly, but better to know: * Python application using Subversion SWIG Python bindings also need to modify to support Python 3. Especially distinction between bytes and str will be needed. All char * type in C API are mapped to bytes, although it accept str for input. * Support for Python 3 for scripts in tools/ subdirectory is very poor status. (See https://cwiki.apache.org/confluence/display/SVN/Subversion%27s+Python+3+Support+Status for detail) I, myself, use tools/hook-scripts/mailer/mailer.py for commit mail, it doesn't work with Python 3. I also use ViewVC (devel/viewvc, https://github.com/viewvc/viewvc) but its Python 3 support is in progress. Cheers, -- Yasuhito FUTATSUKI <futat...@yf.bsdclub.org> ------- End of Forwarded Message Cheers, -- Yasuhito FUTATSUKI <futat...@yf.bsdclub.org> _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"