Re: [sage-release] Re: Sage 6.6.rc2 released

2015-04-07 Thread Volker Braun
I made http://trac.sagemath.org/ticket/18131 to deal with this


On Tuesday, April 7, 2015 at 10:56:41 AM UTC+2, Volker Braun wrote:

 I took a quick look at the pip sources and I think the ssl dependency can 
 be stubbed out relatively easily. Did anybody try this? Really we should 
 push this upstream, pip ought to be usable without ssl.



 On Tuesday, April 7, 2015 at 10:27:43 AM UTC+2, Thierry wrote:

 Hi, 

 this is a known issue : pip requires that Python is built with ssl, but 
 openssl cannot be standard because of licensing, hence pip can only be 
 used to install optional packages, see 
 http://trac.sagemath.org/ticket/17368 for a discussion. 

 The following should work if you do not have libssl-dev on your system: 

 cd $SAGE_ROOT 
 ./sage -i openssl 
 ./sage -f python 
 make 
 ./sage -pip install optional_package 

 Ciao, 
 Thierry 


 On Mon, Apr 06, 2015 at 06:37:52PM -0700, kcrisman wrote: 
  
  
   Apparently pip requires SSL... I take it you don't have a system-wide 
   openssl(-devel) installation? 
   
   
   
  I was indeed wondering whether that change would make any problems. 
 Also on 
  older installations?  (Namely, which OS X versions should we assume 
 will 
  have this?  I honestly don't know.) 
  
  -- 
  You received this message because you are subscribed to the Google 
 Groups sage-release group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an email to sage-release...@googlegroups.com. 
  To post to this group, send email to sage-r...@googlegroups.com. 
  Visit this group at http://groups.google.com/group/sage-release. 
  For more options, visit https://groups.google.com/d/optout. 



-- 
You received this message because you are subscribed to the Google Groups 
sage-release group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Sage 6.6.rc2 released

2015-04-07 Thread Francois Bissey
It depends. To just use pip as a local installer it probably will work
fine. If you want to connect to the pip repository to install extra
python packages you’ll need SSL (and a relatively recent one too).
The pip repo just won’t let you connect without SSL.

François

 On 7/04/2015, at 20:58, Volker Braun vbraun.n...@gmail.com wrote:
 
 I made http://trac.sagemath.org/ticket/18131 to deal with this
 
 
 On Tuesday, April 7, 2015 at 10:56:41 AM UTC+2, Volker Braun wrote:
 I took a quick look at the pip sources and I think the ssl dependency can be 
 stubbed out relatively easily. Did anybody try this? Really we should push 
 this upstream, pip ought to be usable without ssl.
 
 
 
 On Tuesday, April 7, 2015 at 10:27:43 AM UTC+2, Thierry wrote:
 Hi, 
 
 this is a known issue : pip requires that Python is built with ssl, but 
 openssl cannot be standard because of licensing, hence pip can only be 
 used to install optional packages, see 
 http://trac.sagemath.org/ticket/17368 for a discussion. 
 
 The following should work if you do not have libssl-dev on your system: 
 
 cd $SAGE_ROOT 
 ./sage -i openssl 
 ./sage -f python 
 make 
 ./sage -pip install optional_package 
 
 Ciao, 
 Thierry 
 
 
 On Mon, Apr 06, 2015 at 06:37:52PM -0700, kcrisman wrote: 
  
  
   Apparently pip requires SSL... I take it you don't have a system-wide 
   openssl(-devel) installation? 
   
   
   
  I was indeed wondering whether that change would make any problems. Also on 
  older installations?  (Namely, which OS X versions should we assume will 
  have this?  I honestly don't know.) 
  
  -- 
  You received this message because you are subscribed to the Google Groups 
  sage-release group. 
  To unsubscribe from this group and stop receiving emails from it, send an 
  email to sage-release...@googlegroups.com. 
  To post to this group, send email to sage-r...@googlegroups.com. 
  Visit this group at http://groups.google.com/group/sage-release. 
  For more options, visit https://groups.google.com/d/optout. 
 
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 sage-release group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to sage-release+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-release@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-release.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
sage-release group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


[sage-release] Re: Error building sagenb

2015-04-07 Thread Simon King
Hi Volker,

On 2015-04-07, Volker Braun vbraun.n...@gmail.com wrote:
 See http://trac.sagemath.org/ticket/18131

... which says pip requires ssl.

Does that mean openssl is not enough any more?

Best regards,
Simon


-- 
You received this message because you are subscribed to the Google Groups 
sage-release group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Sage 6.6.rc2 released

2015-04-07 Thread Volker Braun
Thats what I meant, provide stubs for when there is no ssl.


On Tuesday, April 7, 2015 at 12:47:40 PM UTC+2, François wrote:

 I realise that;s what you want to do personally but I understand other use 
 pip to supplement sage’s collection of packages. William probably 
 wouldn’t be happy with a package manager that cannot pull packages. 

 Now, if we can just make sure that pip doesn’t need SSL for local install 
 but can still use it to pull packages that’s a win for everybody. 

 François 
  On 7/04/2015, at 22:37, Volker Braun vbrau...@gmail.com javascript: 
 wrote: 
  
  Yes, we want to install local tarballs. 
  
  
  
  On Tuesday, April 7, 2015 at 11:37:46 AM UTC+2, François wrote: 
  It depends. To just use pip as a local installer it probably will work 
  fine. If you want to connect to the pip repository to install extra 
  python packages you’ll need SSL (and a relatively recent one too). 
  The pip repo just won’t let you connect without SSL. 
  
  François 
  
   On 7/04/2015, at 20:58, Volker Braun vbrau...@gmail.com wrote: 
   
   I made http://trac.sagemath.org/ticket/18131 to deal with this 
   
   
   On Tuesday, April 7, 2015 at 10:56:41 AM UTC+2, Volker Braun wrote: 
   I took a quick look at the pip sources and I think the ssl dependency 
 can be stubbed out relatively easily. Did anybody try this? Really we 
 should push this upstream, pip ought to be usable without ssl. 
   
   
   
   On Tuesday, April 7, 2015 at 10:27:43 AM UTC+2, Thierry wrote: 
   Hi, 
   
   this is a known issue : pip requires that Python is built with ssl, 
 but 
   openssl cannot be standard because of licensing, hence pip can only be 
   used to install optional packages, see 
   http://trac.sagemath.org/ticket/17368 for a discussion. 
   
   The following should work if you do not have libssl-dev on your 
 system: 
   
   cd $SAGE_ROOT 
   ./sage -i openssl 
   ./sage -f python 
   make 
   ./sage -pip install optional_package 
   
   Ciao, 
   Thierry 
   
   
   On Mon, Apr 06, 2015 at 06:37:52PM -0700, kcrisman wrote: 


 Apparently pip requires SSL... I take it you don't have a 
 system-wide 
 openssl(-devel) installation? 
 
 
 
I was indeed wondering whether that change would make any problems. 
 Also on 
older installations?  (Namely, which OS X versions should we assume 
 will 
have this?  I honestly don't know.) 

-- 
You received this message because you are subscribed to the Google 
 Groups sage-release group. 
To unsubscribe from this group and stop receiving emails from it, 
 send an email to sage-release...@googlegroups.com. 
To post to this group, send email to sage-r...@googlegroups.com. 
Visit this group at http://groups.google.com/group/sage-release. 
For more options, visit https://groups.google.com/d/optout. 
   
   
   -- 
   You received this message because you are subscribed to the Google 
 Groups sage-release group. 
   To unsubscribe from this group and stop receiving emails from it, send 
 an email to sage-release...@googlegroups.com. 
   To post to this group, send email to sage-r...@googlegroups.com. 
   Visit this group at http://groups.google.com/group/sage-release. 
   For more options, visit https://groups.google.com/d/optout. 
  
  
  -- 
  You received this message because you are subscribed to the Google 
 Groups sage-release group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an email to sage-release...@googlegroups.com javascript:. 
  To post to this group, send email to sage-r...@googlegroups.com 
 javascript:. 
  Visit this group at http://groups.google.com/group/sage-release. 
  For more options, visit https://groups.google.com/d/optout. 



-- 
You received this message because you are subscribed to the Google Groups 
sage-release group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Re: Error building sagenb

2015-04-07 Thread Vincent Delecroix
On 07/04/2015, Volker Braun vbraun.n...@gmail.com wrote:
 On Tuesday, April 7, 2015 at 1:04:57 PM UTC+2, Simon King wrote:

 PS: Where do I get the missing dependencies from? Apparently it was not
 enough to get libopenssl and libopenssl-devel (previously, I had
 libopenssl in 32 bit version, even though my machine is 64 bit; don't
 know what has happened there) and to do ./sage -f pip.



 Did you compile Sage after installing openssl-devel? Python must build the
 ssl module. Does import ssl work?

sage -f pip is not enough. Python itself must be compiled with ssl
support. So after installing libssl-dev you need to do
 sage -f python
 make
 sage -f pip

Vincent

-- 
You received this message because you are subscribed to the Google Groups 
sage-release group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


[sage-release] Re: Error building sagenb

2015-04-07 Thread Simon King
Hi François,

On 2015-04-07, Francois Bissey francois.bis...@canterbury.ac.nz wrote:
 pip came into play here:
 http://trac.sagemath.org/ticket/17913
 basically at least one component (webassets) keep being difficult with
 easy-install and the decision was made to use pip for sagenb.
 You are not the first one to see this and it means you probably don’t openssl
 development packages installed in your host distro.

I did install them today, and I did rebuild pip, namely sage -f pip,
after installing libopenssl-devel. I do not have libgnutls-openssl-devel
and not libopenssl-devel-32bit (I have a 64 bit openSUSE installation).

Best regards,
Simon


-- 
You received this message because you are subscribed to the Google Groups 
sage-release group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


[sage-release] Re: Error building sagenb

2015-04-07 Thread Simon King
Hi Volker,

On 2015-04-07, Volker Braun vbraun.n...@gmail.com wrote:
 Did you compile Sage after installing openssl-devel? Python must build the 
 ssl module. Does import ssl work? 

No, import ssl in sage-python fails with ImportError: No module named
_ssl (note the underscore).

What I did (without success) was make start. So, I take it that make
start would not recognise the presence of openssl-devel, so that I need
to rebuild sage-python by ./sage -f python, and then do make start
again.

Best regards,
Simon


-- 
You received this message because you are subscribed to the Google Groups 
sage-release group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Re: Error building sagenb

2015-04-07 Thread Jeroen Demeyer

On 2015-04-07 13:31, Vincent Delecroix wrote:

sage -f pip is not enough. Python itself must be compiled with ssl
support. So after installing libssl-dev you need to do
  sage -f python
  make
  sage -f pip


Since pip depends on Python, the following should be enough:

sage -f python
make

--
You received this message because you are subscribed to the Google Groups 
sage-release group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


[sage-release] Re: Error building sagenb

2015-04-07 Thread Simon King
Hi Jeroen,

On 2015-04-07, Jeroen Demeyer jdeme...@cage.ugent.be wrote:
 Since pip depends on Python, the following should be enough:

 sage -f python
 make

Yes, that did the job. Thank you very much!

Simon


-- 
You received this message because you are subscribed to the Google Groups 
sage-release group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.