[sage-release] Sage 9.3.beta2 released

2020-11-24 Thread Volker Braun
As always, you can get the latest beta version from the "develop" git 
branch. Alternatively, the self-contained source tarball is at 
http://www.sagemath.org/download-latest.html 

020bd59ec2 (tag: 9.3.beta2, trac/develop) Updated SageMath version to 
9.3.beta2
ee1d038453 Trac #25488: Improved Kash interface
8bf3f4c944 Trac #16804: points() has problems with some lists of complexes 
containing real (i.e. imag(x)==0) values.
253c17dd35 Trac #14509: Fix LaTeX of free algebras (and repr_lincomb)
7adc2a9160 Trac #30937: Improve error message for jmol
fad5b5b093 Trac #30932: some details in global options
aa85a69719 Trac #30927: Frobenius endomorphisms of p-adic fields pickle 
incorrectly
40c167483f Trac #30923: tox.ini: Add environments 
local-sudo-ubuntu-standard, etc.
a91d4b5f52 Trac #30920: refresh affine crystal
d23d3144cc Trac #30919: small change in one dict for preparser for python 
3.9
77a020fda7 Trac #30918: one more stable doctest in mutable poset
ec33e38631 Trac #30909: doc tweaks in OEIS
d9e021e6eb Trac #30908: get rid of CombinatorialClass in combination.py
9876939b1f Trac #30907: get rid of CombinatorialClass in parking
dd5070 Trac #30904: changes in shuffle_product
b1c3cc831b Trac #30902: let NCSF know that it is cocommutative
3a662d4d96 Trac #30899: igraph, python-igraph: Update to 0.8.3
5b01884dd2 Trac #30889: remove  CombinatorialAlgebra
7f20b28c6c Trac #30883: Update instructions for conda to use miniforge
9d3278d239 Trac #30881: remove the unused file group_homset
e70b894680 Trac #30880: flake8 for multi_polynomial_ideal.py
da925cb064 Trac #30878: some flake8 details in backend normaliz
60cbf36695 Trac #30873: Fix test failures in distro packages after #25825
b007a8e392 Trac #30871: symmetric functions are commutative
fe12787424 Trac #30869: Some computation hangs in Multizeta
17feb0a0db Trac #30866: remove broken --upgrade option from sage
1a32e62ab9 Trac #30864: Comparison of power series
457a5932ad Trac #30858: add giac to build/pkgs/sagelib/dependencies
5c6da01b89 Trac #30856: get rid of EMBEDDED_MODE from plot.plot
d03689bd25 Trac #30852: let sagelib and sage_sws2rst not depend on six
324b53b9a8 Trac #30851: single-valued multizeta
334dde64cb Trac #30849: Make gcd/lcm interact better with pari and gmpy2
84e9a4d044 Trac #30844: better maple conversion for symbolic matrices
87c261ae60 Trac #30843: AbelianGroup_gap quotient group
7e4ea978a0 Trac #30840: small improvement in Hasse diagram
bb31b65353 Trac #30830: Subintervals of OpenInterval and 
UniqueRepresentation
1101a45f53 Trac #30812: some details in the det method for general matrices
96df69332a Trac #30804: Add Spheres smoothly embedded in Euclidean Space to 
Manifold Catalog
2cd4f829da Trac #30784: sage.matrix: Resolve circular imports without using 
__init__.py
496b3f6d08 Trac #30780: sage_setup: Separate installing and cleaning
772b0cf365 Trac #30704: Upgrade to Normaliz 3.8.9 and PyNormaliz 2.13
5a984431b4 Trac #30611: Upgrade various Python packages for Sage 9.3
027ca17304 Trac #18036: I.parent() should not be the symbolic ring
92e54d90e2 Trac #30733: GH Actions: Remove use of deprecated set-env command
f3a5612806 Trac #30776: Implement an improved subgraph test for graph 
backends
ae66d47c44 Trac #30765: Adapt to deprecation of seeding based on hashing in 
Python 3.9
1ac30abb02 Trac #30724: src/bin/sage-env, src/bin/sage-env-config.in: 
Remove PYTHON_FOR_VENV
3b0553fc3f Trac #30709: Extract cython config to new module
1bf46183f2 Trac #30706: Make sage.env.cython_aliases more flexible 
regarding what pkgconfig files for BLAS are required
7863f17c27 Trac #30404: Add pyright and pycodestyle checks as Github actions
e4f2646103 Trac #29951: src/bin/sage-env: Make SAGE_ROOT and SAGE_LOCAL 
optional
3283d50818 Trac #30874: update planarity
f0d19808ec Trac #30719: Add build/pkgs/SPKG/install-requires.txt for all 
Python packages, remove some unneeded packages
54e53cd8f0 Trac #30744: Symplectic derivation Lie algebra
f0ac785482 Trac #30648: sage --package download is broken
ffa1106a54 Trac #30633: sympow gives "RuntimeError: failed to compute 
analytic rank" doctest failures
527ccbdded Trac #30627: Rename build/bin/sage-system-python to 
sage-bootstrap-python
a3fb5aa685 Trac #30524: Remove `maybe_newfaces` in combinatorial polyhedron
7e1fdf7489 Trac #30040: Improve face iterator for simple/simplicial 
polytopes
ff70229355 Trac #29630: spkg-configure.m4 for libhomfly
430c549394 Trac #29719: upgrade to flint 2.6.3
532e475dbf Trac #30867: Remove mac app
222059565b (tag: 9.3.beta1) Updated SageMath version to 9.3.beta1

-- 
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/513fadb0-3430-4e75-af1b-9ec7e38abfe8n%40googlegroups.com.


Re: [sage-release] Sage 9.3.beta2 released

2020-11-25 Thread Thierry Dumont

On my Ubuntu 20-10, upgrading from 9.3 beta 1, make ptestlong:

-
sage -t --long --warn-long 89.4 --random-seed=0 
src/sage/interfaces/singular.py

 # Killed due to segmentation fault
sage -t --long --warn-long 89.4 --random-seed=0 
src/sage/modules/fg_pid/fgp_module.py  # 3 doctests failed
sage -t --long --warn-long 89.4 --random-seed=0 
src/sage/interfaces/sagespawn.pyx  # 1 doctest failed
sage -t --long --warn-long 89.4 --random-seed=0 
src/sage/modules/free_module_morphism.py  # 3 doctests failed
sage -t --long --warn-long 89.4 --random-seed=0 
src/doc/en/constructions/algebraic_geometry.rst  # 1 doctest failed
sage -t --long --warn-long 89.4 --random-seed=0 
src/doc/en/developer/coding_in_other.rst  # 1 doctest failed

--

--
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/aee10c7d-0b22-18d3-09b3-cb413a3bcbe1%40math.univ-lyon1.fr.


Re: [sage-release] Sage 9.3.beta2 released

2020-11-26 Thread Dima Pasechnik
A number of tests in your case fail due to a Japanese locale problem, e.g.

