#6503: remove the pyprocessing spkg from sage, then sort out any fallout that
results
------------------------+---------------------------------------------------
Reporter: was | Owner: mabshoff
Type: defect | Status: needs_work
Priority: blocker | Milestone: sage-4.3.2
Component: packages | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Comment(by mvngu):
In the file `devel/sage-main/setup.py`, changing the following lines
{{{
# If there were any extensions that needed to be
# rebuilt, dispatch them using pyprocessing.
if extensions_to_compile:
from processing import Pool
p = Pool(min(ncpus, len(extensions_to_compile)))
}}}
to these
{{{
# If there were any extensions that needed to be
# rebuilt, dispatch them using pyprocessing.
if extensions_to_compile:
from multiprocessing import Pool
p = Pool(min(ncpus, len(extensions_to_compile)))
}}}
results in the build process hanging at
{{{
building 'sage.ext.interpreters.wrapper_el' extension
Exception in thread Thread-3:
Traceback (most recent call last):
File
"/dev/shm/mvngu/sandbox/sage-4.3.2.alpha0-8115/local/lib/python/threading.py",
line 525, in __bootstrap_inner
self.run()
File
"/dev/shm/mvngu/sandbox/sage-4.3.2.alpha0-8115/local/lib/python/threading.py",
line 477, in run
self.__target(*self.__args, **self.__kwargs)
File
"/dev/shm/mvngu/sandbox/sage-4.3.2.alpha0-8115/local/lib/python/multiprocessing/pool.py",
line 225, in _handle_tasks
put(task)
PicklingError: Can't pickle <type 'instancemethod'>: attribute lookup
__builtin__.instancemethod failed
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6503#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.