Re: [sage-devel] Sage build error (sagenb)

2019-07-26 Thread Vincent Klein
New sagenb issue : https://github.com/sagemath/sagenb/issues/472

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/94715baa-ede0-4aa4-96a4-79752a8709de%40googlegroups.com.


Re: [sage-devel] Sage build error (sagenb)

2019-07-26 Thread Vincent Klein
I have tested your fix with python3 and it works. Thanks.

Le vendredi 26 juillet 2019 16:59:32 UTC+2, vdelecroix a écrit :
>
> This is indeed Python3 invalid. I would replace the string by 
>
> u'(^|(?
> That is Python2 and Python3 valid. 
>
> Le 26/07/2019 à 16:52, Vincent Klein a écrit : 
> > 8.9.beta3 
> > On unbuntu 16.04 after a "make distclean && ./configure --with-python=3" 
> i 
> > get the following error : 
> > 
> > [sagenb-1.1.2] byte-compiling 
> > 
> /home/vklein/odk/sage/local/var/tmp/sage/build/sagenb-1.1.2/inst/home/vklein/odk/sage/local/lib/python3.7/site-packages/sagenb/notebook/wiki2html.py
>  
>
> > to wiki2html.cpython-37.pyc 
> > [sagenb-1.1.2]   File 
> > 
> "/home/vklein/odk/sage/local/lib/python3.7/site-packages/sagenb/notebook/wiki2html.py",
>  
>
> > line 62 
> > [sagenb-1.1.2] 'url_guard': ur'(^|(? > [sagenb-1.1.2]^ 
> > [sagenb-1.1.2] SyntaxError: invalid syntax 
> > [sagenb-1.1.2] 
> > ... 
> > Successfully installed sagenb-1.1.2 
> > Cleaning up... 
> > Removed build tracker '/tmp/pip-req-tracker-s1fel8oz' 
> > make[4]: Entering directory 
> > '/home/vklein/odk/sage/local/var/tmp/sage/build/sagenb-1.1.2/src/doc' 
> > Running Sphinx v1.8.5 
> > making output directory... 
> > building [mo]: targets for 0 po files that are out of date 
> > building [html]: targets for 19 source files that are out of date 
> > updating environment: 19 added, 0 changed, 0 removed 
> > reading sources... [  5%] index 
> > reading sources... [ 10%] misc/introspect 
> > reading sources... [ 15%] misc/misc 
> > 
> > Exception occurred: 
> >File "sage/misc/lazy_import.pyx", line 218, in 
> > sage.misc.lazy_import.LazyImport._get_object 
> > (build/cythonized/sage/misc/lazy_import.c:2502) 
> >  raise RuntimeError(f"resolving lazy import {self._name} during 
> startup") 
> > RuntimeError: resolving lazy import dumps during startup 
> > The full traceback has been saved in /tmp/sphinx-err-f8a0uhzu.log, if 
> you 
> > want to report the issue to the developers. 
> > Please also report this if it was a user error, so that a better error 
> > message can be provided next time. 
> > A bug report can be filed in the tracker at 
> > <https://github.com/sphinx-doc/sphinx/issues>. Thanks! 
> > Makefile:20: recipe for target 'html' failed 
> > make[4]: *** [html] Error 2 
> > make[4]: Leaving directory 
> > '/home/vklein/odk/sage/local/var/tmp/sage/build/sagenb-1.1.2/src/doc' 
> > 
> 
>  
>
> > Error building the documentation 
> > 
> 
>  
>
> > ... 
> > 
> > Full sagenb.log in attachment. 
> > 
> > Does somebody have an idea to solve this ? 
> > 
> > Vincent K. 
> > 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/5001413f-25b7-4cb6-9771-1f623b3b93f8%40googlegroups.com.


Re: [sage-devel] OSX: pip build failure. zlib dependancy ?

2019-03-07 Thread Vincent Klein
Ok. Thank you for your answer.

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


[sage-devel] OSX: pip build failure. zlib dependancy ?

2019-03-07 Thread Vincent Klein
I have got the log below during a sage build on OSX.
Shouldn't zlib be an order-only dependancy of pip ?

Found local metadata for pip-18.0
Using cached file 
/Applications/SageMath-8.6.app/Contents/Resources/sage/upstream/pip-18.0.tar.gz
pip-18.0

Setting up build directory for pip-18.0
Finished extraction
No patch files found in ../patches

Host system:
Darwin laptop-147-210-128-62.labri.fr 18.2.0 Darwin Kernel Version 18.2.0: 
Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64

C compiler: gcc
C compiler version:
Configured with: --prefix=/Library/Developer/CommandLineTools/usr 
--with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

No record that 'pip' was ever installed; skipping uninstall
Traceback (most recent call last):
  File 
"/Applications/SageMath-8.6.app/Contents/Resources/sage/local/lib/python3.6/runpy.py",
 
line 193, in _run_module_as_main
"__main__", mod_spec)
  File 
