Thu 2019-03-07 13:35:17 UTC+1, E. Madison Bray:
>
> In the spkg-build [1] for python2/3, there is a section toward the end
> which checks whether or not several required extension modules built
> successfully.  This is necessary, because the Python build system
> itself does not error out if some extension module fails to build
> (from the Python perspective most of these extension modules are
> technically optional, and it just builds as many of them as it can).
>
> Currently it only checks:
>
>     * ctypes
>     * math
>     * hashlib
>     * crypt
>     * readline
>     * socket
>
> And on MacOS it also checks for a module called "_scproxy".  I have no
> idea what that is or why it's only on MacOS.

This trac query

  https://trac.sagemath.org/query?order=id&desc=1&summary=~scproxy

lists this ticket

  https://trac.sagemath.org/ticket/17174

where we learn that

  This Python module is required by Cython.

> Since I think several people have had trouble with zlib on MacOS,
> especially since 10.14, we should probably add "zlib" to the above
> list, as it's certainly necessary for the Python "zlib" module to be
> available.  I would suggest we also go ahead and add "ssl" as well.  I
> don't think there's any reason anymore to not build Python with SSL
> support, and many people do so anyways without realizing it and then
> complain when they can't `pip install` anything.
>
> Perhaps as a middle ground the spkg-build could take an optional
> environment variable to *not* require SSL, but I would require it by
> default...
>
> -
>
> [1] 
https://gitlab.com/sagemath/sage/blob/master/build/pkgs/python3/spkg-build#L108 

Python 2.7.16 was released 2019-03-04, and that release's page at

    https://www.python.org/downloads/release/python-2716/ 

has the following note about OpenSSL: 

> Attention macOS users: As of 2.7.16, all current python.org macOS 
installers 
> ship with builtin copies of OpenSSL and !Tcl/Tk 8.6. 
> See the installer README for more information. 

If Python does it, can we also ship OpenSSL with our macOS binaries?

-- 
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