Failed example:
sage.misc.sageinspect.sage_getargspec(r.lm)
Expected:
ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
Got:
 起動準備中です -  警告メッセージ:
1: Setting LC_COLLATE failed, using "C"
2: Setting LC_TIME failed, using "C"
3: Setting LC_MESSAGES failed, using "C"
4: Setting LC_MONETARY failed, using "C"
ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)

I am not sure what's going on there. It looks like these are coming from
a non-Sage python module, such as re.
What is the output of

sage: import locale
sage: locale.setlocale(locale.LC_ALL, '')

on your system?




On Thu, Nov 26, 2020 at 9:53 AM Kenji Iohara  wrote:
>
> I have updated to Mac OS 11.0.1 and the compilation from the first built done 
> without problem !
> However, for make ptestlong, there are several errors:
>
> --
> 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/25C8E4CC-C2F5-4E9A-B5D2-51971F40C185%40gmail.com.
>
>
> 25/11/2020 22:59、Emmanuel Charpentier のメール:
>
> On Debian testing running on core 17 + 16 GB RAM, upgrading (including 
> bootstrap and configure) and running ptestlong led to no transient and one 
> permanent failure as follows :
>
> charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long 168.6 
> --random-seed=0 src/sage/misc/trace.py
> Running doctests with ID 2020-11-25-22-51-10-7a62d8a2.
> Git branch: develop
> Using 
> --optional=build,cbc,debian,dochtml,dot2tex,fricas,gap_jupyter,memlimit,pari_jupyter,pip,pysingular,saclib,sage,sage_numerical_backends_coin,sage_spkg,singular_jupyter
> Doctesting 1 file.
> sage -t --long --warn-long 168.6 --random-seed=0 src/sage/misc/trace.py
> **
> File "src/sage/misc/trace.py", line 67, in sage.misc.trace.trace
> Failed example:
> print(s.before[s.before.find(b'--'):].decode())
> Expected:
> --...
> ipdb> c
> 2 * 5
> Got:
> --Call--
> > 
> /usr/local/sage-9/local/lib/python3.8/site-packages/sage/arith/misc.py(2422)factor()
>2420 
>2421 
> -> 2422 def 
> factor(n,
>  
> proof=None,
>  
> int_=False,
>  
> algorithm='pari',
>  
> verbose=0,
>  
> **kwds):
>2423 """
>2424 Return 
> the factorization 
> of 
> ``n``.
>   The result depends 
> on 
> the
> 
> ipdb> c
> 2 * 5CSI-?2004l>
> 
> **
> 1 item had failures:
>1 of  11 in sage.misc.trace.trace
> [10 tests, 1 failure, 5.18 s]
> --
> sage -t --long --warn-long 168.6 --random-seed=0 src/sage/misc/trace.py  # 1 
> doctest failed
> --
> Total time for all tests: 5.2 seconds
> cpu time: 0.0 seconds
> cumulative wall time: 5.2 seconds
>
> All other previously reported failures disappeared.
>
> Of note : configurestill asked for the installation of packages already 
> installed, and reinstaling them had no effect.
>
> HTH,
>
>
>
> Le mercredi 25 novembre 2020 à 00:26:08 UTC+1, Volker Braun a écrit :
>>
>> As always, you can get the latest beta version from the "develop" git 
>> branch. Alternatively, the self-contained source tarball is at 
>> http://www.sagemath.org/download-latest.html
>>
>> 020bd59ec2 (tag: 9.3.beta2, trac/develop) Updated SageMath version to 
>> 9.3.beta2
>> ee1d038453 Trac #25488: Improved Kash interface
>> 8bf3f4c944 Trac #16804: points() has problems with some lists of complexes 
>> containing real (i.e. imag(x)==0) values.
>> 253c17dd35 Trac #14509: Fix LaTeX of free algebras (and repr_lincomb)
>> 7adc2a9160 Trac #30937: Improve error message for jmol
>> fad5b5b093 Trac #30932: some details in global options
>> aa85a69719 Trac #30927: Frobenius endomorphisms of p-adic fields pickle 
>> incorrectly
>> 40c167483f Trac #30923: tox.ini: Add environments 
>> local-sudo-ubuntu-standard, etc.
>> a91d4b5f52 Trac #30920: refresh affine crystal
>> d23d3144cc Trac #30919: small change in one dict for preparser for python 3.9
>> 77a020fda7 Trac #30918: one more stable doctest in mutable poset
>> ec33e38631 Trac #30909: doc tweaks in OEIS
>> d9e021e6eb Trac #30908: get rid of CombinatorialClass in combination.py
>> 9876939b1f Trac #30907: get rid of CombinatorialClass in parking
>> dd5070 Trac #30904: changes in shuffle_product
>> b1c3cc831b Trac #30902: let NCSF know that it is cocommutative
>> 3a662d4d96 Trac #30899: igraph, python-igraph: Update to 0.8.3
>> 5b01884dd2 Trac #30889: remove  CombinatorialAlgebra
>> 7f20b28c6c Trac #30

Re: [sage-release] Sage 9.3.beta2 released

2020-11-26 Thread Kenji Iohara
I am sorry for this Japanese…..


> 起動準備中です -  警告メッセージ:this means<< in preparation for booting…  Warning 
> message >>

It gives me


sage: import locale 
sage: locale.setlocale(locale.LC_ALL,") 
  File "", line 1
locale.setlocale(locale.LC_ALL,")
 ^
SyntaxError: EOL while scanning string literal

Does this tell you something ?


> 26/11/2020 21:35、Dima Pasechnik のメール:
> 
> A number of tests in your case fail due to a Japanese locale problem, e.g.
> 
> Failed example:
>sage.misc.sageinspect.sage_getargspec(r.lm)
> Expected:
>ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
> Got:
> 起動準備中です -  警告メッセージ:
>1: Setting LC_COLLATE failed, using "C"
>2: Setting LC_TIME failed, using "C"
>3: Setting LC_MESSAGES failed, using "C"
>4: Setting LC_MONETARY failed, using "C"
>ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
> 
> I am not sure what's going on there. It looks like these are coming from
> a non-Sage python module, such as re.
> What is the output of
> 
> sage: import locale
> sage: locale.setlocale(locale.LC_ALL, '')
> 
> on your system?
> 
> 
> 
> 
> On Thu, Nov 26, 2020 at 9:53 AM Kenji Iohara  > wrote:
>> 
>> I have updated to Mac OS 11.0.1 and the compilation from the first built 
>> done without problem !
>> However, for make ptestlong, there are several errors:
>> 
>> --
>> 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/25C8E4CC-C2F5-4E9A-B5D2-51971F40C185%40gmail.com
>>  
>> .
>> 
>> 
>> 25/11/2020 22:59、Emmanuel Charpentier のメール:
>> 
>> On Debian testing running on core 17 + 16 GB RAM, upgrading (including 
>> bootstrap and configure) and running ptestlong led to no transient and one 
>> permanent failure as follows :
>> 
>> charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long 168.6 
>> --random-seed=0 src/sage/misc/trace.py
>> Running doctests with ID 2020-11-25-22-51-10-7a62d8a2.
>> Git branch: develop
>> Using 
>> --optional=build,cbc,debian,dochtml,dot2tex,fricas,gap_jupyter,memlimit,pari_jupyter,pip,pysingular,saclib,sage,sage_numerical_backends_coin,sage_spkg,singular_jupyter
>> Doctesting 1 file.
>> sage -t --long --warn-long 168.6 --random-seed=0 src/sage/misc/trace.py
>> **
>> File "src/sage/misc/trace.py", line 67, in sage.misc.trace.trace
>> Failed example:
>>print(s.before[s.before.find(b'--'):].decode())
>> Expected:
>>--...
>>ipdb> c
>>2 * 5
>> Got:
>>--Call--
>>> /usr/local/sage-9/local/lib/python3.8/site-packages/sage/arith/misc.py(2422)factor()
>>   2420 
>>   2421 
>>-> 2422 def 
>> factor(n,
>>  
>> proof=None,
>>  
>> int_=False,
>>  
>> algorithm='pari',
>>  
>> verbose=0,
>>  
>> **kwds):
>>   2423 """
>>   2424 Return 
>> the factorization 
>> of 
>> ``n``.
>>   The result depends 
>> on 
>> the
>>
>>ipdb> c
>> 2 * 5CSI-?2004l>
>>
>> **
>> 1 item had failures:
>>   1 of  11 in sage.misc.trace.trace
>>[10 tests, 1 failure, 5.18 s]
>> --
>> sage -t --long --warn-long 168.6 --random-seed=0 src/sage/misc/trace.py  # 1 
>> doctest failed
>> --
>> Total time for all tests: 5.2 seconds
>>cpu time: 0.0 seconds
>>cumulative wall time: 5.2 seconds
>> 
>> All other previously reported failures disappeared.
>> 
>> Of note : configurestill asked for the installation of packages already 
>> installed, and reinstaling them had no effect.
>> 
>> HTH,
>> 
>> 
>> 
>> Le mercredi 25 novembre 2020 à 00:26:08 UTC+1, Volker Braun a écrit :
>>> 
>>> As always, you can get the latest beta version from the "develop" git 
>>> branch. Alternatively, the self-contained source tarball is at 
>>> http://www.sagemath.org/download-latest.html
>>> 
>>> 020bd59ec2 (tag: 9.3.beta2, trac/develop) Updated SageMath version to 
>>> 9.3.beta2
>>> ee1d038453 Trac #25488: Improved Kash interface
>>> 8bf3f4c944 Trac #16804: points() has problems with some lists of complexes 
>>> containing real (i.e. imag(x)==0) values.
>>> 253c17dd35 Trac #14509: Fix LaTeX of free algebras (and repr_lincomb)
>>> 7adc2a9160 Trac #30937: Improve error message for jmol
>>> fad5b5b093 Trac #30932: some detai

