Re: [sage-support] 10.6 crash after installation

2025-07-28 Thread Dima Pasechnik
y Marc Culler in the following version. > >Please get >*SageMath-10.7_x86_64.dmg* >from >https://github.com/3-manifolds/Sage_macOS/releases > >Everything works, including JupyterLab notebooks. > >Beware: You are advised to use *Firefox (version 115 ESR)* instead of >

Re: [sage-support] 10.6 crash after installation

2025-07-18 Thread Dima Pasechnik
On Fri, Jul 18, 2025 at 4:37 PM 'Justin C. Walker' via sage-support wrote: > > Hi, all, > > I just installed 10.6 from the 3-manifolds site. My system is Mac OS > Catalina, 10.15.7, on an Intel MBP (2019). Attached is the crash report. > Immediately after I installed the tarball, I ran “sage

Re: [sage-support] about sagemath deb

2025-07-12 Thread Dima Pasechnik
On Fri, Jul 11, 2025 at 4:08 AM HG wrote: > > Hi, > > Before we had sagemath in ubuntu deb, there is no more sage in it ! > It was well integrated in debs, as I compile it works fine but not all > link to it ? > > Does any one know why it's no more in ubuntu ? Ubuntu gets its debs for Sage from

Re: [sage-support] plotting discontinuous functions

2025-07-11 Thread Dima Pasechnik
I don't think many people run 10.2, and it might be that your problem is fixed in 10.6. Can you post a complete reproducer for the problem? Best, Dmitrii On July 11, 2025 1:07:08 PM CDT, Fernando Gouvea wrote: >Running Sage 10.2 on Ubuntu in WSL... > >When I try to plot certain discontinuous f

Re: [sage-support] Sage Crash Report

