ISSUE Trac 1.5.3 - Subversion Python3 Bindings are unavailable for RHEL-8,9

26 views
Skip to first unread message

OSP Hathaway

unread,
Nov 23, 2022, 11:56:42 AM11/23/22
to Trac Users
The Python3.6/site-packages/tracopt/versioncontrol/svn/ module is unusable.

RHEL-8 and CentOS-Stream-8 distribute subversion 1.10.x
Trac 1.5.3/1.5.4 require subversion >= 1.14.0.

The problem appears to be the absence of compatible Python3 SWIG bindings for subversion.

2022-11-22 09:45:43,284 Trac[svn_fs] INFO: Failed to load Subversion bindings
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tracopt/versioncontrol/svn/svn_fs.py", line 200, in __init__
    _import_svn()
  File "/usr/lib/python3.6/site-packages/tracopt/versioncontrol/svn/svn_fs.py", line 72, in _import_svn
    from svn import fs, repos, core, delta
ModuleNotFoundError: No module named 'svn'

The current workaround requires building subversion from the Apache.Subversion
sources and reinstalling the private subversion builds on the affected Trac systems.

1. Build the subversion.
2. Build the SWIG Python3 bindings

I don't have much time to do these exploratory builds.

Sincerely,
Steven J. Hathaway

OSP Hathaway

unread,
Nov 23, 2022, 1:43:30 PM11/23/22
to Trac Users
The CentOS-Stream-9 and RHEL-9 deploy subversion 1.14.1
The issue is related to the OS version 8 repository for subversion.

Sincerely,
Steven J. Hathaway

Jun Omae

unread,
Nov 23, 2022, 7:33:51 PM11/23/22
to trac-...@googlegroups.com
On 2022/11/24 3:42, OSP Hathaway wrote:
> The CentOS-Stream-9 and RHEL-9 deploy subversion 1.14.1
> The issue is related to the OS version 8 repository for subversion.

That is not an issue.

Python 3 bindings for Subversion is supported since 1.14.
Subversion 1.14 and Python 3 bindings are provides in CentOS 8-stream AppStream.
Check the latest again.

See http://rpmfind.net/linux/rpm2html/search.php?query=python3-subversion&system=centos


--
Jun Omae <jun...@gmail.com> (大前 潤)

Reply all
Reply to author
Forward
0 new messages