Re: [sage-release] Sage 9.3.beta2 released

2020-11-26 Thread Dima Pasechnik
On Thu, 26 Nov 2020, 20:39 Kenji Iohara,  wrote:

> I am sorry for this Japanese…..
>
>
> 起動準備中です -  警告メッセージ:this means<< in preparation for booting…
>  Warning message >>
>
>
> It gives me
>
>
> sage: *import* *locale*
>
> sage: locale.setlocale(locale.LC_ALL,")
>
>   File "", line 1
> locale.setlocale(locale.LC_ALL,")
>  ^
> SyntaxError: EOL while scanning string literal
>
> Does this tell you something ?
>

oops, sorry, there is " there, but it should be two ' characters one after
another.


>
> 26/11/2020 21:35、Dima Pasechnik のメール:
>
> A number of tests in your case fail due to a Japanese locale problem, e.g.
>
> Failed example:
>sage.misc.sageinspect.sage_getargspec(r.lm)
> Expected:
>ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
> Got:
> 起動準備中です -  警告メッセージ:
>1: Setting LC_COLLATE failed, using "C"
>2: Setting LC_TIME failed, using "C"
>3: Setting LC_MESSAGES failed, using "C"
>4: Setting LC_MONETARY failed, using "C"
>ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
>
> I am not sure what's going on there. It looks like these are coming from
> a non-Sage python module, such as re.
> What is the output of
>
> sage: import locale
> sage: locale.setlocale(locale.LC_ALL, '')
>
> on your system?
>
>
>
>
> On Thu, Nov 26, 2020 at 9:53 AM Kenji Iohara 
> wrote:
>
>
> I have updated to Mac OS 11.0.1 and the compilation from the first built
> done without problem !
> However, for make ptestlong, there are several errors:
>
> --
> 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/25C8E4CC-C2F5-4E9A-B5D2-51971F40C185%40gmail.com
> .
>
>
> 25/11/2020 22:59、Emmanuel Charpentier のメール:
>
> On Debian testing running on core 17 + 16 GB RAM, upgrading (including
> bootstrap and configure) and running ptestlong led to no transient and one
> permanent failure as follows :
>
> charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long
> 168.6 --random-seed=0 src/sage/misc/trace.py
> Running doctests with ID 2020-11-25-22-51-10-7a62d8a2.
> Git branch: develop
> Using
> --optional=build,cbc,debian,dochtml,dot2tex,fricas,gap_jupyter,memlimit,pari_jupyter,pip,pysingular,saclib,sage,sage_numerical_backends_coin,sage_spkg,singular_jupyter
> Doctesting 1 file.
> sage -t --long --warn-long 168.6 --random-seed=0 src/sage/misc/trace.py
> **
> File "src/sage/misc/trace.py", line 67, in sage.misc.trace.trace
> Failed example:
>print(s.before[s.before.find(b'--'):].decode())
> Expected:
>--...
>ipdb> c
>2 * 5
> Got:
>--Call--
>
>
> /usr/local/sage-9/local/lib/python3.8/site-packages/sage/arith/misc.py(2422)factor()
>
>   2420 
>   2421 
>-> 2422 def
> factor(n,
> proof=None,
> int_=False,
> algorithm='pari',
> verbose=0,
> **kwds):
>   2423 """
>   2424 Return
> the factorization
> of
> ``n``.
>  The result depends
> on
> the
>
>ipdb> c
> 2 * 5CSI-?2004l>
>
> **
> 1 item had failures:
>   1 of  11 in sage.misc.trace.trace
>[10 tests, 1 failure, 5.18 s]
> --
> sage -t --long --warn-long 168.6 --random-seed=0 src/sage/misc/trace.py  #
> 1 doctest failed
> --
> Total time for all tests: 5.2 seconds
>cpu time: 0.0 seconds
>cumulative wall time: 5.2 seconds
>
> All other previously reported failures disappeared.
>
> Of note : configurestill asked for the installation of packages already
> installed, and reinstaling them had no effect.
>
> HTH,
>
>
>
> Le mercredi 25 novembre 2020 à 00:26:08 UTC+1, Volker Braun a écrit :
>
>
> As always, you can get the latest beta version from the "develop" git
> branch. Alternatively, the self-contained source tarball is at
> http://www.sagemath.org/download-latest.html
>
> 020bd59ec2 (tag: 9.3.beta2, trac/develop) Updated SageMath version to
> 9.3.beta2
> ee1d038453 Trac #25488: Improved Kash interface
> 8bf3f4c944 Trac #16804: points() has problems with some lists of complexes
> containing real (i.e. imag(x)==0) values.
> 253c17dd35 Trac #14509: Fix LaTeX of free algebras (and repr_lincomb)
> 7adc2a9160 Trac #30937: Improve error message for jmol
> fad5b5b093 Trac #30932: some details in global options
> aa85a69719 Trac #30927: Frobenius endomorphisms of p-adic fields pickle
> incorrectly
> 40c167483f Trac #30923: tox.ini: Add environments
> local-sudo-ubuntu-standard, etc.
> a91d4b5f52 Trac #30920: refresh affine crystal
> d23d3144cc Trac #30919: small change in on

Re: [sage-release] Sage 9.3.beta2 released

2020-11-26 Thread Kenji Iohara
Dima, 

 It gives me 

sage: import locale 
sage: locale.setlocale(locale.LC_ALL,")" 
:  


or


sage: import locale 
sage: locale.setlocale(locale.LC_ALL,'')''  
  File "", line 1
locale.setlocale(locale.LC_ALL,'')''
  ^
SyntaxError: invalid syntax

or

sage: import locale 
sage: locale.setlocale(locale.LC_ALL,")''   
  File "", line 1
locale.setlocale(locale.LC_ALL,")''
   ^
SyntaxError: EOL while scanning string literal


…. Is this alright ??

> 26/11/2020 22:09、Dima Pasechnik のメール:
> 
> 
> 
> On Thu, 26 Nov 2020, 20:39 Kenji Iohara,  > wrote:
> I am sorry for this Japanese…..
> 
> 
>> 起動準備中です -  警告メッセージ:this means<< in preparation for booting…  Warning 
>> message >>
> 
> It gives me
> 
> 
> sage: import locale   
>   
> sage: locale.setlocale(locale.LC_ALL,")   
>   
>   File "", line 1
> locale.setlocale(locale.LC_ALL,")
>  ^
> SyntaxError: EOL while scanning string literal
> 
> Does this tell you something ?
> 
> oops, sorry, there is " there, but it should be two ' characters one after 
> another.
> 
> 
> 
>> 26/11/2020 21:35、Dima Pasechnik > >のメール:
>> 
>> A number of tests in your case fail due to a Japanese locale problem, e.g.
>> 
>> Failed example:
>>sage.misc.sageinspect.sage_getargspec(r.lm)
>> Expected:
>>ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
>> Got:
>> 起動準備中です -  警告メッセージ:
>>1: Setting LC_COLLATE failed, using "C"
>>2: Setting LC_TIME failed, using "C"
>>3: Setting LC_MESSAGES failed, using "C"
>>4: Setting LC_MONETARY failed, using "C"
>>ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
>> 
>> I am not sure what's going on there. It looks like these are coming from
>> a non-Sage python module, such as re.
>> What is the output of
>> 
>> sage: import locale
>> sage: locale.setlocale(locale.LC_ALL, '')
>> 
>> on your system?
>> 
>> 
>> 
>> 
>> On Thu, Nov 26, 2020 at 9:53 AM Kenji Iohara > > wrote:
>>> 
>>> I have updated to Mac OS 11.0.1 and the compilation from the first built 
>>> done without problem !
>>> However, for make ptestlong, there are several errors:
>>> 
>>> --
>>> 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/25C8E4CC-C2F5-4E9A-B5D2-51971F40C185%40gmail.com
>>>  
>>> .
>>> 
>>> 
>>> 25/11/2020 22:59、Emmanuel Charpentier >> >のメール:
>>> 
>>> On Debian testing running on core 17 + 16 GB RAM, upgrading (including 
>>> bootstrap and configure) and running ptestlong led to no transient and one 
>>> permanent failure as follows :
>>> 
>>> charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long 168.6 
>>> --random-seed=0 src/sage/misc/trace.py
>>> Running doctests with ID 2020-11-25-22-51-10-7a62d8a2.
>>> Git branch: develop
>>> Using 
>>> --optional=build,cbc,debian,dochtml,dot2tex,fricas,gap_jupyter,memlimit,pari_jupyter,pip,pysingular,saclib,sage,sage_numerical_backends_coin,sage_spkg,singular_jupyter
>>> Doctesting 1 file.
>>> sage -t --long --warn-long 168.6 --random-seed=0 src/sage/misc/trace.py
>>> **
>>> File "src/sage/misc/trace.py", line 67, in sage.misc.trace.trace
>>> Failed example:
>>>print(s.before[s.before.find(b'--'):].decode())
>>> Expected:
>>>--...
>>>ipdb> c
>>>2 * 5
>>> Got:
>>>--Call--
 /usr/local/sage-9/local/lib/python3.8/site-packages/sage/arith/misc.py(2422)factor()
>>>   2420 
>>>   2421 
>>>-> 2422 def 
>>> factor(n,
>>>  
>>> proof=None,
>>>  
>>> int_=False,
>>>  
>>> algorithm='pari',
>>>  
>>> verbose=0,
>>>  
>>> **kwds):
>>>   2423 """
>>>   2424 Return 
>>> the factorization 
>>> of 
>>> ``n``.
>>>   The result depends 
>>> on 
>>> the
>>>
>>>ipdb> c
>>> 2 * 5CSI-?2004l>
>>>
>>> **
>>> 1 item had failures:
>>>   1 of  11 in sage.misc.trace.trace
>>>[10 tests, 1 failure, 5.18 s]
>>> -

Re: [sage-release] Sage 9.3.beta2 released

2020-11-26 Thread Kenji Iohara
OK, thanks.  It gives me

sage: import locale 
sage: locale.setlocale(locale.LC_ALL,'')
'C/UTF-8/C/C/C/C’

Does this tell you something ?


> 27/11/2020 0:21、John H Palmieri のメール:
> 
> Dima is suggesting the command locale.setlocale(locale.LC_ALL,''), where just 
> before the parenthesis should be two single quotes. No quotes after the 
> parenthesis. Or if you prefer: locale.setlocale(locale.LC_ALL,"") with two 
> double quotes just before the parenthesis.
> 
> 
> On Thursday, November 26, 2020 at 3:11:19 PM UTC-8 Kenji Iohara wrote:
> Dima, 
> 
>  It gives me 
> 
> sage: import locale   
>   
> sage: locale.setlocale(locale.LC_ALL,")" 
> :  
> 
> 
> or
> 
> 
> sage: import locale   
>   
> sage: locale.setlocale(locale.LC_ALL,'')''
>   
>   File "", line 1
> locale.setlocale(locale.LC_ALL,'')''
>   ^
> SyntaxError: invalid syntax
> 
> or
> 
> sage: import locale   
>   
> sage: locale.setlocale(locale.LC_ALL,")'' 
>   
>   File "", line 1
> locale.setlocale(locale.LC_ALL,")''
>^
> SyntaxError: EOL while scanning string literal
> 
> 
> …. Is this alright ??
> 
>> 26/11/2020 22:09、Dima Pasechnik > >のメール:
>> 
> 
>> 
>> 
>> On Thu, 26 Nov 2020, 20:39 Kenji Iohara, > > wrote:
>> I am sorry for this Japanese…..
>> 
>> 
>>> 起動準備中です -  警告メッセージ:this means<< in preparation for booting…  
>>> Warning message >>
>> 
>> It gives me
>> 
>> 
>> sage: import locale  
>>
>> sage: locale.setlocale(locale.LC_ALL,")  
>>
>>   File "", line 1
>> locale.setlocale(locale.LC_ALL,")
>>  ^
>> SyntaxError: EOL while scanning string literal
>> 
>> Does this tell you something ?
>> 
>> oops, sorry, there is " there, but it should be two ' characters one after 
>> another.
>> 
>> 
>> 
>>> 26/11/2020 21:35、Dima Pasechnik >> >のメール:
>>> 
>>> A number of tests in your case fail due to a Japanese locale problem, e.g.
>>> 
>>> Failed example:
>>>sage.misc.sageinspect.sage_getargspec(r.lm)
>>> Expected:
>>>ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
>>> Got:
>>> 起動準備中です -  警告メッセージ:
>>>1: Setting LC_COLLATE failed, using "C"
>>>2: Setting LC_TIME failed, using "C"
>>>3: Setting LC_MESSAGES failed, using "C"
>>>4: Setting LC_MONETARY failed, using "C"
>>>ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
>>> 
>>> I am not sure what's going on there. It looks like these are coming from
>>> a non-Sage python module, such as re.
>>> What is the output of
>>> 
>>> sage: import locale
>>> sage: locale.setlocale(locale.LC_ALL, '')
>>> 
>>> on your system?
>>> 
>>> 
>>> 
>>> 
>>> On Thu, Nov 26, 2020 at 9:53 AM Kenji Iohara >> > wrote:
 
 I have updated to Mac OS 11.0.1 and the compilation from the first built 
 done without problem !
 However, for make ptestlong, there are several errors:
 
 --
 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 view this discussion on the web visit 
 https://groups.google.com/d/msgid/sage-release/25C8E4CC-C2F5-4E9A-B5D2-51971F40C185%40gmail.com
  
 .
 
 
 25/11/2020 22:59、Emmanuel Charpentier >>> >のメール:
 
 On Debian testing running on core 17 + 16 GB RAM, upgrading (including 
 bootstrap and configure) and running ptestlong led to no transient and one 
 permanent failure as follows :
 
 charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long 168.6 
 --random-seed=0 src/sage/misc/trace.py
 Running doctests with ID 2020-11-25-22-51-10-7a62d8a2.
 Git branch: develop
 Using 
 --optional=build,cbc,debian,dochtml,dot2tex,fricas,gap_jupyter,memlimit,pari_jupyter,pip,pysingular,saclib,sage,sage_numerical_backends_coin,sage_spkg,singular_jupyter
 Doctesting 1 file.
 sage -t --long --warn-long 168.6 --random-seed=0 src/sage/misc/trace.py
 **
 File "src/sage/misc/trace.py", line 67, in sage.misc.trace.trace
 Failed example:
print(s.before[s.before.find(b'--'):].decode())
 Expected:
--...
ipdb> c
2 * 5
 Got:
--Call--
> /usr/local/sage-9/local/lib/python3

Re: [sage-release] Sage 9.3.beta2 released

2020-11-26 Thread Dima Pasechnik
On Thu, Nov 26, 2020 at 11:28 PM Kenji Iohara  wrote:
>
> OK, thanks.  It gives me
>
> sage: import locale
> sage: locale.setlocale(locale.LC_ALL,'')
> 'C/UTF-8/C/C/C/C’
>
> Does this tell you something ?

this does not look like a valid locale description.
E.g. for me the output is

'en_GB.utf8'

What  is the output of locale command in the terminal you start Sage from?
E.g. for me it is

dima@hilbert ~ $ locale
LANG=en_GB.utf8
LC_CTYPE="en_GB.utf8"
LC_NUMERIC="en_GB.utf8"
LC_TIME="en_GB.utf8"
LC_COLLATE="en_GB.utf8"
LC_MONETARY="en_GB.utf8"
LC_MESSAGES="en_GB.utf8"
LC_PAPER="en_GB.utf8"
LC_NAME="en_GB.utf8"
LC_ADDRESS="en_GB.utf8"
LC_TELEPHONE="en_GB.utf8"
LC_MEASUREMENT="en_GB.utf8"
LC_IDENTIFICATION="en_GB.utf8"
LC_ALL=

(this is on Linux, on macOS it looks very similar)


>
>
> 27/11/2020 0:21、John H Palmieri のメール:
>
> Dima is suggesting the command locale.setlocale(locale.LC_ALL,''), where just 
> before the parenthesis should be two single quotes. No quotes after the 
> parenthesis. Or if you prefer: locale.setlocale(locale.LC_ALL,"") with two 
> double quotes just before the parenthesis.
>
>
> On Thursday, November 26, 2020 at 3:11:19 PM UTC-8 Kenji Iohara wrote:
>>
>> Dima,
>>
>>  It gives me
>>
>> sage: import locale
>> sage: locale.setlocale(locale.LC_ALL,")"
>> :
>>
>>
>> or
>>
>>
>> sage: import locale
>> sage: locale.setlocale(locale.LC_ALL,'')''
>>   File "", line 1
>> locale.setlocale(locale.LC_ALL,'')''
>>   ^
>> SyntaxError: invalid syntax
>>
>> or
>>
>> sage: import locale
>> sage: locale.setlocale(locale.LC_ALL,")''
>>   File "", line 1
>> locale.setlocale(locale.LC_ALL,")''
>>^
>> SyntaxError: EOL while scanning string literal
>>
>>
>> …. Is this alright ??
>>
>> 26/11/2020 22:09、Dima Pasechnik のメール:
>>
>>
>>
>> On Thu, 26 Nov 2020, 20:39 Kenji Iohara,  wrote:
>>>
>>> I am sorry for this Japanese…..
>>>
>>>
>>> 起動準備中です -  警告メッセージ:this means<< in preparation for booting…  
>>> Warning message >>
>>>
>>>
>>> It gives me
>>>
>>>
>>> sage: import locale
>>> sage: locale.setlocale(locale.LC_ALL,")
>>>   File "", line 1
>>> locale.setlocale(locale.LC_ALL,")
>>>  ^
>>> SyntaxError: EOL while scanning string literal
>>>
>>> Does this tell you something ?
>>
>>
>> oops, sorry, there is " there, but it should be two ' characters one after 
>> another.
>>
>>>
>>>
>>> 26/11/2020 21:35、Dima Pasechnik のメール:
>>>
>>> A number of tests in your case fail due to a Japanese locale problem, e.g.
>>>
>>> Failed example:
>>>sage.misc.sageinspect.sage_getargspec(r.lm)
>>> Expected:
>>>ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
>>> Got:
>>> 起動準備中です -  警告メッセージ:
>>>1: Setting LC_COLLATE failed, using "C"
>>>2: Setting LC_TIME failed, using "C"
>>>3: Setting LC_MESSAGES failed, using "C"
>>>4: Setting LC_MONETARY failed, using "C"
>>>ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
>>>
>>> I am not sure what's going on there. It looks like these are coming from
>>> a non-Sage python module, such as re.
>>> What is the output of
>>>
>>> sage: import locale
>>> sage: locale.setlocale(locale.LC_ALL, '')
>>>
>>> on your system?
>>>
>>>
>>>
>>>
>>> On Thu, Nov 26, 2020 at 9:53 AM Kenji Iohara  wrote:
>>>
>>>
>>> I have updated to Mac OS 11.0.1 and the compilation from the first built 
>>> done without problem !
>>> However, for make ptestlong, there are several errors:
>>>
>>> --
>>> 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 view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/sage-release/25C8E4CC-C2F5-4E9A-B5D2-51971F40C185%40gmail.com.
>>>
>>>
>>> 25/11/2020 22:59、Emmanuel Charpentier のメール:
>>>
>>> On Debian testing running on core 17 + 16 GB RAM, upgrading (including 
>>> bootstrap and configure) and running ptestlong led to no transient and one 
>>> permanent failure as follows :
>>>
>>> charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long 168.6 
>>> --random-seed=0 src/sage/misc/trace.py
>>> Running doctests with ID 2020-11-25-22-51-10-7a62d8a2.
>>> Git branch: develop
>>> Using 
>>> --optional=build,cbc,debian,dochtml,dot2tex,fricas,gap_jupyter,memlimit,pari_jupyter,pip,pysingular,saclib,sage,sage_numerical_backends_coin,sage_spkg,singular_jupyter
>>> Doctesting 1 file.
>>> sage -t --long --warn-long 168.6 --random-seed=0 src/sage/misc/trace.py
>>> **
>>> File "src/sage/misc/trace.py", line 67, in sage.misc.trace.trace
>>> Failed example:
>>>print(s.before[s.before.find(b'--'):].decode())
>>> Expected:
>>>--...
>>>ipdb> c
>>>2 * 5
>>> Got:
>>>--Call--
>>>
>>> /usr/local/sage-9/local/

Re: [sage-release] Sage 9.3.beta2 released

2020-11-26 Thread dimpase
On Fri, Nov 27, 2020 at 12:11:15AM +0100, Kenji Iohara wrote:
> 
>  It gives me 
> 
> sage: import locale   
>   
> sage: locale.setlocale(locale.LC_ALL,")" 
> :  
> 
the 2nd line should be

locale.setlocale(locale.LC_ALL,'') 

(I don't know why you ended up with " instead of '' in the first
place, probably your keyboard has a setting that automatically
converts '' into ")

HTML email is evil, too - I think it's clearly visible in
my original message that it was '', if viewed with a normal
terminal font :-)

HTH
Dima

-- 
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/20201126232453.GA978%40hilbert.


signature.asc
Description: PGP signature


Re: [sage-release] Sage 9.3.beta2 released

2020-11-26 Thread John H Palmieri
Dima is suggesting the command locale.setlocale(locale.LC_ALL,''), where 
just before the parenthesis should be two single quotes. No quotes after 
the parenthesis. Or if you prefer: locale.setlocale(locale.LC_ALL,"") with 
two double quotes just before the parenthesis.


On Thursday, November 26, 2020 at 3:11:19 PM UTC-8 Kenji Iohara wrote:

> Dima, 
>
>  It gives me 
>
> sage: *import* *locale*  
>
> sage: locale.setlocale(locale.LC_ALL,")" 
> :  
>
>
> or
>
>
> sage: *import* *locale*  
>
> sage: locale.setlocale(locale.LC_ALL,'')''   
>
>   File "", line 1
> locale.setlocale(locale.LC_ALL,'')''
>   ^
> SyntaxError: invalid syntax
>
> or
>
> sage: *import* *locale*  
>
> sage: locale.setlocale(locale.LC_ALL,")''
>
>   File "", line 1
> locale.setlocale(locale.LC_ALL,")''
>^
> SyntaxError: EOL while scanning string literal
>
>
> …. Is this alright ??
>
> 26/11/2020 22:09、Dima Pasechnik のメール:
>
>
>
> On Thu, 26 Nov 2020, 20:39 Kenji Iohara,  wrote:
>
>> I am sorry for this Japanese…..
>>
>>
>> 起動準備中です -  警告メッセージ:this means<< in preparation for booting… 
>>  Warning message >>
>>
>>
>> It gives me
>>
>>
>> sage: *import* *locale*  
>>
>> sage: locale.setlocale(locale.LC_ALL,")  
>>
>>   File "", line 1
>> locale.setlocale(locale.LC_ALL,")
>>  ^
>> SyntaxError: EOL while scanning string literal
>>
>> Does this tell you something ?
>>
>
> oops, sorry, there is " there, but it should be two ' characters one after 
> another.
>
>
>>
>> 26/11/2020 21:35、Dima Pasechnik のメール:
>>
>> A number of tests in your case fail due to a Japanese locale problem, e.g.
>>
>> Failed example:
>>sage.misc.sageinspect.sage_getargspec(r.lm)
>> Expected:
>>ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
>> Got:
>> 起動準備中です -  警告メッセージ:
>>1: Setting LC_COLLATE failed, using "C"
>>2: Setting LC_TIME failed, using "C"
>>3: Setting LC_MESSAGES failed, using "C"
>>4: Setting LC_MONETARY failed, using "C"
>>ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
>>
>> I am not sure what's going on there. It looks like these are coming from
>> a non-Sage python module, such as re.
>> What is the output of
>>
>> sage: import locale
>> sage: locale.setlocale(locale.LC_ALL, '')
>>
>> on your system?
>>
>>
>>
>>
>> On Thu, Nov 26, 2020 at 9:53 AM Kenji Iohara  
>> wrote:
>>
>>
>> I have updated to Mac OS 11.0.1 and the compilation from the first built 
>> done without problem !
>> However, for make ptestlong, there are several errors:
>>
>> --
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-release/25C8E4CC-C2F5-4E9A-B5D2-51971F40C185%40gmail.com
>> .
>>
>>
>> 25/11/2020 22:59、Emmanuel Charpentier のメール:
>>
>> On Debian testing running on core 17 + 16 GB RAM, upgrading (including 
>> bootstrap and configure) and running ptestlong led to no transient and one 
>> permanent failure as follows :
>>
>> charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long 
>> 168.6 --random-seed=0 src/sage/misc/trace.py
>> Running doctests with ID 2020-11-25-22-51-10-7a62d8a2.
>> Git branch: develop
>> Using 
>> --optional=build,cbc,debian,dochtml,dot2tex,fricas,gap_jupyter,memlimit,pari_jupyter,pip,pysingular,saclib,sage,sage_numerical_backends_coin,sage_spkg,singular_jupyter
>> Doctesting 1 file.
>> sage -t --long --warn-long 168.6 --random-seed=0 src/sage/misc/trace.py
>> **
>> File "src/sage/misc/trace.py", line 67, in sage.misc.trace.trace
>> Failed example:
>>print(s.before[s.before.find(b'--'):].decode())
>> Expected:
>>--...
>>ipdb> c
>>2 * 5
>> Got:
>>--Call--
>>
>>
>> /usr/local/sage-9/local/lib/python3.8/site-packages/sage/arith/misc.py(2422)factor()
>>
>>   2420 
>>   2421 
>>-> 2422 def 
>> factor(n,
>>  
>> proof=None,
>>  
>> int_=False,
>>  
>> algorithm='pari',
>>  
>> verbose=0,
>>  
>> **kwds):
>>   2423 """
>>   2424 Return 
>> the factorization 
>> of 
>> ``n``.
>>  
>>  The result depends 
>> on 
>> the
>>
>>ipdb> c
>> 2 * 5CSI-?2004l>
>>
>> **
>> 1 item had failures:
>>   1 of  11 in sage.misc.trace.trace
>>[10 tests, 1 fa

Re: [sage-release] Sage 9.3.beta2 released

2020-11-26 Thread Kenji Iohara
It gives me

iohara% locale
LANG=""
LC_COLLATE="C"
LC_CTYPE="UTF-8"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=

… 

> 27/11/2020 0:45、Dima Pasechnik のメール:
> 
> On Thu, Nov 26, 2020 at 11:28 PM Kenji Iohara  > wrote:
>> 
>> OK, thanks.  It gives me
>> 
>> sage: import locale
>> sage: locale.setlocale(locale.LC_ALL,'')
>> 'C/UTF-8/C/C/C/C’
>> 
>> Does this tell you something ?
> 
> this does not look like a valid locale description.
> E.g. for me the output is
> 
> 'en_GB.utf8'
> 
> What  is the output of locale command in the terminal you start Sage from?
> E.g. for me it is
> 
> dima@hilbert ~ $ locale
> LANG=en_GB.utf8
> LC_CTYPE="en_GB.utf8"
> LC_NUMERIC="en_GB.utf8"
> LC_TIME="en_GB.utf8"
> LC_COLLATE="en_GB.utf8"
> LC_MONETARY="en_GB.utf8"
> LC_MESSAGES="en_GB.utf8"
> LC_PAPER="en_GB.utf8"
> LC_NAME="en_GB.utf8"
> LC_ADDRESS="en_GB.utf8"
> LC_TELEPHONE="en_GB.utf8"
> LC_MEASUREMENT="en_GB.utf8"
> LC_IDENTIFICATION="en_GB.utf8"
> LC_ALL=
> 
> (this is on Linux, on macOS it looks very similar)
> 
> 
>> 
>> 
>> 27/11/2020 0:21、John H Palmieri のメール:
>> 
>> Dima is suggesting the command locale.setlocale(locale.LC_ALL,''), where 
>> just before the parenthesis should be two single quotes. No quotes after the 
>> parenthesis. Or if you prefer: locale.setlocale(locale.LC_ALL,"") with two 
>> double quotes just before the parenthesis.
>> 
>> 
>> On Thursday, November 26, 2020 at 3:11:19 PM UTC-8 Kenji Iohara wrote:
>>> 
>>> Dima,
>>> 
>>> It gives me
>>> 
>>> sage: import locale
>>> sage: locale.setlocale(locale.LC_ALL,")"
>>> :
>>> 
>>> 
>>> or
>>> 
>>> 
>>> sage: import locale
>>> sage: locale.setlocale(locale.LC_ALL,'')''
>>>  File "", line 1
>>>locale.setlocale(locale.LC_ALL,'')''
>>>  ^
>>> SyntaxError: invalid syntax
>>> 
>>> or
>>> 
>>> sage: import locale
>>> sage: locale.setlocale(locale.LC_ALL,")''
>>>  File "", line 1
>>>locale.setlocale(locale.LC_ALL,")''
>>>   ^
>>> SyntaxError: EOL while scanning string literal
>>> 
>>> 
>>> …. Is this alright ??
>>> 
>>> 26/11/2020 22:09、Dima Pasechnik のメール:
>>> 
>>> 
>>> 
>>> On Thu, 26 Nov 2020, 20:39 Kenji Iohara,  wrote:
 
 I am sorry for this Japanese…..
 
 
 起動準備中です -  警告メッセージ:this means<< in preparation for booting…  
 Warning message >>
 
 
 It gives me
 
 
 sage: import locale
 sage: locale.setlocale(locale.LC_ALL,")
  File "", line 1
locale.setlocale(locale.LC_ALL,")
 ^
 SyntaxError: EOL while scanning string literal
 
 Does this tell you something ?
>>> 
>>> 
>>> oops, sorry, there is " there, but it should be two ' characters one after 
>>> another.
>>> 
 
 
 26/11/2020 21:35、Dima Pasechnik のメール:
 
 A number of tests in your case fail due to a Japanese locale problem, e.g.
 
 Failed example:
   sage.misc.sageinspect.sage_getargspec(r.lm)
 Expected:
   ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
 Got:
起動準備中です -  警告メッセージ:
   1: Setting LC_COLLATE failed, using "C"
   2: Setting LC_TIME failed, using "C"
   3: Setting LC_MESSAGES failed, using "C"
   4: Setting LC_MONETARY failed, using "C"
   ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
 
 I am not sure what's going on there. It looks like these are coming from
 a non-Sage python module, such as re.
 What is the output of
 
 sage: import locale
 sage: locale.setlocale(locale.LC_ALL, '')
 
 on your system?
 
 
 
 
 On Thu, Nov 26, 2020 at 9:53 AM Kenji Iohara  wrote:
 
 
 I have updated to Mac OS 11.0.1 and the compilation from the first built 
 done without problem !
 However, for make ptestlong, there are several errors:
 
 --
 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 view this discussion on the web visit 
 https://groups.google.com/d/msgid/sage-release/25C8E4CC-C2F5-4E9A-B5D2-51971F40C185%40gmail.com.
 
 
 25/11/2020 22:59、Emmanuel Charpentier のメール:
 
 On Debian testing running on core 17 + 16 GB RAM, upgrading (including 
 bootstrap and configure) and running ptestlong led to no transient and one 
 permanent failure as follows :
 
 charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long 168.6 
 --random-seed=0 src/sage/misc/trace.py
 Running doctests with ID 2020-11-25-22-51-10-7a62d8a2.
 Git branch: develop
 Using 
 --optional=build,cbc,debian,dochtml,dot2tex,fricas,gap_jupyter,memlimit,pari_jupyter,pip,pysingular,saclib,sage,sage_numerical_backends_coin,sage_spkg,

Re: [sage-release] Sage 9.3.beta2 released

2020-11-26 Thread Samuel Lelièvre
2020-11-26 23:24 UTC, Dima Pasechnik:
>
> the 2nd line should be
>
> locale.setlocale(locale.LC_ALL,'')
>
> (I don't know why you ended up with " instead of '' in the first
> place, probably your keyboard has a setting that automatically
> converts '' into ")
>
> HTML email is evil, too - I think it's clearly visible in
> my original message that it was '', if viewed with a normal
> terminal font :-)

Too late for this time, but next time this information is needed,
one could ask to run this command (no trouble with quotes!):
```
sage: import locale
sage: locale.setlocale(locale.LC_ALL, str())
```

-- 
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/CAEcArF1B%2BWjHcqLAz0Amgk9j7z_Q80j6jW6jn8jvm_n%3DTG3uEA%40mail.gmail.com.


Re: [sage-release] Sage 9.3.beta2 released

2020-11-27 Thread Dima Pasechnik
I've managed to (sort of) reproduce this issue, by doing

export LANG=""
locale
export LANG="en_GB.utf8"

in the shell, then I see

% locale
LANG="en_GB.utf8"
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=
dima@oucl13243 sage % ./sage -tp src/sage/misc/sageinspect.py
Running doctests with ID 2020-11-27-01-44-31-91213820.
Git branch: HEAD
Using --optional=build,dochtml,homebrew,pip,sage,sage_spkg
Doctesting 1 file using 8 threads.
sage -t --warn-long 61.7 --random-seed=0 src/sage/misc/sageinspect.py
**
File "src/sage/misc/sageinspect.py", line 1498, in
sage.misc.sageinspect.sage_getargspec
Failed example:
sage.misc.sageinspect.sage_getargspec(r.lm)
Expected:
ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
Got:
During startup - Warning messages:
1: Setting LC_COLLATE failed, using "C"
2: Setting LC_TIME failed, using "C"
3: Setting LC_MESSAGES failed, using "C"
4: Setting LC_MONETARY failed, using "C"
ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
**
1 item had failures:
...

Also,

% ./sage
┌┐
│ SageMath version 9.3.beta1, Release Date: 2020-11-07   │
│ Using Python 3.9.0. Type "help()" for help.│
└┘
┏┓
┃ Warning: this is a prerelease version, and it may be unstable. ┃
┗┛
sage: import locale
: locale.setlocale(locale.LC_ALL, '')
---
Error Traceback (most recent call last)
 in 
  1 import locale
> 2 locale.setlocale(locale.LC_ALL, '')
/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/locale.py
in setlocale(category, locale)
608 # convert to string
609 locale = normalize(_build_localename(locale))
--> 610 return _setlocale(category, locale)
611
612 def resetlocale(category=LC_ALL):
Error: unsupported locale setting


And same error in plain Python3, and in /usr/bin/python (Python 2 from macOS)

This is all on macOS 10.15.7 with Homebrew.

To wit: terminal locale is fragile and weird. If it's broken then
Python has issues with it.
If your terminal locale is broken, fixing it is a good idea, but we
don't really know how.
Internet searches suggest to fiddle with "Set locale environment
variables on startup"
settings in the Terminal app (in Terminal, open
Preferences->Profiles->Advanced, look at "International" there)

Surely in Japan Python users on macOS must have figured out what to do.






--

On Fri, Nov 27, 2020 at 12:17 AM Kenji Iohara  wrote:
>
> It gives me
>
> iohara% locale
> LANG=""
> LC_COLLATE="C"
> LC_CTYPE="UTF-8"
> LC_MESSAGES="C"
> LC_MONETARY="C"
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_ALL=
>
> …
>
> 27/11/2020 0:45、Dima Pasechnik のメール:
>
> On Thu, Nov 26, 2020 at 11:28 PM Kenji Iohara  
> wrote:
>
>
> OK, thanks.  It gives me
>
> sage: import locale
> sage: locale.setlocale(locale.LC_ALL,'')
> 'C/UTF-8/C/C/C/C’
>
> Does this tell you something ?
>
>
> this does not look like a valid locale description.
> E.g. for me the output is
>
> 'en_GB.utf8'
>
> What  is the output of locale command in the terminal you start Sage from?
> E.g. for me it is
>
> dima@hilbert ~ $ locale
> LANG=en_GB.utf8
> LC_CTYPE="en_GB.utf8"
> LC_NUMERIC="en_GB.utf8"
> LC_TIME="en_GB.utf8"
> LC_COLLATE="en_GB.utf8"
> LC_MONETARY="en_GB.utf8"
> LC_MESSAGES="en_GB.utf8"
> LC_PAPER="en_GB.utf8"
> LC_NAME="en_GB.utf8"
> LC_ADDRESS="en_GB.utf8"
> LC_TELEPHONE="en_GB.utf8"
> LC_MEASUREMENT="en_GB.utf8"
> LC_IDENTIFICATION="en_GB.utf8"
> LC_ALL=
>
> (this is on Linux, on macOS it looks very similar)
>
>
>
>
> 27/11/2020 0:21、John H Palmieri のメール:
>
> Dima is suggesting the command locale.setlocale(locale.LC_ALL,''), where just 
> before the parenthesis should be two single quotes. No quotes after the 
> parenthesis. Or if you prefer: locale.setlocale(locale.LC_ALL,"") with two 
> double quotes just before the parenthesis.
>
>
> On Thursday, November 26, 2020 at 3:11:19 PM UTC-8 Kenji Iohara wrote:
>
>
> Dima,
>
> It gives me
>
> sage: import locale
> sage: locale.setlocale(locale.LC_ALL,")"
> :
>
>
> or
>
>
> sage: import locale
> sage: locale.setlocale(locale.LC_ALL,'')''
>  File "", line 1
>locale.setlocale(locale.LC_ALL,'')''
>  ^
> SyntaxError: invalid syntax
>
> or
>
> sage: import locale
> sage: locale.setlocale(locale.LC_ALL,")''
>  File "", line 1
>locale.setlocale(locale.LC_ALL,")''
>