[sage-devel] Re: What should Sage import by default?

2020-09-08 Thread John H Palmieri
Backward compatibility is not that convincing. If the items should not be imported (that is, if it was a mistake in some sense to import them), then we should fix that. Is there a good way to deprecate imports? (That is, print a warning the first time someone uses sys, for example?) Re

[sage-devel] Re: What should Sage import by default?

2020-09-08 Thread William
+1 to Nils remarks. Please also consider backward compatibility. If you remove a bunch of things, I'm probably just going to have to add them back on cocalc to avoid all the headaches of people's code breaking. There might be a ton of random code out there that will break if you remove a

Re: [sage-devel] Re: Silent mode for make and quiet mode for configure

2020-09-08 Thread Samuel Lelievre
Related quality-of-life ticket, for completeness: - "make distclean" should not run "./configure" https://trac.sagemath.org/ticket/29310 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails

Re: [sage-devel] Re: Silent mode for make and quiet mode for configure

2020-09-08 Thread Samuel Lelievre
2020-09-08 20:52:39 UTC, Michael Orlitzky: > > We could pretty easily add a -q (quiet) flag to ./bootstrap if it would > improve your quality of life. Mostly it involves not running `echo` in a > few places, and passing "-s" to "$(MAKE) bootstrap-clean". The only > thing remotely tricky would

Re: [sage-devel] Re: Silent mode for make and quiet mode for configure

2020-09-08 Thread Michael Orlitzky
On 2020-09-08 14:34, Samuel Lelievre wrote: > > No quiet or silent mode; `-s` is for "save", not "silent". > > Conclusion: sorry for all the noise about the quiet. > > Bootstrap does not make that much noise anyway. > We could pretty easily add a -q (quiet) flag to ./bootstrap if it would

Re: [sage-devel] Re: Silent mode for make and quiet mode for configure

