On Wednesday, January 23, 2019 at 9:06:45 AM UTC-8, John H Palmieri wrote:
>
>
>
> On Wednesday, January 23, 2019 at 8:57:24 AM UTC-8, John H Palmieri wrote:
>>
>>
>>
>> On Wednesday, January 23, 2019 at 3:59:41 AM UTC-8, E. Madison Bray wrote:
>>>
>>> On Tue, Jan 22, 2019 at 8:30 PM John H Palmieri <jhpalm...@gmail.com> 
>>> wrote: 
>>> > 
>>> > Here is the situation: I've been playing around with new versions of 
>>> Sphinx. If I've installed a new version and then go back to an old version, 
>>> the directory local/lib/python2.7/site-libraries/sphinx/ is not removed and 
>>> then recreated, but instead the changed files are reinstalled, leaving 
>>> remnants of the previous version there. Is this how things are supposed to 
>>> work? 
>>>
>>> That is definitely not how anything is supposed to work, nor is it how 
>>> it does work normally.  You'd have to describe exactly what you did 
>>> though.  
>>
>>
>> I checked out #26451 (which updates Sphinx) and ran "make". Played around 
>> with it for a while, then checked out "develop" and ran "make". Frequently, 
>> but maybe not every time, math.py remains and I get an import error when 
>> Sage uses Sphinx to build the documentation.
>>
>
> It's also possible that I ran "./sage -f sphinx", too, in case that makes 
> a difference.
>
>  
>>
>>> FWIW pip keeps its own manifest of what files it installed, 
>>> so when you remove/upgrade a package it will normally remove all those 
>>> files first. 
>>>
>>
I just now checked out the git branch for #26451, ran "make build", then 
checked out develop, and ran "make". When it reached the docbuilding part 
of things, I got

[dochtml]     from math import sqrt
[dochtml] ImportError: cannot import name sqrt

because math.py remains in local/lib/python2.7/site-libraries/sphinx/util/

I did it again and the same thing happened (check out 26451, make build, 
check out develop, make).

-- 
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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to