#11874: Remove twisted spkg
----------------------------------------------+-----------------------------
Reporter: dimpase | Owner: tbd
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-5.0
Component: packages | Keywords: twisted;
notebook
Work_issues: | Upstream: N/A
Reviewer: Dmitrii Pasechnik, Jason Grout | Author: Rado Kirov,
Jason Grout
Merged: | Dependencies: #12329, #11080
----------------------------------------------+-----------------------------
Comment(by dimpase):
Replying to [comment:43 jdemeyer]:
> Replying to [comment:42 dimpase]:
> > Replying to [comment:38 jdemeyer]:
> > > The Sage library doesn't compile because it doesn't depend on
Twisted anymore:
> >
> > I cannot reproduce this on 5.0.beta7. I.e. everything builds just fine
after applying that patch and removing twisted spkg from a freshly
untarred release. Has it been fixed meanwhile?
>
> I haven't tried it recently, but it can succeed by chance if Twisted was
installed before Sage.
Apparently twisted 12 is installed into Python 2.7.2 by default, at the
time Python is built. I see
{{{
'/usr/local/src/sage/sage-5.0.beta7/local/lib/python2.7/site-
packages/Twisted-12.0.0-py2.7-linux-x86_64.egg'
}}}
in my Sage's Python path. And
{{{
$ ./sage -python
Python 2.7.2 (default, Mar 10 2012, 23:33:53)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import twisted
>>> twisted.version
Version('twisted', 12, 0, 0)
>>>
}}}
I guess that during the upgrade to Python 2.7.2 it was overlooked that
Twisted 12 is in it (not distributed, but getting pulled
during the installation. In my install.log I see
{{{
Searching for twisted>=8.2
Reading http://pypi.python.org/simple/twisted/
...
Downloading
http://pypi.python.org/packages/source/T/Twisted/Twisted-12.0.0.tar.bz2#md5=cf49a8676c21c50faf1b42b528049471
}}}
By the way, it also pulls zope and a bunch of other stuff.
I don't know what will happen if the installation was running on a machine
not connected to the net.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11874#comment:44>
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.