Mantis - py_subversion
Viewing Issue Advanced Details
5144 packaging major always 2014-02-05 10:11 2016-09-29 23:17
schwindt  
dam  
normal  
closed  
fixed  
none    
none  
0005144: pyhton modules not found by apache
I just upgraded to CSWpythonsvn 1.8.5,REV=2014.01.19.
After that the trac instances could no longer sync to the repositories.
upon symlinking /opt/csw/lib/svn/python/site-packages/* to /opt/csw/lib/python2.6/site-packages/ everyting went back to normal
Issue History
2014-02-05 10:11 schwindt New Issue
2014-02-05 11:32 dam Note Added: 0010699
2014-08-15 11:07 maciej Note Added: 0010892
2014-09-12 19:08 maciej Note Added: 0010909
2014-09-12 19:08 maciej Note Deleted: 0010909
2016-06-16 16:51 dam Status new => assigned
2016-06-16 16:51 dam Assigned To => dam
2016-07-14 00:03 dam Note Added: 0011171
2016-07-14 00:03 dam Status assigned => resolved
2016-07-14 00:03 dam Resolution open => fixed
2016-09-17 20:09 pfelecan Note Added: 0011185
2016-09-18 15:25 pfelecan Note Added: 0011186
2016-09-18 15:26 pfelecan Note Edited: 0011185
2016-09-18 15:33 pfelecan Note Added: 0011187
2016-09-19 10:46 dam Note Added: 0011188
2016-09-19 13:01 pfelecan Note Added: 0011189
2016-09-20 11:03 dam Note Added: 0011190
2016-09-20 11:03 dam Status resolved => feedback
2016-09-20 11:03 dam Resolution fixed => reopened
2016-09-20 14:32 pfelecan Note Added: 0011191
2016-09-29 17:43 pfelecan Note Added: 0011193
2016-09-29 23:16 dam Note Added: 0011194
2016-09-29 23:17 dam Status feedback => closed
2016-09-29 23:17 dam Resolution reopened => fixed

Notes
(0010699)
dam   
2014-02-05 11:32   
TL;DR: We now about this and a fix is in progress.

This problem is related to the python strategy and new simplified directory layout. New python packages must be compiled with the python category scripts. Unfortunately this is only possible at the moment for real python modules and not modules which are produced as a side effect of a larger build with configure etc. (this is also the case for e.g. py-rrdtool). Sorry for the inconvenience.
(0010892)
maciej   
2014-08-15 11:07   
FYI This bug is blocking the integration of subversion packages from unstable to testing.
http://buildfarm.opencsw.org/package-promotions/promote-packages.html#subversion [^]
(0011171)
dam   
2016-07-14 00:03   
The issue has finally been resolved. Please see experimental packages at
  http://buildfarm.opencsw.org/experimental.html#subversion [^]
However, please note that Subversion 1.9.4 only supports Python 2.7 and therefore no 2.6 module is available.
(0011185)
pfelecan   
2016-09-17 20:09   
(edited on: 2016-09-18 15:26)
If I do this:

from svn import core

I get:

ImportError: No module named svn

Even though the py_subversion package is installed in

/opt/csw/lib/python2.7/site-packages/subversion

Beside, if I do help(modules) the svn module is not listed !

What gets ?

(0011186)
pfelecan   
2016-09-18 15:25   
If I use the following stanza:

PYTHONPATH=/opt/csw/lib/python2.7/site-packages/subversion python

from svn import core works
(0011187)
pfelecan   
2016-09-18 15:33   
Even better, by creating the file /opt/csw/lib/python2.7/site-packages/svn.pth with the following content:

/opt/csw/lib/python2.7/site-packages/subversion

the module is found.

I think that the same need to be done for libsvn.

What do you think ?
(0011188)
dam   
2016-09-19 10:46   
I think the python paths in the package should be changed so that workarounds wouldn't be necessary.
I'll take a look.
(0011189)
pfelecan   
2016-09-19 13:01   
Totally agree with you. Just wished to have a work-around documented.
(0011190)
dam   
2016-09-20 11:03   
New packages are available at
  http://buildfarm.opencsw.org/experimental.html#subversion [^]

Please give them a try.
(0011191)
pfelecan   
2016-09-20 14:32   
Verifies positively. Everything seems fine.
Can be released.
Thank you.
(0011193)
pfelecan   
2016-09-29 17:43   
Is there an issue which precludes releasing these packages ?
(0011194)
dam   
2016-09-29 23:16   
Didn't get your feedback, pushing now.