"/Applications/SageMath-8.6.app/Contents/Resources/sage/local/lib/python3.6/runpy.py",
 
line 85, in _run_code
exec(code, run_globals)
  File 
"/Applications/SageMath-8.6.app/Contents/Resources/sage/local/var/tmp/sage/build/pip-18.0/src/src/pip/__main__.py",
 
line 16, in 
from pip._internal import main as _main  # isort:skip # noqa
  File 
"/Applications/SageMath-8.6.app/Contents/Resources/sage/local/var/tmp/sage/build/pip-18.0/src/src/pip/_internal/__init__.py",
 
line 20, in 
from pip._vendor.urllib3.exceptions import DependencyWarning
  File 
"/Applications/SageMath-8.6.app/Contents/Resources/sage/local/var/tmp/sage/build/pip-18.0/src/src/pip/_vendor/urllib3/__init__.py",
 
line 8, in 
from .connectionpool import (
  File 
"/Applications/SageMath-8.6.app/Contents/Resources/sage/local/var/tmp/sage/build/pip-18.0/src/src/pip/_vendor/urllib3/connectionpool.py",
 
line 36, in 
from .response import HTTPResponse
  File 
"/Applications/SageMath-8.6.app/Contents/Resources/sage/local/var/tmp/sage/build/pip-18.0/src/src/pip/_vendor/urllib3/response.py",
 
line 3, in 
import zlib
ModuleNotFoundError: No module named 'zlib'

Error building / installing pip3


real 0m0.411s
user 0m0.276s
sys 0m0.086s

Error installing package pip-18.0

Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
  
/Applications/SageMath-8.6.app/Contents/Resources/sage/logs/pkgs/pip-18.0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Applications/SageMath-8.6.app/Contents/Resources/sage/local/var/tmp/sage/build/pip-18.0
 
and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd 
'/Applications/SageMath-8.6.app/Contents/Resources/sage/local/var/tmp/sage/build/pip-18.0'
 
&& '/Applications/SageMath-8.6.app/Contents/Resources/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.


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


Re: [sage-devel] Proposal : Add pplpy and gmpy2 as standard packages.

2019-02-20 Thread Vincent Klein
In ticket #23024 we made pplpy and independant package with gmpy2 as return 
types.

As opinion for having pplpy returning Sage's type has also been expressed, 
the goal of this message is to check 
if we globally agree to pass pplpy and gmpy2 as standard packages.

Vincent K.

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


[sage-devel] Re: Help : best way to compile a package sphinx's documentation during spkg-install

2019-02-14 Thread Vincent Klein
Here is a better version (With Erik Bray's help): 

cd src && sdh_pip_install .

SITE_PKGS="$(sage-python23 -c "import site; print(site.getsitepackages()[0])")"
PYTHONPATH=$PYTHONPATH:$SAGE_DESTDIR$SITEPKGS
cd docs
$MAKE html


Le jeudi 14 février 2019 15:09:56 UTC+1, Vincent Klein a écrit :
>
> I have find a workaround (without an inplace build)  using the site module 
> you can target the temporary directory in a generic way
>
> cd src && sdh_pip_install .
>
> SITE_PKGS="$(python -c "import site; \
> print(site.getusersitepackages().replace(site.getuserbase(), ''))")"
>
> PYTHONPATH=$PYTHONPATH:$SAGE_DESTDIR_LOCAL$SITEPKGS
> cd docs
> $MAKE html
>
>
>
>

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


[sage-devel] Re: Help : best way to compile a package sphinx's documentation during spkg-install

2019-02-14 Thread Vincent Klein
Here is a better version: 

cd src && sdh_pip_install .

SITE_PKGS="$(sage-python23 -c "import site; print(site.getsitepackages()[0])")"
PYTHONPATH=$PYTHONPATH:$SAGE_DESTDIR$SITEPKGS
cd docs
$MAKE html


Le jeudi 14 février 2019 15:09:56 UTC+1, Vincent Klein a écrit :
>
> I have find a workaround (without an inplace build)  using the site module 
> you can target the temporary directory in a generic way
>
> cd src && sdh_pip_install .
>
> SITE_PKGS="$(python -c "import site; \
> print(site.getusersitepackages().replace(site.getuserbase(), ''))")"
>
> PYTHONPATH=$PYTHONPATH:$SAGE_DESTDIR_LOCAL$SITEPKGS
> cd docs
> $MAKE html
>
>
>
>

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


[sage-devel] Re: Help : best way to compile a package sphinx's documentation during spkg-install

2019-02-14 Thread Vincent Klein
I have find a workaround (without an inplace build)  using the site module 
you can target the temporary directory in a generic way

cd src && sdh_pip_install .

SITE_PKGS="$(python -c "import site; \
print(site.getusersitepackages().replace(site.getuserbase(), ''))")"

PYTHONPATH=$PYTHONPATH:$SAGE_DESTDIR_LOCAL$SITEPKGS
cd docs
$MAKE html



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


Re: [sage-devel] Help : best way to compile a package sphinx's documentation during spkg-install

2019-01-31 Thread Vincent Klein
Thanks for your answer.
I don't know exactly why it works with sagenb but doing the same with pplpy 
doesn't work
#spkg-install

cd src && sdh_pip_install .

cd docs
$MAKE html


Result in this :

[pplpy-0.8.2b0] reading sources... [100%] index
[pplpy-0.8.2b0] 
[pplpy-0.8.2b0] WARNING: autodoc: failed to import module u'ppl'; the 
following exception was raised:
[pplpy-0.8.2b0] No module named ppl
[pplpy-0.8.2b0] WARNING: autodoc: failed to import module 
u'ppl.constraint'; the following exception was raised:
[pplpy-0.8.2b0] No module named ppl.constraint
[pplpy-0.8.2b0] WARNING: autodoc: failed to import module 
u'ppl.linear_algebra'; the following exception was raised:
[pplpy-0.8.2b0] No module named ppl.linear_algebra
[pplpy-0.8.2b0] WARNING: autodoc: failed to import module u'ppl.generator'; 
the following exception was raised:
[pplpy-0.8.2b0] No module named ppl.generator
[pplpy-0.8.2b0] WARNING: autodoc: failed to import module 
u'ppl.polyhedron'; the following exception was raised:
[pplpy-0.8.2b0] No module named ppl.polyhedron
[pplpy-0.8.2b0] WARNING: autodoc: failed to import module 
u'ppl.mip_problem'; the following exception was raised:
[pplpy-0.8.2b0] No module named ppl.mip_problem

Le jeudi 31 janvier 2019 10:56:46 UTC+1, Dima Pasechnik a écrit :
>
> Have a look at 
>
> build/pkgs/sagenb/spkg-install 
>
> which does what you are looking for, in one go, I think. 
>
> On Thu, Jan 31, 2019 at 8:49 AM Vincent Klein  > wrote: 
> > 
> > Hi, 
> > 
> > I am looking for a good way  to compile a package sphinx's documentation 
> during a spkg-install execution. 
> > After doing a sdh_pip_install the compiled files are still in a 
> temporary directory ($SAGE_DESTDIR_LOCAL/lib/python2.7/site-packages), a 
> therefore a simple sphinx "make html" will fail to find your package's 
> compiled files. 
> > I am looking for a generic way for the /lib/python2.7/site-packages 
> part. I haven't find an environment variable for that (I think this path is 
> given/constructed by distutils). 
> > 
> > This question comes from ticket 
> https://trac.sagemath.org/ticket/23024#comment:106. 
> > 
> > The current workaround we have is doing an "inplace" build before 
>  generating the documentation (
> https://git.sagemath.org/sage.git/commit/?id=ef8997834f73c34d983260c0ba782041d0966a02)
>  
>
> > 
> > Any help is welcomed 
> > 
> > Vincent K. 
> > 
> > -- 
> > 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+...@googlegroups.com . 
> > To post to this group, send email to sage-...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/sage-devel. 
> > For more options, visit https://groups.google.com/d/optout. 
>

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


[sage-devel] Help : best way to compile a package sphinx's documentation during spkg-install

2019-01-31 Thread Vincent Klein
Hi,

I am looking for a good way  to compile a package sphinx's documentation 
during a spkg-install execution.
After doing a sdh_pip_install the compiled files are still in a temporary 
directory ($SAGE_DESTDIR_LOCAL/lib/python2.7/site-packages), a therefore a 
simple sphinx "make html" will fail to find your package's compiled files.
I am looking for a generic way for the /lib/python2.7/site-packages part. I 
haven't find an environment variable for that (I think this path is 
given/constructed by distutils). 

This question comes from 
ticket https://trac.sagemath.org/ticket/23024#comment:106.

The current workaround we have is doing an "inplace" build before  
generating the documentation 
(https://git.sagemath.org/sage.git/commit/?id=ef8997834f73c34d983260c0ba782041d0966a02)

Any help is welcomed

Vincent K.

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


Re: [sage-devel] Re: Suggestion for the SageMath website

2018-06-25 Thread Vincent Klein
@Peter & @Harald, the poll has been updated with your proposal.

Le dimanche 24 juin 2018 20:32:35 UTC+2, Peter Luschny a écrit :
>
> > Instead, a phrase like "consists of many packages", where 
> > "many packages" is a hyperlink to the component page. That
> > component page is the alphabetically sorted list of all 
> > what's in sagemath
>
> Why not integrate this list into the page? That binds things
> closer together. Like it is done here:
>
> http://luschny.de/temp/SageHtmlTest.html
>
> Peter
>
>

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


Re: [sage-devel] Re: Suggestion for the SageMath website

2018-06-21 Thread Vincent Klein
I have created a poll to help the 
decision https://framadate.org/kxRhiWt1dx95MCr5. It include the option to 
say the poll is a bad idea.

Le jeudi 21 juin 2018 09:40:20 UTC+2, Vincent Klein a écrit :
>
>
>
> Le dimanche 17 juin 2018 13:03:54 UTC+2, Nikolay Hodyunya a écrit :
>>
>> Many people would rather dislike this animation. As an alternative 
>> solution, why won't we just pick some random packages to show every time 
>> the page is requested?
>>
>
> You may be right, but it's hard to decide as it's a matter of  personal 
> taste (as always with UI design choice). Maybe should we do a poll ?
>

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


Re: [sage-devel] Re: Suggestion for the SageMath website

2018-06-21 Thread Vincent Klein


Le dimanche 17 juin 2018 13:03:54 UTC+2, Nikolay Hodyunya a écrit :
>
> Many people would rather dislike this animation. As an alternative 
> solution, why won't we just pick some random packages to show every time 
> the page is requested?
>

You may be right, but it's hard to decide as it's a matter of  personal 
taste (as always with UI design choice). Maybe should we do a poll ?

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


[sage-devel] Re: Suggestion for the SageMath website

2018-06-07 Thread Vincent Klein

>
>
> On side note: Is there any problem with alphabetical order if the whole 
> list is there?
>
>
Yes in my opinion. The animation takes 180 sec to display the whole list. I 
think that's way longer than the average time people stay on the home page.
The result is a inequal exposure because the firsts in the list are the 
most viewed. 

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


[sage-devel] Re: Suggestion for the SageMath website

2018-06-06 Thread Vincent Klein
Le mercredi 6 juin 2018 17:06:45 UTC+2, Bill Hart a écrit :
>
> I would personally put it on the lower part of the page, so that it is 
> "below the fold" on most browsers (due to its scrolly nature). But maybe 
> others prefer it higher up. 
>
"below the fold", you mean under library and search button ? 

Side Note : The package list in the prototype is in alphabetical order, i 
keep in mind to randomize the list if we keep this solution.

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


[sage-devel] Re: Suggestion for the SageMath website

2018-06-06 Thread Vincent Klein

Le mercredi 6 juin 2018 17:06:45 UTC+2, Bill Hart a écrit :
>
> I would personally put it on the lower part of the page, so that it is 
> "below the fold" on most browsers (due to its scrolly nature). But maybe 
> others prefer it higher up. 
>
"below the fold", you man under library and search button ? 

Side Note : The package list in the prototype is in alphabetical order, i 
keep in mind to randomize the list if we keep this solution.

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


[sage-devel] Re: Suggestion for the SageMath website

2018-06-06 Thread Vincent Klein
Another alternative is to display all the packages in a slow scrolling 
horizontal list ScrollingPackagePrototype.html 

. 
Im not sure if the move is too disturbing for the reader or not. 

Le vendredi 1 juin 2018 14:46:52 UTC+2, Bill Hart a écrit :
>
> Hi all,
>
> I've been aware for a while that some libraries are not happy that their 
> package is not explicitly mentioned by name on the sagemath.org home page 
> and that you have to click through to the "and many more" to see their 
> package credited.
>
> I have a suggestion how this could be made more equitable for the many 
> dependencies of Sage. The home page could randomly rotate the names of 
> external dependencies that are listed on the main page so they all get 
> equal exposure. It could even say, "Here is a selection updated randomly: 
> ... but there are many _more_". (My apologies if this is already the 
> case, but after a number of refreshes, the list doesn't appear to change, 
> presently.)
>
> Obviously, the intention of this suggestion is to bring more prominent 
> credit to authors of those other packages, which they deserve. As such, I'd 
> prefer if we could avoid discussions to justify listing only certain 
> packages on the main page (other than technical considerations, such as 
> limited space on the main page), as this would have the opposite of the 
> intended effect, which is to prominently recognize their work, which is 
> well-deserved. 
>
> I'm aware there may be other technical considerations, such as static vs 
> dynamic nature of the html, SEO optimisation considerations related to 
> regular changes to the page, etc. I guess those need to be considered. But 
> I also believe this is a very important social issue, or I wouldn't raise 
> it.
>
> (The alternative, of course, would be to remove the short list on the main 
> page and only have the very long list on the "and many more" page.)
>
> Sorry it's taken me so long to get around to mentioning this, after it had 
> been repeatedly brought to my attention by various people over the years.
>
> Bill.
>
>

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


Re: [sage-devel] Proposal : Add pplpy and gmpy2 as standard packages.

2018-02-07 Thread Vincent Klein


Le mercredi 7 février 2018 09:49:29 UTC+1, vdelecroix a écrit :

>
> The gmpy2 way is not ideal (one more integer/rational/floating point 
> type) but it is 
>   - convenient and error safe with respect to the points mentioned above 
>   - has a working implementation 
>

And a logical design choice for pplpy given ppl return gmp numbers.

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


[sage-devel] Proposal : Add pplpy and gmpy2 as standard packages.

2018-02-05 Thread Vincent Klein
Hi!
As stated in sage ticket #23024  we 
propose to replace `sage.libs.ppl` by the standalone pplpy 
.
This require to have pplpy as a standard package. As pplpy use gmpy2 the 
latter should be stantard too.

Do we agree to do this ?

Regards

Vincent K.

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


[sage-devel] Re: trac logo change ?

2017-12-21 Thread Vincent Klein
This one looks nice to me.

Le mercredi 20 décembre 2017 22:07:50 UTC+1, Frédéric Chapoton a écrit :
>
> Here is a better png, with the correct font.
>
> Le mercredi 20 décembre 2017 17:22:54 UTC+1, Vincent Klein a écrit :
>>
>> Indeed it looks way better in the original svg
>>
>> Le mercredi 20 décembre 2017 17:17:04 UTC+1, Frédéric Chapoton a écrit :
>>>
>>> Here is the original svg file, to be looked at in a browser.
>>>
>>> There is a font issue. I am using a web font named "Courgette" from 
>>> google. This only works nice in a browser. The png I managed to make is 
>>> using a default remplacement font.
>>>
>>> Le mercredi 20 décembre 2017 17:12:58 UTC+1, Frédéric Chapoton a écrit :
>>>>
>>>> Does it really look blurry when looked at at its nominal resolution ?
>>>>
>>>> Le mercredi 20 décembre 2017 17:03:54 UTC+1, Vincent Klein a écrit :
>>>>>
>>>>> It still look blurry after downloading it and looking at it with gimp. 
>>>>> Maybe the upload have modified your image ?
>>>>>
>>>>>
>>>>>
>>>>> Le mercredi 20 décembre 2017 16:51:45 UTC+1, Frédéric Chapoton a 
>>>>> écrit :
>>>>>>
>>>>>> There is no bluriness if you open the icon to look at it, only in the 
>>>>>> browser picture which is slightly reduced in size. I would prefer to use 
>>>>>> directly the svg image, but it will probably not work.
>>>>>>
>>>>>> Le mercredi 20 décembre 2017 16:19:19 UTC+1, Vincent Klein a écrit :
>>>>>>>
>>>>>>> For the actual attached icon, the limit between the background color 
>>>>>>> ( Royal Blue ?) and the grey color of "developer trac" text is a little 
>>>>>>> too 
>>>>>>> blurry. I would prefer a cleaner color separation to make it more 
>>>>>>> readable.
>>>>>>>
>>>>>>> Le mercredi 20 décembre 2017 11:34:17 UTC+1, Frédéric Chapoton a 
>>>>>>> écrit :
>>>>>>>>
>>>>>>>> I propose to change the logo on top of all trac.sagemath.org pages 
>>>>>>>> to the attached file.
>>>>>>>>
>>>>>>>> The idea is to introduce progressively the logos from 
>>>>>>>> https://wiki.sagemath.org/CorporateIdentity
>>>>>>>>
>>>>>>>> One is already used for the patchbot.
>>>>>>>>
>>>>>>>> Opinions ?
>>>>>>>>
>>>>>>>> Frederic
>>>>>>>>
>>>>>>>

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


[sage-devel] Re: trac logo change ?

2017-12-20 Thread Vincent Klein
Indeed it looks way better in the original svg

Le mercredi 20 décembre 2017 17:17:04 UTC+1, Frédéric Chapoton a écrit :
>
> Here is the original svg file, to be looked at in a browser.
>
> There is a font issue. I am using a web font named "Courgette" from 
> google. This only works nice in a browser. The png I managed to make is 
> using a default remplacement font.
>
> Le mercredi 20 décembre 2017 17:12:58 UTC+1, Frédéric Chapoton a écrit :
>>
>> Does it really look blurry when looked at at its nominal resolution ?
>>
>> Le mercredi 20 décembre 2017 17:03:54 UTC+1, Vincent Klein a écrit :
>>>
>>> It still look blurry after downloading it and looking at it with gimp. 
>>> Maybe the upload have modified your image ?
>>>
>>>
>>>
>>> Le mercredi 20 décembre 2017 16:51:45 UTC+1, Frédéric Chapoton a écrit :
>>>>
>>>> There is no bluriness if you open the icon to look at it, only in the 
>>>> browser picture which is slightly reduced in size. I would prefer to use 
>>>> directly the svg image, but it will probably not work.
>>>>
>>>> Le mercredi 20 décembre 2017 16:19:19 UTC+1, Vincent Klein a écrit :
>>>>>
>>>>> For the actual attached icon, the limit between the background color ( 
>>>>> Royal Blue ?) and the grey color of "developer trac" text is a little too 
>>>>> blurry. I would prefer a cleaner color separation to make it more 
>>>>> readable.
>>>>>
>>>>> Le mercredi 20 décembre 2017 11:34:17 UTC+1, Frédéric Chapoton a 
>>>>> écrit :
>>>>>>
>>>>>> I propose to change the logo on top of all trac.sagemath.org pages 
>>>>>> to the attached file.
>>>>>>
>>>>>> The idea is to introduce progressively the logos from 
>>>>>> https://wiki.sagemath.org/CorporateIdentity
>>>>>>
>>>>>> One is already used for the patchbot.
>>>>>>
>>>>>> Opinions ?
>>>>>>
>>>>>> Frederic
>>>>>>
>>>>>

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


[sage-devel] Re: trac logo change ?

2017-12-20 Thread Vincent Klein
For the actual attached icon, the limit between the background color ( 
Royal Blue ?) and the grey color of "developer trac" text is a little too 
blurry. I would prefer a cleaner color separation to make it more readable.

Le mercredi 20 décembre 2017 11:34:17 UTC+1, Frédéric Chapoton a écrit :
>
> I propose to change the logo on top of all trac.sagemath.org pages to the 
> attached file.
>
> The idea is to introduce progressively the logos from 
> https://wiki.sagemath.org/CorporateIdentity
>
> One is already used for the patchbot.
>
> Opinions ?
>
> Frederic
>

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


[sage-devel] Re: 8.2.beta0 Doctest error on tensorfield.py

2017-12-18 Thread Vincent Klein
Ok i have read --long instead of --warn-long.
Thanks for your answer. 

Le lundi 18 décembre 2017 16:26:56 UTC+1, Eric Gourgoulhon a écrit :
>
> Hi,
>
> Le lundi 18 décembre 2017 15:58:30 UTC+1, Vincent Klein a écrit :
>>
>> Hi all, 
>>
>> I get the following errors with a fresh 8.2.beta0 install (after "make 
>> distclean" "make").
>> I have the sames errors on Ubuntu 14.04 and 16.04.
>> Traceback:
>>
>> sage -t --warn-long 17.5 
>> src/sage/manifolds/differentiable/tensorfield.py  # 3 doctests failed
>>
>>
> That's because without the --long option, some doctest lines (those marked 
> with "# long time") are skipped, which causes some subsequent tests to 
> fail. 
> If one adds --long, all doctests are passed:
> sage -t --long src/sage/manifolds/differentiable/tensorfield.py
>
> I don't know what is the policy here: should all the lines that depend on 
> the one marked "# long time" be marked "# long time" as well, so that "sage 
> -t" without "--long" is successful ?
>
> Eric.
>
>

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


[sage-devel] 8.2.beta0 Doctest error on tensorfield.py

2017-12-18 Thread Vincent Klein
Hi all, 

I get the following errors with a fresh 8.2.beta0 install (after "make 
distclean" "make").
I have the sames errors on Ubuntu 14.04 and 16.04.
Traceback:

sage -t --warn-long 17.5 src/sage/manifolds/differentiable/tensorfield.py  
# 3 doctests failed
--
Total time for all tests: 4321.7 seconds
cpu time: 3517.5 seconds
cumulative wall time: 3935.7 seconds
vklein@tuono:~/odk/dev/sage$ sage -t --warn-long 17.5 
src/sage/manifolds/differentiable/tensorfield.py
Running doctests with ID 2017-12-18-15-20-43-6994e504.
Git branch: develop
Using --optional=mpir,python2,sage
Doctesting 1 file.
sage -t --warn-long 17.5 src/sage/manifolds/differentiable/tensorfield.py
**
File "src/sage/manifolds/differentiable/tensorfield.py", line 295, in 
sage.manifolds.differentiable.tensorfield.TensorField
Failed example:
t[eV,1,1,c_uv].expr()
Exception raised:
Traceback (most recent call last):
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
 
line 517, in _run
self.compile_and_execute(example, compiler, test.globs)
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
 
line 920, in compile_and_execute
exec(compiled, globs)
  File "", line 1, in 

t[eV,Integer(1),Integer(1),c_uv].expr()
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/manifolds/differentiable/tensorfield.py",
 
line 1472, in __getitem__
return self.comp(frame)[args]
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/manifolds/differentiable/tensorfield.py",
 
line 1235, in comp
return rst.comp(basis=basis, from_basis=from_basis)
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/manifolds/differentiable/tensorfield_paral.py",
 
line 921, in comp
from_basis=from_basis)
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/tensor/modules/free_module_tensor.py",
 
line 1076, in components
"the components in the {}".format(basis))
ValueError: no basis could be found for computing the components in the 
Coordinate frame (V, (d/du,d/dv))
**
File "src/sage/manifolds/differentiable/tensorfield.py", line 298, in 
sage.manifolds.differentiable.tensorfield.TensorField
Failed example:
type(t[eV,1,1,c_uv].expr())
Exception raised:
Traceback (most recent call last):
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
 
