cvxopt may be installed systemwide, but Sage does not use Python packages 
from the system.

"make cvxopt-uninstall cvxopt" should fix the problem

On Tuesday, August 1, 2023 at 12:38:04 PM UTC-7 emanuel.c...@gmail.com 
wrote:

> Le mardi 1 août 2023 à 13:42:40 UTC+2, Dima Pasechnik a écrit :
>
> On Tue, Aug 1, 2023 at 11:54 AM Emmanuel Charpentier 
> <emanuel.c...@gmail.com> wrote: 
> > 
> > On Debian testing, upgarding 10.1.beta7 to 10.1.beta8 and running 
> prestlong gave a raft of new failures : 
> > 
> > ---------------------------------------------------------------------- 
> sage -t --long --warn-long 219.5 
> --random-seed=26277986705114085533763530404370933785 
> src/sage/doctest/test.py # 1 doctest failed # Passes standalone sage -t 
> --long --warn-long 219.5 
> --random-seed=26277986705114085533763530404370933785 
> src/sage/graphs/generators/classical_geometries.py # 3 doctests failed # 
> Permanent sage -t --long --warn-long 219.5 
> --random-seed=26277986705114085533763530404370933785 
> src/sage/combinat/posets/posets.py # 1 doctest failed # Permanent sage -t 
> --long --warn-long 219.5 
> --random-seed=26277986705114085533763530404370933785 
> src/sage/matrix/matrix2.pyx # 2 doctests failed # Permanent sage -t --long 
> --warn-long 219.5 --random-seed=26277986705114085533763530404370933785 
> src/sage/coding/linear_code.py # 2 doctests failed # Permanent sage -t 
> --long --warn-long 219.5 
> --random-seed=26277986705114085533763530404370933785 
> src/sage/numerical/optimize.py # 8 doctests failed # Permanent sage -t 
> --long --warn-long 219.5 
> --random-seed=26277986705114085533763530404370933785 
> src/sage/coding/code_constructions.py # 1 doctest failed # Permanent sage 
> -t --long --warn-long 219.5 
> --random-seed=26277986705114085533763530404370933785 
> src/sage/numerical/sdp.pyx # 34 doctests failed # Permanent sage -t --long 
> --warn-long 219.5 --random-seed=26277986705114085533763530404370933785 
> src/sage/numerical/backends/cvxopt_sdp_backend.pyx # 21 doctests failed # 
> Permanent sage -t --long --warn-long 219.5 
> --random-seed=26277986705114085533763530404370933785 
> src/sage/matrix/matrix_double_sparse.pyx # 9 doctests failed # Permanent 
> sage -t --long --warn-long 219.5 
> --random-seed=26277986705114085533763530404370933785 
> src/sage/numerical/backends/cvxopt_backend.pyx # 17 doctests failed # 
> Permanent sage -t --long --warn-long 219.5 
> --random-seed=26277986705114085533763530404370933785 
> src/doc/en/thematic_tutorials/numerical_sage/cvxopt.rst # 8 doctests failed 
> # Permanent 
> ---------------------------------------------------------------------- 
> > 
> > Most of them may be related to outdated references to libcholmod.so.3 
> (my locate database may have been out of date). I’ll reconfigure and retry. 
>
> if you used systemwide sparsesuite (libcholmod is there) and updated 
> it, you'd need to rebuild everything that uses it. 
> Specifically, only cvxopt, it seems.
>
> Indeed : recompiling after reconfigiring locate was inefficient.
>
> I’m stuck : both cvxopt and suitesparse are installed systemwide :
> charpent@zen-book-flip:/usr/local/sage-10$ dpkg -l "*suitesparse*" 
> Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder | 
> État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=att>
>  
> |/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais) ||/ 
> Nom Version Architecture Description 
> +++-===========================-==============-============-===================>
>  
> ii libsuitesparse-dev:amd64 1:7.1.0+dfsg-2 amd64 libraries for spars> ii 
> libsuitesparseconfig7:amd64 1:7.1.0+dfsg-2 amd64 configuration routi> 
> charpent@zen-book-flip:/usr/local/sage-10$ dpkg -l "*cvxopt*" 
> Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder | 
> État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=att>
>  
> |/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais) ||/ 
> Nom Version Architecture Description 
> +++-=================-===============-============-============================>
>  
> ii python-cvxopt-doc 1.3.0+dfsg-1 all Python package for convex op> ii 
> python3-cvxopt 1.3.0+dfsg-1+b2 amd64 Python3 package for convex o> 
>
> And the *effective* installation seems to conform :
> charpent@zen-book-flip:/usr/local/sage-10$ ls -l 
> /usr/lib/x86_64-linux-gnu/libcholmod* -rw-r--r-- 1 root root 1807448 16 
> juil. 19:13 /usr/lib/x86_64-linux-gnu/libcholmod.a lrwxrwxrwx 1 root root 
> 15 16 juil. 19:13 /usr/lib/x86_64-linux-gnu/libcholmod.so -> 
> libcholmod.so.4 lrwxrwxrwx 1 root root 19 16 juil. 19:13 
> /usr/lib/x86_64-linux-gnu/libcholmod.so.4 -> libcholmod.so.4.0.4 -rw-r--r-- 
> 1 root root 1226816 16 juil. 19:13 
> /usr/lib/x86_64-linux-gnu/libcholmod.so.4.0.4 
> charpent@zen-book-flip:/usr/local/sage-10$ find . -iname "libcholmod*" 
> charpent@zen-book-flip:/usr/local/sage-10$ 
>
> I do not understand why Sage looks for libcholmod.so.3 :
> File "src/sage/matrix/matrix2.pyx", line 12741, in 
> sage.matrix.matrix2.Matrix.cholesky Failed example: A.cholesky() Exception 
> raised: Traceback (most recent call last): File 
> "/usr/local/sage-10/src/sage/doctest/forker.py", line 709, in _run 
> self.compile_and_execute(example, compiler, test.globs) File 
> "/usr/local/sage-10/src/sage/doctest/forker.py", line 1144, in 
> compile_and_execute exec(compiled, globs) File "<doctest 
> sage.matrix.matrix2.Matrix.cholesky[60]>", line 1, in <module> A.cholesky() 
> File "sage/matrix/matrix_double_sparse.pyx", line 197, in 
> sage.matrix.matrix_double_sparse.Matrix_double_sparse.cholesky from cvxopt 
> import cholmod, spmatrix, matrix as cvxopt_matrix ImportError: 
> libcholmod.so.3: cannot open shared object file: No such file or directory 
>
> configure does not seem to be able to force a local installation of 
> cvxopt.
>
> Hints ?
>
> Do you need the logs ? I have to post differently (Googne groups doe not 
> accept attachments…). 
> ​
>
>
>
> > 
> > Le dimanche 30 juillet 2023 à 16:25:06 UTC+2, 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 
> >> 
> >> 
> >> 26f5a09baf7 (tag: 10.1.beta8, github/develop) Updated SageMath version 
> to 10.1.beta8 
> >> 79dc3510abb gh-35997: Improve getting matrix entries after permutation 
> in _palp_PM_max() 
> >> 845963ced07 gh-35977: Move hilbert_numerator test to its proper place 
> >> fb1648e79fc gh-35974: `src/sage/schemes/projective/proj_bdd_height.py`: 
> Fix markup 
> >> 2f604dd785d gh-35965: Minor changes in is_chordal 
> >> dd82378cbbe gh-35962: Fix documentation formatting problem: 
> kRegularSequence.partial_sums 
> >> 448341b2c7c gh-35957: `sage.rings.function_field`: Update `# needs` 
> >> ce5b249d4d0 gh-35956: Fix several issues in find_hamiltonian 
> >> 4279c4e326e gh-35943: `sage.combinat.designs`: Modularization fixes, 
> update `# needs` 
> >> 4eb3fcb81a7 gh-35904: Make SubgraphSearch robust to vertex labels 
> >> f85e7b8b192 gh-35900: complex_dynamics, fix: mandelbrot_plot throws 
> exception for z^2*(z-c) + c 
> >> 66baa6a2638 gh-35896: deal with bad chosen representations of k-regular 
> sequences 
> >> a48b7b81c28 gh-35891: Deprecate sorting by default in connected 
> component methods for graphs 
> >> 8b3883de7fd gh-35881: `sage.groups.perm_gps.partn_ref*`: Modularization 
> fixes 
> >> f2abd5af51f gh-35749: Add style guide / reference for `# optional - 
> sage....` doctest tags, extend `sage -t` and `sage -fixdoctests` for 
> modularization tasks 
> >> 3a51d8ca597 gh-35661: New modularized distributions 
> sagemath-{sirocco,bliss,meataxe,mcqd,coxeter3,tdlib} 
> >> 1436ea2cbe7 gh-35057: Implement basic j-invariants of Drinfeld modules 
> >> 543f8d62b08 (tag: 10.1.beta7) Updated SageMath version to 10.1.beta7 
> > 
> > -- 
> > 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/17f0c70b-294e-4518-89fa-407e8653e8dfn%40googlegroups.com.
>  
>
>
>

-- 
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/186d2f05-c28a-43b7-99a6-ad39630c58c2n%40googlegroups.com.

Reply via email to