Re: [sage-support] Re: failure to re-install ipython

2019-10-25 Thread Dima Pasechnik
On Fri, 25 Oct 2019, 20:00 John H Palmieri,  wrote:

>
>
> On Friday, October 25, 2019 at 2:59:36 AM UTC-7, Dima Pasechnik wrote:
>>
>> in the Sage 9.0.beta2 I get
>> 
>> [ipython-5.8.0] Successfully installed ipython-5.8.0
>> [ipython-5.8.0] Cleaning up...
>> [ipython-5.8.0] Removed build tracker '/tmp/pip-req-tracker-h6h22jg5'
>> [ipython-5.8.0]
>> [ipython-5.8.0] real 0m2.424s
>> [ipython-5.8.0] user 0m2.136s
>> [ipython-5.8.0] sys 0m0.398s
>> [ipython-5.8.0] Copying package files from temporary location
>> /mnt/opt/Sage/sage-dev/local/var/tmp/sage/build/ipython-5.8.0/inst to
>> /mnt/opt/Sage/sage-dev/local
>> [ipython-5.8.0] cp: not writing through dangling symlink
>> '/mnt/opt/Sage/sage-dev/local/./bin/ipython'
>> [ipython-5.8.0]
>> 
>> [ipython-5.8.0] Error copying files for ipython-5.8.0.
>>
>> 
>>
>> I had to apply
>>
>> diff --git a/build/pkgs/ipython/spkg-install
>> b/build/pkgs/ipython/spkg-install
>> index 07a28f951c..dd2fcdc698 100644
>> --- a/build/pkgs/ipython/spkg-install
>> +++ b/build/pkgs/ipython/spkg-install
>> @@ -4,6 +4,7 @@ if [ "$SAGE_LOCAL" = "" ]; then
>> exit 1
>>  fi
>>
>> +rm -f "$SAGE_LOCAL"/bin/ipython*
>>  cd src
>>
>>  sdh_pip_install .
>> @@ -12,10 +13,3 @@ if [ $? -ne 0 ]; then
>>  echo >&2 "Error installing IPython"
>>  exit 1
>>  fi
>> -
>> -# add symlink if we are running on python3
>> -if python -c 'import sys; sys.exit(sys.version_info.major != 3)'; then
>> -cd "$SAGE_LOCAL"/bin
>> -rm -f ipython
>> -ln -s ipython3 ipython
>> -fi
>>
>> to make it build. In particular the last chunk removed by this patch
>> looks as something outdated.
>>
>> Any ideas?
>>
>
> I just saw this problem today, too. I agree that the last chunk looks
> outdated.
>
> Just curious: what platform is this?
>

Gentoo Linux

>
> --
> John
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/b0be0cf0-7d8d-4d4b-b03a-e4a1db92611e%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq1JOnpqaa3De6pWysCZ7gaxZfUQaAp_yricoWn7%2BKLMRQ%40mail.gmail.com.


[sage-support] Re: failure to re-install ipython

2019-10-25 Thread John H Palmieri


On Friday, October 25, 2019 at 2:59:36 AM UTC-7, Dima Pasechnik wrote:
>
> in the Sage 9.0.beta2 I get 
>  
> [ipython-5.8.0] Successfully installed ipython-5.8.0 
> [ipython-5.8.0] Cleaning up... 
> [ipython-5.8.0] Removed build tracker '/tmp/pip-req-tracker-h6h22jg5' 
> [ipython-5.8.0] 
> [ipython-5.8.0] real 0m2.424s 
> [ipython-5.8.0] user 0m2.136s 
> [ipython-5.8.0] sys 0m0.398s 
> [ipython-5.8.0] Copying package files from temporary location 
> /mnt/opt/Sage/sage-dev/local/var/tmp/sage/build/ipython-5.8.0/inst to 
> /mnt/opt/Sage/sage-dev/local 
> [ipython-5.8.0] cp: not writing through dangling symlink 
> '/mnt/opt/Sage/sage-dev/local/./bin/ipython' 
> [ipython-5.8.0] 
>  
> [ipython-5.8.0] Error copying files for ipython-5.8.0. 
>
>  
>
> I had to apply 
>
> diff --git a/build/pkgs/ipython/spkg-install 
> b/build/pkgs/ipython/spkg-install 
> index 07a28f951c..dd2fcdc698 100644 
> --- a/build/pkgs/ipython/spkg-install 
> +++ b/build/pkgs/ipython/spkg-install 
> @@ -4,6 +4,7 @@ if [ "$SAGE_LOCAL" = "" ]; then 
> exit 1 
>  fi 
>
> +rm -f "$SAGE_LOCAL"/bin/ipython* 
>  cd src 
>
>  sdh_pip_install . 
> @@ -12,10 +13,3 @@ if [ $? -ne 0 ]; then 
>  echo >&2 "Error installing IPython" 
>  exit 1 
>  fi 
> - 
> -# add symlink if we are running on python3 
> -if python -c 'import sys; sys.exit(sys.version_info.major != 3)'; then 
> -cd "$SAGE_LOCAL"/bin 
> -rm -f ipython 
> -ln -s ipython3 ipython 
> -fi 
>
> to make it build. In particular the last chunk removed by this patch 
> looks as something outdated. 
>
> Any ideas? 
>

I just saw this problem today, too. I agree that the last chunk looks 
outdated. 

Just curious: what platform is this? 

-- 
John

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/b0be0cf0-7d8d-4d4b-b03a-e4a1db92611e%40googlegroups.com.