On Friday, March 22, 2013 5:25:50 PM UTC-7, Keshav Kini wrote: > > leif <not.r...@online.de <javascript:>> writes: > > kcrisman wrote: > >> > >> > >> On Friday, March 22, 2013 9:21:54 AM UTC-4, Rajeev wrote: > >> > >> Hi, > >> > >> The following test fails because I have some optional packages > >> installed - > >> > >> $ sage -t --long -force_lib devel/sage/sage/misc/package.py > >> sage -t --long -force_lib "devel/sage/sage/misc/package.py" > >> > ********************************************************************** > >> File > >> > "/home/rajeev/software/general/sage/devel/sage/sage/misc/package.py", > >> line 119: > >> sage: install_package() > >> Expected: > >> ['atlas...', 'blas...', ...] > >> Got: > >> ['PyQt_x11-4.9.1.p0', 'atlas-3.8.4.p1', 'blas-20070724', > >> 'boehm_gc-7.2.alpha6.p2', 'boost-cropped-1.34.1', > >> > >> > >> > >> On the plus side, it's pretty obvious why it failed, and isn't an > actual > >> "failure"... I suppose we could sort the list in question with > lowercase > >> first, assuming we never have a package with as or ar or aa... note > that > >> in #10508 it will become ['atlas...', ... ] or thereabouts, which > >> however wouldn't fix your problem. > >> > >> Maybe the "right" solution is to enforce homogeneity in the optional > >> spkgs, that they all must have names like py_qt_x11-x.y.z.pn.spkg. > What > >> do people think? > > > > Just add periods *before* 'atlas...' as well. >
And after it (between 'atlas...' and 'blas...'), just in case. Maybe something like ['atlas...', ..., 'python...', ...] > This is a better idea, IMO. > > -Keshav > > -- John -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.