line 517, in _run
self.compile_and_execute(example, compiler, test.globs)
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
 
line 920, in compile_and_execute
exec(compiled, globs)
  File "", line 1, in 

type(t[eV,Integer(1),Integer(1),c_uv].expr())
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/manifolds/differentiable/tensorfield.py",
 
line 1472, in __getitem__
return self.comp(frame)[args]
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/manifolds/differentiable/tensorfield.py",
 
line 1235, in comp
return rst.comp(basis=basis, from_basis=from_basis)
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/manifolds/differentiable/tensorfield_paral.py",
 
line 921, in comp
from_basis=from_basis)
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/tensor/modules/free_module_tensor.py",
 
line 1076, in components
"the components in the {}".format(basis))
ValueError: no basis could be found for computing the components in the 
Coordinate frame (V, (d/du,d/dv))
**
File "src/sage/manifolds/differentiable/tensorfield.py", line 318, in 
sage.manifolds.differentiable.tensorfield.TensorField
Failed example:
f = t(a,b)
Exception raised:
Traceback (most recent call last):
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
 
line 517, in _run
self.compile_and_execute(example, compiler, test.globs)
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
 
line 920, in compile_and_execute
exec(compiled, globs)
  File "", line 1, in 

f = t(a,b)
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/manifolds/differentiable/tensorfield.py",
 