2020-09-08 Thread Samuel Lelievre
Thanks. The relevant portions of the `bootstrap` script are: ``` usage () { echo >&2 "Usage: $0 [-d|-D|-s] [-u ] [-h]" } ``` ``` # Parse options SAVE=no DOWNLOAD=no ALWAYSDOWNLOAD=no CONFTARBALL_URL="" while getopts "Ddshu:" OPTION do case "$OPTION" in D) ALWAYSDOWNLOAD=yes;

Re: [sage-devel] trouble with oeis and ssl

2020-09-08 Thread 'Martin R' via sage-devel
Thank you, it seems to have found it now! (I did make clean, bootstrap, this told me to install gettext, then I ran configure, which told me again to install some more things, but already picked up the right python) Matthias Koeppe schrieb am Dienstag, 8. September 2020 um 19:36:29 UTC+2: >

Re: [sage-devel] Re: Silent mode for make and quiet mode for configure

2020-09-08 Thread Dima Pasechnik
On Tue, Sep 8, 2020 at 7:04 PM Samuel Lelievre wrote: > > Does `bootstrap` have a quiet mode? > > Trying `./bootstrap -q` failed, printing this line: > ``` > Usage: ./bootstrap [-d|-D|-s] [-u ] [-h] > ``` > > How can I learn about what the various possible > options (-d, -D, -s, -u , -h) do?

Re: [sage-devel] Re: Silent mode for make and quiet mode for configure

2020-09-08 Thread Samuel Lelievre
Does `bootstrap` have a quiet mode? Trying `./bootstrap -q` failed, printing this line: ``` Usage: ./bootstrap [-d|-D|-s] [-u ] [-h] ``` How can I learn about what the various possible options (-d, -D, -s, -u , -h) do? -- You received this message because you are subscribed to the Google

Re: [sage-devel] trouble with oeis and ssl

2020-09-08 Thread Matthias Koeppe
This is not the latest beta, or you forgot to run "./bootstrap". On Tuesday, September 8, 2020 at 10:29:09 AM UTC-7, Martin R wrote: > > The reason is interesting. What should I do now? > > ## Checking whether SageMath should install SPKG python3... ## > ##

Re: [sage-devel] trouble with oeis and ssl

2020-09-08 Thread 'Martin R' via sage-devel
The reason is interesting. What should I do now? ## Checking whether SageMath should install SPKG python3... ## ## ## configure:29618: checking whether any of sqlite libpng bzip2 xz libffi is installed as or will be installed as SPKG

Re: [sage-devel] trouble with oeis and ssl

2020-09-08 Thread Dima Pasechnik
On Tue, Sep 8, 2020 at 5:02 PM 'Martin R' via sage-devel wrote: > > My config.log says, after having done make clean and configure > --enable-openssl > > ## ## > ## Checking whether SageMath should install SPKG python3... ## > ##

Re: [sage-devel] trouble with oeis and ssl

2020-09-08 Thread 'Martin R' via sage-devel
My config.log says, after having done make clean and configure --enable-openssl ## ## ## Checking whether SageMath should install SPKG python3... ## ## ## configure:29580: python3

Re: [sage-devel] build errors on void linux

2020-09-08 Thread Dima Pasechnik
On Tue, Sep 8, 2020 at 4:32 PM Nicolo' Piazzalunga wrote: > > Would it be possible to create a new trac ticket with more void spkg's? sure - can you do this yourself? > I attach a patch for pari subpackages (waiting to be merged in void). > Leaving it open for a while will simplify adding spkg's

Re: [sage-devel] trouble with oeis and ssl

2020-09-08 Thread Dima Pasechnik
On Tuesday, September 8, 2020 at 4:00:33 PM UTC+1 axio...@yahoo.de wrote: > I'd be very grateful for all detail, because I'm not all that good at > performing rites. > oops, sorry, I thought you're on macOS :-) As that's a typical macOS trouble. > > Actually, my system python says: > >

Re: [sage-devel] trouble with oeis and ssl

2020-09-08 Thread Sébastien Labbé
see also this page: https://ask.sagemath.org/question/51130/ssl-error-using-sage-pip-install-to-download-a-package/ -- 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

Re: [sage-devel] build errors on void linux

2020-09-08 Thread Nicolo' Piazzalunga
Would it be possible to create a new trac ticket with more void spkg's? I attach a patch for pari subpackages (waiting to be merged in void). Leaving it open for a while will simplify adding spkg's and building. Thanks. -- You received this message because you are subscribed to the Google

Re: [sage-devel] trouble with oeis and ssl

2020-09-08 Thread 'Martin R' via sage-devel
I'd be very grateful for all detail, because I'm not all that good at performing rites. Actually, my system python says: martin@toolbox:~/sage-develop$ python Python 3.8.2 (default, Jul 16 2020, 14:00:26) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more

Re: [sage-devel] trouble with oeis and ssl

2020-09-08 Thread Dima Pasechnik
install python 3.8 from python.org, perform the necessary rite to bless the certs, and then let Sage use it rather than build its own Python. On Tue, 8 Sep 2020, 15:05 'Martin R' via sage-devel, < sage-devel@googlegroups.com> wrote: > I did make clean, configure --enable-openssl, make and it

Re: [sage-devel] trouble with oeis and ssl

2020-09-08 Thread 'Martin R' via sage-devel
I did make clean, configure --enable-openssl, make and it still fails :-( Martin R schrieb am Montag, 7. September 2020 um 21:23:20 UTC+2: > yes (I did this) and no (it didn't work). > John H Palmieri schrieb am Montag, 7. September 2020 um 20:54:37 UTC+2: > >> Did you do what Dima said, rebuild

[sage-devel] Re: What should Sage import by default?

2020-09-08 Thread Nils Bruin
On Tuesday, September 1, 2020 at 9:50:07 PM UTC-7, John H Palmieri wrote: > > There is a ticket (https://trac.sagemath.org/ticket/25383) about removing > some Sage functions from the global namespace, which I think is a good > idea. But Sage also imports some Python modules: > > - os > - sys >

[sage-devel] Re: What should Sage import by default?

2020-09-08 Thread Kwankyu Lee
+1 to keep operator in the global name space. The doctests of the coercion model assumes it. On Thursday, September 3, 2020 at 12:40:59 PM UTC+9 Andrey Novoseltsev wrote: > Perhaps it makes sense to keep "math related" imports given that we have a > bunch of other "math functionality"