Re: [sage-release] Re: Sage 9.3.beta1 released
On Fri, Nov 20, 2020 at 12:42 AM 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. the usual ssl blues, no? Can one use nodejs from Homebrew instead? (this is something we need to enable properly, via spkg-configure) > > 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 > > [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 urll
Re: [sage-release] Re: Sage 9.3.beta1 released
On Friday, November 20, 2020 at 12:32:38 AM UTC-8 Dima Pasechnik wrote: > Can one use nodejs from Homebrew instead? > (this is something we need to enable properly, via spkg-configure) > > Ticket https://trac.sagemath.org/ticket/30476, with the modest goal of just *documenting* how to get a fully functional Sage running in a system jupyter notebook or jupyterlab, needs help. -- 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/61aadd3a-f29d-4146-a749-5323572048a2n%40googlegroups.com.
[sage-release] Re: Sage 9.3.beta1 released
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 > > [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