line 2348, in __call__
resu_rr = self_rr(*args_rr)
  File 
"/home/vklein/odk/dev/sage/local/lib/python2.7/site-packages/sage/manifolds/differentiable/tensorfield_paral.py",
 
line 1461, in __call__
return FreeModuleTensor.__call__(self_r, *args_r)
 

Re: [sage-devel] Re: Second round poll for H2 a specific guideline for writing docstrings

2017-05-21 Thread Vincent Klein
(2)

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


[sage-devel] Re: Poll for issue G4 a specific guideline for writing docstrings

2017-05-18 Thread Vincent Klein
+1

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


[sage-devel] Re: Poll for issue G4 a specific guideline for writing docstrings

2017-05-18 Thread Vincent Klein
+1

Le mercredi 17 mai 2017 16:24:47 UTC+2, Kwankyu Lee a écrit :
>
> We do a poll for adopting an official guideline for docstrings (see 
> https://trac.sagemath.org/ticket/23017)
> 
> G4. OUTPUT block is optional
> 
> The developer manual says OUTPUT block is not optional. But I think the 
> first statement of the docstring "Return an object ..." already describes 
> what is output. Hence usually the OUTPUT block is redundant and is needed 
> only when more explanation about the returned object is necessary.
>
> If you agree, flag +1; if you disagree, flag -1; if you want to leave it 
> as it is, flag X.
>

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


[sage-devel] Re: PYTHONPATH breaks Python3

2017-03-15 Thread Vincent Klein
I opened a ticket on this : https://trac.sagemath.org/ticket/22608#ticket

Le samedi 11 mars 2017 01:28:52 UTC+1, vdelecroix a écrit :
>
> Dear all, 
>
> The installation of both Python2 and Python3 in Sage is incompatible 
> with having PYTHONPATH sets as an environment variable. For example, one 
> gets the following kind of dramatic errors 
>
> $ sage -sh -c "pip3 install service_identity" 
> Fatal Python error: Py_Initialize: Unable to get the locale encoding 
> File ".../local/lib/python/encodings/__init__.py", line 123 
>   raise CodecRegistryError,\ 
>   ^ 
> SyntaxError: invalid syntax 
>
> Current thread 0x7fe284229700 (most recent call first): 
> Aborted (core dumped) 
>
> Does anybody knows why it is set at all? 
>
> Vincent 
>

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