2025-07-06 Thread Dima Pasechnik
Hi, your macOS is too old to run this binary. (it's in fact well past EOL). Your best bet is to build from source, although I expect big trouble. If it's an old hardware you must use to run Sage, I can only suggest to install Linux or FreeBSD on it, either directly, or in a VM HTH On July 6

Re: [sage-support] Installing Sage on Ubuntu 24.04 , waited 12 hours for documentation to install

2025-07-06 Thread Dima Pasechnik
Dear Stuart, thanks for the message. We don't test Sagemath on machines with Mathematica installed, sorry. Do you actually have a working Mathematica installation? Sage is able to use terminal interface to it, using "math" command. Does typing "math" (without quotes) in the terminal give you a Mat

Re: [sage-support] Error in building sage on Unbuntu 22.04

2025-06-26 Thread Dima Pasechnik
On Thu, Jun 26, 2025 at 8:29 AM Maxime Louvet wrote: > I had a correct sage 10.5 build. But after an upgrade from a previous version > to Unbuntu 22.04, it didn't work. After several try of make distclean && > build, i deleted everything and tried to install sage 10.6 from start in a > new dir

Re: [sage-support] Trouble installing Sage 10.6 on Ubuntu

2025-06-05 Thread Dima Pasechnik
Hi, most probably the problem is due to Conda in your PATH: PATH: /home/pierretchamitchian/.local/bin/ PATH: /home/pierretchamitchian/miniforge3/bin/ PATH: /home/pierretchamitchian/miniforge3/condabin/ PATH: /usr/local/sbin/ PATH: /usr/local/bin/ PATH: /usr/sbin/ PATH: /usr/bin/ PATH: /sbin/ PAT

Re: [sage-support] not too hard mixed integer linear program that both PPL and GLPK fail to solve

2025-05-21 Thread Dima Pasechnik
is not supported > > On Wed, 21 May 2025 at 18:39, Dima Pasechnik wrote: > > > > PS. You also have not set an objective function, not sure, but it could > be why you have no termination > > > > On Wed, May 21, 2025, 11:37 Dima Pasechnik wrote: > >> >

Re: [sage-support] not too hard mixed integer linear program that both PPL and GLPK fail to solve

2025-05-21 Thread Dima Pasechnik
It should be possible to construct the polyhedron determined by the feasible set of the LP, triangulate it, and do simplex by simplex or perhaps use various results relating volumes and presence of integral points in polyhedra. On Wed, May 21, 2025, 11:27 Vincent Delecroix <20100.delecr...@gmail.c

Re: [sage-support] not too hard mixed integer linear program that both PPL and GLPK fail to solve

2025-05-21 Thread Dima Pasechnik
PS. You also have not set an objective function, not sure, but it could be why you have no termination On Wed, May 21, 2025, 11:37 Dima Pasechnik wrote: > It should be possible to construct the polyhedron determined by the > feasible set of the LP, triangulate it, and do simplex by simp

Re: [sage-support] Error building python3-3.12.5

2025-04-30 Thread Dima Pasechnik
There is no need to build Sage's Python, an external Python will always do. (We have at last agreed that this mostly broken capability of Sage, to build its own Python, should be removed, as it mostly leads to such annoyances) I suggest to install enough system packages, as suggested by the ./conf

Re: [sage-support] Sage 10.6 - Error during compilation.

2025-04-25 Thread Dima Pasechnik
On Fri, Apr 25, 2025 at 2:18 AM Topaze wrote: > I got another error. > > I still have version 10.5 installed and fully functional, so I'm not > really in a hurry. > > Maybe I should wait for this problem to be fixed upstream? > this is all fixed in the latest Sage beta, 10.7.beta1. IMHO we should

Re: [sage-support] Sage 10.6 - Error during compilation.

2025-04-24 Thread Dima Pasechnik
On Thu, Apr 24, 2025 at 8:24 AM Topaze wrote: > OK, so I started from scratch. I've got lots of disk space and memory, so > I don't know why make stumbled. And twice in the same place, hence my > report. But this time I managed to compile without any problem (did make > -j 1 (parameter “1”, no mo

Re: [sage-support] Sage 10.6 - Error during compilation: matplotlib/numpy incompatibility

2025-04-24 Thread Dima Pasechnik
Sage 10.6 was released with numpy 2.2.3, and matplotlib 3.8.0 from 2023, which is incompatible with numpy 2 (the compatibility was added in 3.8.4). While 10.6.rc0 was released, this problem was noticed (see https://groups.google.com/g/sage-release/c/TkPM0xL2fFA/m/LB0dT9PLAwAJ) but was not acted upo

Re: [sage-support] Sage 10.6 - Error during compilation.

2025-04-22 Thread Dima Pasechnik
this does look like some kind of hardware issue: > sed: couldn't flush stdout: Ressource temporairement non disponible > make[4]: *** [Makefile:3412 : numpy-SAGE_VENV-no-deps] Erreur 141 Try restarting make, hopefully it will finish building numpy On Mon, Apr 21, 2025 at 10:34 AM Topaze wrot

Re: [sage-support] package / initilaizer problem...

2025-04-21 Thread Dima Pasechnik
On Mon, Apr 21, 2025 at 4:22 AM Thierry Dumont wrote: > Mhh, interesting. > > In the REPL it works: > A=matrix([[0,0,0,0],[1/2,0,0,0],[0,1/2,0,0],[0,0,1,0]])*AA.one() > ok > and: > sage: A.parent().is_exact() > True > > But an other problem happens: > The class "RungeKutta" (the parent class of R

Re: [sage-support] package / initilaizer problem...

2025-04-21 Thread Dima Pasechnik
On Mon, Apr 21, 2025 at 4:22 AM Thierry Dumont wrote: > Mhh, interesting. > > In the REPL it works: > A=matrix([[0,0,0,0],[1/2,0,0,0],[0,1/2,0,0],[0,0,1,0]])*AA.one() > ok > and: > sage: A.parent().is_exact() > True > > But an other problem happens: > The class "RungeKutta" (the parent class of R

Re: [sage-support] ask sagemath.org

2025-04-17 Thread Dima Pasechnik
"Sign in with Google" button (showing the long gone g+ thing) works for me (I'm based in US, since Oct 2024, perhaps this matters nowadays). On Thu, Apr 17, 2025 at 6:19 AM Thierry Dumont wrote: > I am trying to ask a question to ask.sagemath.org. > > When posting my question, I try to connect w

Re: [sage-support] unable to build

2025-04-17 Thread Dima Pasechnik
Hi, you are using a very recent xcode, and it needs https://github.com/sagemath/sage/pull/39915 and https://github.com/sagemath/sage/pull/39936 to fix lcalc and fflas_ffpack problems (the latter are caused by old givaro). Do you need instructions about applying these? In short, assuming you are u

Re: [sage-support] unable to build

2025-04-16 Thread Dima Pasechnik
Hi, please try 10.6 instead of 10.5. On 16 April 2025 02:07:36 GMT-05:00, Dibyendu Roy wrote: >Dear all, > >I am unable to build sage 10.5. Log is attached. Please help. > >-- >You received this message because you are subscribed to the Google Groups >"sage-support" group. >To unsubscribe fro

Re: [sage-support] build hangs without error message

2025-04-14 Thread Dima Pasechnik
On Mon, Apr 14, 2025 at 9:03 AM Denis Sunko wrote: > > I have been installing Sage from source on three workstations and a laptop > for ages. The last release which went without a hitch was 10.3. I skipped > 10.4, but with 10.5 and 10.6 one of the workstations has a weird problem: the > build s

Re: [sage-support] Sage 10.6 || Mac m2

2025-04-10 Thread Dima Pasechnik
On Mon, Apr 7, 2025 at 11:38 PM Dibyendu Roy wrote: > > Dear all, > > I am unable to build and getting the attached error. Please advise. > > Error building Sage. > > > The following package(s) may have failed to build (not necessarily > > during this run of 'make all-build'): > > > * package:

Re: [sage-support] error building sage-10.6

2025-04-08 Thread Dima Pasechnik
On Tue, Apr 8, 2025 at 11:50 AM Philippe Delavalade wrote: > > Le mardi 08 avril à 18:10, Dima Pasechnik a écrit : > > Your MAKEFLAGS value looks funny. Can you just leave -j an -l > > arguments there, as recommended in our README.md, and try again? > > Tirst, many thank

Re: [sage-support] error building sage-10.6

2025-04-08 Thread Dima Pasechnik
Your MAKEFLAGS value looks funny. Can you just leave -j an -l arguments there, as recommended in our README.md, and try again? On Tue, Apr 8, 2025 at 10:57 AM Philippe Delavalade wrote: > > HI all. > > I obtain the same kind of error than dibyendu but with package m4ri > > So I attach files > con

[sage-support] Re: [sage-devel] Error Building Sage

2025-04-05 Thread Dima Pasechnik
#x27;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 > '/Users/vishalshahi/Desktop/sage/sage/local/var/lib/sage/venv-python3.12.5/var/t

[sage-support] Re: [sage-devel] Error Building Sage

2025-04-05 Thread Dima Pasechnik
ource(*ei, graph)], +to_return.push_back({static_cast(index[boost::source(*ei, graph)]), {index[boost::target(*ei, graph)], get(boost::edge_weight, graph, *ei)}}); } l On Tue, Apr 1, 2025 at 2:32 PM Dima

Re: [sage-support] error building gap_packages

2025-04-05 Thread Dima Pasechnik
On Wed, Apr 2, 2025 at 3:33 AM John Cremona wrote: > > I successfully built 10.6 from scratch on 5 different machines (all > ubuntu), then (as is my usual practice) did "make gap_packages". This > worked on all but one machine where I see this, of which the relevant > line seems to be "UnicodeDec

[sage-support] Re: [sage-devel] Error Building Sage

2025-04-05 Thread Dima Pasechnik
ly > > caused by different translation units being compiled with different > > visibility settings. Dima On Tue, Apr 1, 2025 at 1:50 PM Dima Pasechnik wrote: > > Once again, what Sage version are you using? 10.6 was just released > (it's basically the same as 10.6.rc1) >

Re: [sage-support] Error in downloading optional database package "database_odlyzko_zeta"

2025-04-02 Thread Dima Pasechnik
On Wed, Apr 2, 2025 at 9:08 AM henry reichow wrote: > > I've just began using sage, so if there's a simple solution I apologize. > > I'm trying to download the database_odlyzko_zeta database package using the > steps here: > https://doc.sagemath.org/html/en/reference/databases/sage/databases/odly

Re: [sage-support] Sage Crash Report

2025-04-01 Thread Dima Pasechnik
On Tue, Apr 1, 2025 at 9:34 AM Erick Ross wrote: > > OS:Ubuntu 20.04 (using WSL2 running on 64-bit Windows 10) > Sage Installation: Using "apt install sagemath" in the terminal > Crash details: Just typed "sage" into the terminal, and it crashed. > > There is some undefined symbol e

Re: [sage-support] Re: trouble with tokens when using notebook

2025-04-01 Thread Dima Pasechnik
John, Chrome is officially a spyware, why are you complaining that it doesn't always work as you like? :-) You might try chromium browser instead. Dima On Tue, Apr 1, 2025 at 11:37 AM John Cremona wrote: > > For what it is worth, after building 10.6 (both from scratch, and also > upgrading from a

Re: [sage-support] Re: trouble with tokens when using notebook

2025-03-31 Thread Dima Pasechnik
On Mon, Mar 31, 2025 at 4:45 AM John Cremona wrote: > > I still have the problem. Although what I did in my previous post "fixed" > the issue once last week, this week I am back to not being able to use the > notebook as it asks for a token but does not accept the token provided. Here > is th

Re: [sage-support] Error Building Sage

2025-03-29 Thread Dima Pasechnik
Do you use Homebrew? Please post the top level config.log On 29 March 2025 05:28:32 GMT-05:00, 'Vishal Shahi' via sage-support wrote: > > >Dear Sage Development Team, > >I am experiencing an issue while building Sage on my MacBook Air M1 running >macOS Sequoia. I followed all instructions outl

Re: [sage-support] Failure to build on M1 MacBook Pro

2025-03-28 Thread Dima Pasechnik
the previous report/fix on this was https://groups.google.com/g/sage-release/c/h309YA14cq8/m/h2ydGdDOAwAJ On Friday, March 28, 2025 at 10:13:26 AM UTC-5 Dima Pasechnik wrote: > On Fri, Mar 28, 2025 at 06:14:50AM -0700, Ben Salisbury wrote: > > I looked through past messages and did

Re: [sage-support] Failure to build on M1 MacBook Pro

2025-03-27 Thread Dima Pasechnik
it is a Homebrew issue, I forgot where it was mentioned. (search the last couple of weeks of messages here) Update/upgrade Homebrew, reinstall perl. On 27 March 2025 15:50:47 GMT-05:00, Ben Salisbury wrote: >Hi all. I hope I have a minor error here that I'm missing. I'm attempting >to upgr

Re: [sage-support] Re: Build Failure: Cython CompileError in pari/convert_sage.pyx (pari_PRIMES) (develop branch)

2025-03-27 Thread Dima Pasechnik
clean up the repo: git clean -fdx then update the branch git pull and build again On 27 March 2025 11:34:34 GMT-05:00, Ashutosh Rajora wrote: >woahh, now it seems the build is broken and even sage is not working, do i >need to build it again? > >On Thursday, March 27, 2025 at 3:10:53

Re: [sage-support] Not able to build sage from source

2025-03-25 Thread Dima Pasechnik
Your brial log is from 3 march, it's most probably not the problem you have. Try to update your conda install and clean up the Sage installation before trying to rebuild by removing all built artefacts (careful: this will also remove all uncommitted changes/files in the repo!) git clean -fdx

[sage-support] URGENT: possible GitHub-related security issue due to compromised secrets

2025-03-17 Thread Dima Pasechnik
Dear all, this is to point out that SageMath is one of GitHub orgs affected by "tj-actions changed-files through 45.0.7 allows remote attackers to discover secrets by reading actions logs" https://github.com/advisories/GHSA-mrrh-fwg8-r2c3 we are working to fix this in sagemath GitHub org repos (s

Re: [sage-support] Build failure when installing SciPy

2025-03-09 Thread Dima Pasechnik
the test logs should be in logs/tests.log, post them here, otherwise it's hard to say what's wrong On 9 March 2025 00:09:53 GMT-06:00, Ashutosh Rajora wrote: > >The testing ended, but i can see a lot of FAILED TESTS, are they normal? >and can i proceed to contribute or these need to be fixed?

Re: [sage-support] Build failure when installing SciPy

2025-03-08 Thread Dima Pasechnik
perhaps you are running too many complications in parallel, and that's why one of them errors out. As scipy uses ninja, check out ninja documentation on how to limit the number - that's a parameter to add to ninja call. This might need a small patch to scipy, or using another version of scipy...

Re: [sage-support] Build failure when installing SciPy

2025-03-07 Thread Dima Pasechnik
It looks indeed as an insufficient RAM for the C++ compiler. Do you have a fixed amount of RAM allocated to WSL? It should better be 4Gb or more. I am not sure what "free -h" is showing here. If RAM is dynamically shared between Windows and WSL, it doesn't mean much. Try re-running "make" On

Re: [sage-support] Bug Polynomial Quotient with 2 ideal generator rings over RR lose precision of base ring.

2025-03-05 Thread Dima Pasechnik
On Wed, Mar 5, 2025 at 12:51 PM Seth Chaiken wrote: > > In Sage 10.4, we tried to inject a RR number into a RR polynomial ring > quotient. It > works fine when the ideal had one (monomial) generator but precision is lost > when > it had two generators. It's not a bug - it's half-expected that

[sage-support] Re: [sage-devel] Re: WeylGroup question

2025-03-04 Thread Dima Pasechnik
On Tue, Mar 4, 2025 at 11:48 AM dmo...@deductivepress.ca wrote: > > This is a question about how to use sagemath, not an issue about sagemath > development, so you should post it on a different forum, such as > ask.sagemath.org. The people there are very knowledgeable. Another option is sage-su

Re: [sage-support] installation issue

2025-02-22 Thread Dima Pasechnik
It seems that your system-wide libnauty is not linked with libcliquer. Could you post output of ldd /usr/lib/x86_64-linux-gnu/libnauty.so ? It should look approximately like linux-vdso.so.1 (0x7f5878adc000) libcliquer.so.1 => /usr/lib64/libcliquer.so.1 (0x7f5878a1a000) libc.

Re: [sage-support] https://ask.sagemath.org does not seem to be working in the last couple of days

2025-02-09 Thread Dima Pasechnik
no, it's down, together with a number of other machines in the same French lab. Hopefully will be fixed in the coming week On 9 February 2025 20:36:19 GMT-06:00, Kevin Youren wrote: >Is it only me? > >-- >You received this message because you are subscribed to the Google Groups >"sage-support

Re: [sage-support] Re: Make step fails during installation due to certificate problem downloading Patch 2.7.6

2025-02-06 Thread Dima Pasechnik
Of course if you have a few millions to donate to the project, we will be able to provide the users with the most beautiful installation experience, with visuals and music. After several years of work. The result will still have bugs, of course. The follow-ups please to sage-fl...@googlegroups.

[sage-support] Re: Make step fails during installation due to certificate problem downloading Patch 2.7.6

2025-02-06 Thread Dima Pasechnik
Hi, few thing you ought to consider with your setup. We presently don't really support installing Sage in a venv (this is being worked on, but it's far from being ready for general use) Basically, Sage will create its own venv instead. Then, we're not supporting Python 3.13 yet. You can use 3.12

Re: [sage-support] The method is_sparse_paving() of a matroid may be wrong!

2025-01-26 Thread Dima Pasechnik
On Sat, Jan 25, 2025 at 11:03 PM Xie wrote: > > for M in matroids.AllMatroids(8, type='sparse_paving'): > : print(M) > sparse_paving_n08_r04_#0: Matroid of rank 4 on 8 elements with 56 bases > sparse_paving_n08_r05_#0: Matroid of rank 5 on 8 elements with 48 bases > sparse_paving_n08_r

Re: [sage-support] completely uninstalling SageMath

2025-01-25 Thread Dima Pasechnik
The macOS app is mainly dealt with by Marc Culler - not sure whether he reads this group, so I put him in CC. He knows more about these annoying macOS details than other Sage devs, for sure. HTH Dima On Sat, Jan 25, 2025 at 11:51 AM James Propp wrote: > > Thanks, John. I tried your idea, but Sag

Re: [sage-support] completely uninstalling SageMath

2025-01-24 Thread Dima Pasechnik
Please provide more details on how exactly you installed SageMath, which installer is this? On 24 January 2025 15:06:33 GMT-06:00, James Propp wrote: > > >How do I do a *complete* uninstall that (among other things) will >“un-answer” the installation software’s questions about giving various

Re: [sage-support] Problem using the Sagemath kernel in system's Jupyter

2025-01-23 Thread Dima Pasechnik
Have you updated your jupyter(lab) recently? nbclassic doesn't seem to be a module required by SageMath jupyter kernel. Can you install it into whatever Python environment your jupyter(lab) installation is using? (you may also try ./sage --pip install nbclassic) Best Dima On Thu, Jan 23, 2025 at

Re: [sage-support] The sagetex python scripts are not installed. Why ?

2025-01-11 Thread Dima Pasechnik
This is a bug in sagemath/sagetex These files have to be properly packaged for installation by pip. On 10 January 2025 13:21:45 GMT-06:00, Emmanuel Charpentier wrote: > > >In my current installation : >charpent@zen-book-flip:~/Temporaire/Latex/sagetex$ ls >/usr/local/sage/venv/share/texmf/tex

Re: [sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-11 Thread Dima Pasechnik
On Sat, Jan 11, 2025 at 8:08 AM Pavel Galashin wrote: > > I ran the same commands from scratch in new folders: > > $ git clone -c core.symlinks=true --filter blob:none \ --origin upstream > --branch develop --tags \ https://github.com/sagemath/sage.git $ cd sage $ > make configure $ source ./.ho

[sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-09 Thread Dima Pasechnik
It would be great if you tried newer Homebrew Pythons, .i.e. 3.10 and 3.11, too, and reported here the results. On Thursday, January 9, 2025 at 10:52:07 AM UTC-6 pgal...@gmail.com wrote: > It was installed via homebrew, same as python3.12: > $ which python3.9 /opt/homebrew/bin/python3.9 > ​ > >

[sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-09 Thread Dima Pasechnik
Thanks. So, what's the output of which python3.9 in your case? And where does it come from? I suppose the issue lies in multiptocessing/multithreading support in Python, which eveloved a lot since 3.9. More Pythons to try might be from https://www.python.org/downloads/ (it would be good to k

[sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-07 Thread Dima Pasechnik
Our docbuilder isn't great, it uses some custom outdated tricks for parallel building. Switching to a more standard sphinx setup is overdue... Try cleaning docs by make doc-clean and then run make -j1 On Tuesday, January 7, 2025 at 2:56:47 AM UTC-6 pgal...@gmail.com wrote: > Thank you for th

Re: [sage-support] Re: Error when makeing Sage

2025-01-05 Thread Dima Pasechnik
On 5 January 2025 14:04:20 GMT-06:00, "Éricles Lima" wrote: >It's funny... why should removing log files change the error obtained? less scrolling to look for the real error. > >Anyway, it did. Now it fails when building gmpy: > > > > > > > >*Error building Sage.The following package(s) may have

Re: [sage-support] Re: Error when makeing Sage

2025-01-03 Thread Dima Pasechnik
On Fri, Jan 3, 2025 at 12:15 PM Éricles Lima wrote: > > Is there more than one config.log? > > I considering copying the one I found below, but the formatting became too > awful, so I add it again as an attachment here (it's also attached to my > first message in this discussion) > > Thanks befo

Re: [sage-support] Re: Error when makeing Sage

2025-01-03 Thread Dima Pasechnik
Your error indicates that your system Python3 was rejected for some reason. Please post the top-level config.log - it contains the needed details. On Fri, Jan 3, 2025 at 10:18 AM Éricles Lima wrote: > > But that's basically what I did before - the steps on that sagemanifolds > website are basica

[sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-02 Thread Dima Pasechnik
/usr/bin/python3 you end up using is no good for using with Sage (and unfortunately our ./configure doesn't see it), that's why. I suggested to install python3.12 in Homebrew and use it instead. (because building Sage's python is broken on your macOS version, too, there aren't many other easy opt

Re: [sage-support] Error building sage 10.6.beta2: braiding function

2025-01-02 Thread Dima Pasechnik
No error log was attached On 2 January 2025 18:15:47 GMT-05:00, Pranav Setpal wrote: >Hello, I am trying to build sage 10.6.beta2 on NixOS. I followed what was >mentioned >here(https://github.com/NixOS/nixpkgs/tree/nixos-unstable/pkgs/by-name/sa/sage#i-want-to-update-sage) > >to do the same

Re: [sage-support] Unable to build sage from source on M4 Macbook

2025-01-02 Thread Dima Pasechnik
You can install Homebrew's Python 3.12 : brew install python@3.12 and run ./configure --with-python=python3.12 to tell Sage to use it and do not build Python. On 2 January 2025 06:27:09 GMT-05:00, Pavel Galashin wrote: >Hi all, > >I am trying to build a local sage version for de

Re: [sage-support] Unable to build sage from source on M4 Macbook

2025-01-02 Thread Dima Pasechnik
Why won't you use Python from Homebrew? Not that it explains your error, but they know how to build Python on macOS. On 2 January 2025 06:27:09 GMT-05:00, Pavel Galashin wrote: >Hi all, > >I am trying to build a local sage version for development and keep running >into the below problem. > >I h

Re: [sage-support] Error buildign sage

2024-12-19 Thread Dima Pasechnik
We should really drop our old docbuild system in favour of a more direct use of Sphinx, so that only changed files are rebuilt, etc. But it's quite a bit of work, and we are short of hands in this area. Volunteers? Dima On Thu, Dec 19, 2024 at 8:11 AM Seth Chaiken wrote: > > I had errors buildi

Re: [sage-support] ./configure reports no gcc but it is installed

2024-12-16 Thread Dima Pasechnik
Hi, you are trying to install Sage 10.0, for some reason. Since Sage 10.4 or 10.5 (the current one) you certainly can use gcc-14/g++-14. HTH Dima On Mon, Dec 16, 2024 at 7:29 PM brett stevens wrote: > > I recently updated my system to Ubuntu 24.10 and am having trouble compiling > sagemath. > I

Re: [sage-support] Sagemath FPYLLL Runtime Error

2024-12-12 Thread Dima Pasechnik
On Thu, Dec 12, 2024 at 10:27 AM Xavier Wong wrote: > > When I utilise the BKZ algorithm on a basis as shown in the code below, I > will receive a runtime error "terminate called recursively". After running > the code again, I got another error that states "infinite loop in babai". > This made

Re: [sage-support] Re: make ignores "-j" option

2024-12-07 Thread Dima Pasechnik
A vastly better way of building sagelib is via meson. We already have a preliminary support for it included - notice all these meson.build files in the source tree. In some cases you can already use it. More is being worked on, see e.g. https://github.com/sagemath/sage/pull/39030 testing and user i

Re: [sage-support] Giac failed, help :(((

2024-12-01 Thread Dima Pasechnik
On Sun, Dec 1, 2024 at 10:12 AM Thuong To wrote: > > In fact it showed sth like this: > ldd /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libnauty.so > linux-vdso.so.1 (0x7f4e134d7000) > libcliquer.so.1 => /lib/libcliquer.so.1 (0x7f4e1341f000) > libc.so.6 => /lib/x86_64-linux-

Re: [sage-support] Giac failed, help :(((

2024-11-30 Thread Dima Pasechnik
>From your log it's clear that libnauty (typically from a package called nauty, or libnauty, or libnauty-dev - depending on the particular Linux distribution you're using) installed system-wide on your machine is broken: -- ... [spkg-install] /usr/bin

Re: [sage-support] Conversion from finite field to integer polynomial

2024-11-27 Thread Dima Pasechnik
gt;4*a^2 + 3*a + 1 >sage: Zy. = ZZ[] >sage: Zy(list(b)) >4*y^2 + 3*y + 1 > >On Wednesday, 27 November 2024 at 06:51:57 UTC Dima Pasechnik wrote: > >> A natural way would be to construct the quotient ring of GF(5)[x] modulo >> (P), then b will be a polynomial in

Re: [sage-support] Conversion from finite field to integer polynomial

2024-11-26 Thread Dima Pasechnik
A natural way would be to construct the quotient ring of GF(5)[x] modulo (P), then b will be a polynomial in x, and you will have direct access to its coefficients. On 26 November 2024 16:46:50 GMT-06:00, "G. M.-S." wrote: >Already asked on >https://ask.sagemath.org/question/80389/conversion-

Re: [sage-support] Re: 1.0^x raises ValueError: power::eval(): division by zero

2024-11-25 Thread Dima Pasechnik
Opening an issue on GitHub will help. It shouldn't be harder than posting here. On 25 November 2024 03:52:39 GMT-06:00, 'Peter Mueller' via sage-support wrote: >I'm not familiar with the developing process. So I guess someone (maybe >you?) should open a ticket? Or I could try to fill the "Issue

Re: [sage-support] failure to make on M1 MacBook 2020

2024-10-21 Thread Dima Pasechnik
ase --abort". Could not apply db5bf6ce535... Filter out R warnings On Sun, Oct 20, 2024 at 3:03 PM Dima Pasechnik wrote: On Sun, Oct 20, 2024 at 7:06 PM Jackson Walters wrote: > > I don’t think I understand. I am just making commits in PR #38455. If I switch to the develop branch, s

Re: [sage-support] failure to make on M1 MacBook 2020

2024-10-20 Thread Dima Pasechnik
base in your case will be automatic (I got the branch from #38455 and tested on it) Dima > > Thanks, > Jackson > > On Sun, Oct 20, 2024 at 7:00 AM Dima Pasechnik wrote: >> >> >> >> On 20 October 2024 01:58:14 BST, Jackson Walters >> wrote: >>

Re: [sage-support] failure to make on M1 MacBook 2020

2024-10-20 Thread Dima Pasechnik
on I was working with. I should >also mention I do have an installation from binary installed (10.4). > >Thanks, >Jackson > >On Sat, Oct 19, 2024 at 4:01 AM Dima Pasechnik wrote: > >> According to the config.log, you are trying to install Sage 10.5.beta0 >> - whi

Re: [sage-support] failure to make on M1 MacBook 2020

2024-10-19 Thread Dima Pasechnik
According to the config.log, you are trying to install Sage 10.5.beta0 - which might just not work. (beta0 are often broken, etc). Anyway, for the development purposes you'd normally use one of the latest betas. The latest is 10.5.beta7. Please try it instead. If you already have changes in your s

Re: [sage-support] failure to make on M1 MacBook 2020

2024-10-18 Thread Dima Pasechnik
The errors you have might be due to the use of pyenv (perhaps it's not activated, but still it might be a problem). Specifically, in your PATH you have PATH: /opt/homebrew/Cellar/pyenv-virtualenv/1.2.4/shims/ PATH: /Users/jacksonwalters/.pyenv/shims/ PATH: /Users/jacksonwalters/.pyenv/bin/ PATH: /

Re: [sage-support] failure to make on M1 MacBook 2020

2024-10-18 Thread Dima Pasechnik
Hi, could you post the top-level config.log and logs/install.log ? Thanks. On 18 October 2024 20:19:13 BST, Jackson Walters wrote: >Hi all, > >I am making some changes to `symmetric_group_representations.py`, and it >would be useful to test them locally before committing them to a PR. I >have

Re: [sage-support] Graph orientations output convention inconsistent

2024-10-03 Thread Dima Pasechnik
Hi Gordon, On 3 October 2024 12:06:03 BST, Gordon wrote: >This is not exactly a bug, but definitely a "gotcha" which will catch many >people unawares but could easily be fixed. > >It is related to the two functions "orientations" and >"acyclic_orientations" which are meant to return iterators to

Re: [sage-support] installation getting stuck

2024-09-28 Thread Dima Pasechnik
Please post here config.log and install.log It's next to impossible to guess what goes wrong without this info. On 28 September 2024 15:28:38 BST, A wrote: >Hi, >I am using the following sage installation guide - >https://sagemanifolds.obspm.fr/install_ubuntu.html > >Every time I tried to run

Re: [sage-support] Re: View does not work

2024-09-26 Thread Dima Pasechnik
On Thu, Sep 26, 2024 at 11:04 PM Trey Davis wrote: > > It still doesn't work...any logs or something I should post? We'd appreciate more details on how you run Sage and invoke view, and what exactly you see in the error message. E.g. if you run Sage in a WSL terminal and invoke view() at sage: p

Re: [sage-support] strange plot

2024-09-25 Thread Dima Pasechnik
I can only say that Sage isn't properly geared to plot non-smooth functions. If you have such a piecewise-linear graph, it's probably better to split it into polyhedral pieces and plot them. On Wed, Sep 25, 2024 at 3:42 PM Fernando Gouvea wrote: > Recently I was trying to get SageMath to plot

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-15 Thread Dima Pasechnik
Curiously, this might be a regression in meson 1.3.2 (or perhaps your OS mangles it somehow), as Sage carries 1.3.1. Anyhow, the current meson version is 1.5.1, so both of these are old. On Sun, Sep 15, 2024 at 2:17 PM Kevin Youren wrote: > > Dima, > > well done and thank you! > > I started the

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-15 Thread Dima Pasechnik
That's unfortunate, and it might be a bug in the meson/meson-python/ninja versions installed on your machine. (that's a curse of LTS versions, they often remain with old buggy versions). You can check if using instead versions vendored by Sage would work. Run ./configure --with-system-meson=no --

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-14 Thread Dima Pasechnik
On Sat, Sep 14, 2024 at 7:00 AM Kevin Youren wrote: > > Dima, > > thanks for the hint, > > but > > export NINJA_ARGS="-j4" > make > > didn't work. It still 'froze' . Could you try -j1 rather than -j4 ? And also export JOBS=1 > > > Restarting > > using > export NINJA_ARGS="-j4" > make > > is wor

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-13 Thread Dima Pasechnik
gards, Kevin > > > >On Friday 13 September 2024 at 21:29:07 UTC+10 oscar.j@gmail.com wrote: > >> On Thu, 12 Sept 2024 at 14:25, Dima Pasechnik wrote: >> > >> > Sage merely invokes pip to build scipy from source. >> > >> > Indeed, apart from n

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-12 Thread Dima Pasechnik
: > On Thu, 12 Sept 2024 at 09:31, Dima Pasechnik wrote: > > > > scipy itself is not built with configure/make, it's built with meson, > ... > > There is no direct way to specify a non-default "-j" value, however it > appears to be possible to do this via

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-12 Thread Dima Pasechnik
scipy itself is not built with configure/make, it's built with meson, which invokes ninja (a faster replacement for make, in particular it parallelizes the tasks much better - but in your case it goes overboard with it). You can see it in your log: [spkg-install] Found ninja-1.11.1 at /usr/bin/nin

Re: [sage-support] Re: Possible problem with our interfaces to maxima

2024-08-25 Thread Dima Pasechnik
On 25 August 2024 09:52:20 BST, Emmanuel Charpentier wrote: > > >*Correction :* > > - /usr/bin/maxima, the “standalone” version of maxima provided by Debian > testing, runs without error : > >(%i3) t:taylor(g, x4, 0, 8)$ (%i4) > > - /usr/local/sage-10/local/bin/maxima, “our” versi

Re: [sage-support] Re: MacOS 14.5 on M2 fails to build at gmp

2024-08-22 Thread Dima Pasechnik
I would remove the symbolic link 'sage' in /usr/local/bin/ Dima On 22 August 2024 15:27:25 BST, Ben Salisbury wrote: >I'm not sure how to tell what's supposed to be there and what isn't. Here >is my top level /usr/local/ > >salis1bt@MTH158053PE212 local % ls -ao > >total 0 > >drwxr-xr-x 9 r

Re: [sage-support] Possible problem with our interfaces to maxima

2024-08-22 Thread Dima Pasechnik
To see exactly how it fails in Maxima, it has to be initialised with the same options as passed to maxima_calculus. It loads several non-default Maxima packages. I suppose one of the latter triggers the error in question. On 22 August 2024 12:04:31 BST, Emmanuel Charpentier wrote: > > >Inspi

Re: [sage-support] MacOS 14.5 on M2 fails to build at gmp

2024-08-20 Thread Dima Pasechnik
August 20, 2024 at 3:08:47 PM UTC-4 Dima Pasechnik wrote: > >> Why is gmp from Brew rejected? >> Please post top-level config.log >> >> >> >> On 20 August 2024 16:31:08 BST, Ben Salisbury wrote: >> >>> Hi. I'm trying to build Sage fr

Re: [sage-support] MacOS 14.5 on M2 fails to build at gmp

2024-08-20 Thread Dima Pasechnik
testing Brew's gmp errors out with not found. Something is funny with the Xcode installation, I presume On 20 August 2024 20:38:39 BST, Ben Salisbury wrote: >This one? I included the install.log, too, just for fun. > >On Tuesday, August 20, 2024 at 3:08:47 PM UTC-4 Dima P

Re: [sage-support] MacOS 14.5 on M2 fails to build at gmp

2024-08-20 Thread Dima Pasechnik
Why is gmp from Brew rejected? Please post top-level config.log On 20 August 2024 16:31:08 BST, Ben Salisbury wrote: >Hi. I'm trying to build Sage from source (the develop branch) on an M2 >MBAir running Sonoma 14.5 and the build continues to fail at gmp. I >downloaded a fresh copy of Comma

Re: [sage-support] Order of Variables of Polynomial Matters

2024-07-28 Thread Dima Pasechnik
t; The 1st one hits the Ref1 but 2nd one don't. That leads to ConstantPolynomial > Error. > > On Sunday, July 28, 2024 at 3:42:28 AM UTC+5:30 Dima Pasechnik wrote: >> >> On Sat, Jul 27, 2024 at 9:59 PM 'Animesh Shree' via sage-support >> wrote: >> &

Re: [sage-support] Order of Variables of Polynomial Matters

2024-07-27 Thread Dima Pasechnik
On Sat, Jul 27, 2024 at 9:59 PM 'Animesh Shree' via sage-support wrote: > > I saw this behavior > > sage: R1. = QQ[] > sage: R2. = QQ[] # Rearrange variables of R1 > sage: R1 > Multivariate Polynomial Ring in x, y, z over Rational Field > sage: R2 > Multivariate Polynomial Ring in z, x, y over Ra

Re: [sage-support] errors after install

2024-06-26 Thread Dima Pasechnik
It appears that FriCAS - one of the packages - is broken. Try reinstalling it, by running the following 3 commands make fricas-clean fricas-uninstall make fricas make build On 26 June 2024 18:23:01 BST, Kate Stange wrote: >Hi, > >I just did a fresh install of Sage and it runs: > >│ SageMath v

[sage-support] Re: [sage-devel] Re: Proposal (redo): Make pytest, pytest_mock, pytest_xdist + dependencies standard packages

2024-06-01 Thread Dima Pasechnik
On Sat, Jun 1, 2024 at 7:18 PM Matthias Koeppe wrote: > > I'll share some additional facts for everyone's convenience. > > The total size of these 5 wheel packages to be added in > https://github.com/sagemath/sage/pull/37301is about 500 kilobytes. (As a > comparison, that's 10% of the size of ou

Re: [sage-support] Errors building Sage 10.4.beta6 in Sonoma 14.5

2024-05-22 Thread Dima Pasechnik
The latest beta (10.4.beta6) has a number of problems on macOS. Either wait for the next beta, or check out the relevant PRs in our repo, github.com/sagemath/sage/pulls On 21 May 2024 17:35:03 BST, Jon Higa wrote: > >Jon Higa >Mar 25, 2024, 4:22:29 PM >to sage-support >I tried to build Sage 1

  1   2   3   4   5   6   7   8   9   10   >