Samuel, you didn't include config.log, but my guess is that it would reveal 
that you are not using python3 from system or homebrew. config.log contains 
the relevant information why the system python3 is rejected by Sage.

On Thursday, November 19, 2020 at 4:42:07 PM UTC-8 Samuel Lelievre wrote:

>
> > From: Volker
> > Subject: Sage 9.3.beta1 released
> >
> > 222059565b (tag: 9.3.beta1, trac/develop)
> > Updated SageMath version to 9.3.beta1
>
> Thanks for this new release!
>
> All tests passed here when running  `make testlong`
> (more detail below), but I could not install JupyterLab.
>
> Setup
>
> - macOS 10.14.6 Mojave
> - many homebrew packages
> - existing Sage installation previously at some 9.2.rcN
>
> Commands
>
> ```
> $ git pull origin develop -q
> $ source .homebrew-build-env
> $ MAKE='make -j1'
> $ V=0
> $ ./bootstrap -q
> $ ./configure --enable-openssl -q
> $ make -s V=0 && make -s V=0 testlong
> ...
> All tests passed!
> ```
>
> ```
> $ V=0 ./sage -i jupyterlab_widgets
> ...
> [nodeenv] Requirement already satisfied: nodeenv~=1.4.0 in 
> /opt/s/sage93b/local/lib/python3.8/site-packages (from -r 
> /opt/s/sage93b/build/pkgs/nodeenv/requirements.txt (line 1)) (1.4.0)
> make --no-print-directory nodejs-no-deps
> cd '/opt/s/sage93b/build/pkgs/nodejs' && . 
> '/opt/s/sage93b/src/bin/sage-env-config' && . 
> '/opt/s/sage93b/src/bin/sage-env' && . 
> '/opt/s/sage93b/build/bin/sage-build-env-config' && sage-logger -p 
> '/opt/s/sage93b/build/pkgs/nodejs/spkg-install' 
> '/opt/s/sage93b/logs/pkgs/nodejs-12.18.3.log'
> [nodejs-12.18.3] Will use/install nodejs in nodeenv located at 
> /opt/s/sage93b/local/share/nodejs/12.18.3 ...
> [nodejs-12.18.3]  * Environment already exists: 
> /opt/s/sage93b/local/share/nodejs/12.18.3
> [nodejs-12.18.3]  * Install prebuilt node (12.18.3) .
> [nodejs-12.18.3] Traceback (most recent call last):
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/urllib/request.py", line 1350, in 
> do_open
> [nodejs-12.18.3]     h.request(req.get_method(), req.selector, req.data, 
> headers,
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/http/client.py", line 1255, in request
> [nodejs-12.18.3]     self._send_request(method, url, body, headers, 
> encode_chunked)
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/http/client.py", line 1301, in 
> _send_request
> [nodejs-12.18.3]     self.endheaders(body, encode_chunked=encode_chunked)
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/http/client.py", line 1250, in 
> endheaders
> [nodejs-12.18.3]     self._send_output(message_body, 
> encode_chunked=encode_chunked)
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/http/client.py", line 1010, in 
> _send_output
> [nodejs-12.18.3]     self.send(msg)
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/http/client.py", line 950, in send
> [nodejs-12.18.3]     self.connect()
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/http/client.py", line 1424, in connect
> [nodejs-12.18.3]     self.sock = self._context.wrap_socket(self.sock,
> [nodejs-12.18.3]   File "/opt/s/sage93b/local/lib/python3.8/ssl.py", line 
> 500, in wrap_socket
> [nodejs-12.18.3]     return self.sslsocket_class._create(
> [nodejs-12.18.3]   File "/opt/s/sage93b/local/lib/python3.8/ssl.py", line 
> 1040, in _create
> [nodejs-12.18.3]     self.do_handshake()
> [nodejs-12.18.3]   File "/opt/s/sage93b/local/lib/python3.8/ssl.py", line 
> 1309, in do_handshake
> [nodejs-12.18.3]     self._sslobj.do_handshake()
> [nodejs-12.18.3] ssl.SSLCertVerificationError: [SSL: 
> CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local 
> issuer certificate (_ssl.c:1123)
> [nodejs-12.18.3]
> [nodejs-12.18.3] During handling of the above exception, another exception 
> occurred:
> [nodejs-12.18.3]
> [nodejs-12.18.3] Traceback (most recent call last):
> [nodejs-12.18.3]   File "/opt/s/sage93b/local/bin/nodeenv", line 8, in 
> <module>
> [nodejs-12.18.3]     sys.exit(main())
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/site-packages/nodeenv.py", line 1046, 
> in main
> [nodejs-12.18.3]     create_environment(env_dir, opt)
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/site-packages/nodeenv.py", line 935, in 
> create_environment
> [nodejs-12.18.3]     install_node(env_dir, src_dir, opt)
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/site-packages/nodeenv.py", line 700, in 
> install_node
> [nodejs-12.18.3]     install_node_wrapped(env_dir, src_dir, opt)
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/site-packages/nodeenv.py", line 722, in 
> install_node_wrapped
> [nodejs-12.18.3]     download_node_src(node_url, src_dir, opt)
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/site-packages/nodeenv.py", line 553, in 
> download_node_src
> [nodejs-12.18.3]     dl_contents = io.BytesIO(urlopen(node_url).read())
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/site-packages/nodeenv.py", line 585, in 
> urlopen
> [nodejs-12.18.3]     return urllib2.urlopen(req)
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/urllib/request.py", line 222, in urlopen
> [nodejs-12.18.3]     return opener.open(url, data, timeout)
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/urllib/request.py", line 525, in open
> [nodejs-12.18.3]     response = self._open(req, data)
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/urllib/request.py", line 542, in _open
> [nodejs-12.18.3]     result = self._call_chain(self.handle_open, protocol, 
> protocol +
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/urllib/request.py", line 502, in 
> _call_chain
> [nodejs-12.18.3]     result = func(*args)
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/urllib/request.py", line 1393, in 
> https_open
> [nodejs-12.18.3]     return self.do_open(http.client.HTTPSConnection, req,
> [nodejs-12.18.3]   File 
> "/opt/s/sage93b/local/lib/python3.8/urllib/request.py", line 1353, in 
> do_open
> [nodejs-12.18.3]     raise URLError(err)
> [nodejs-12.18.3] urllib.error.URLError: <urlopen error [SSL: 
> CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local 
> issuer certificate (_ssl.c:1123)>
> [nodejs-12.18.3] Error installing nodejs ... exiting
> make[2]: *** [nodejs-no-deps] Error 1
> make[1]: *** [/opt/s/sage93b/local/var/lib/sage/installed/nodejs-12.18.3] 
> Error 2
>
> real 0m5.159s
> user 0m3.140s
> sys 0m1.242s
> ***************************************************************
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make jupyterlab_widgets'):
>
> * package:         nodejs-12.18.3
>   last build time: Nov 18 15:50
>   log file:        /opt/s/sage93b/logs/pkgs/nodejs-12.18.3.log
>
> It is safe to delete any log files and build directories, but they
> contain information that is helpful for debugging build problems.
> WARNING: If you now run 'make' again, the build directory of the
> same version of the package will, by default, be deleted. Set the
> environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
>
> make: *** [jupyterlab_widgets] Error 1
> ```
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/698e56ac-0517-4467-bb6f-972be94236f3n%40googlegroups.com.

Reply via email to