Re: [sage-devel] PROPOSAL: remove python3 spkg from Sage

2025-04-04 Thread Trevor Karn
What was the original intent behind having the dual requirements of (i) a system python and (ii) a SPKG python both in Sage? What (once upon a time) did having a SKPG do that couldn't/shouldn't/wouldn't be done by the system python? On Mon, Mar 31, 2025 at 7:27 PM Michael Orlitzky wrote: > On 20

Re: [sage-devel] Error building package gfortran

2025-04-04 Thread Dima Pasechnik
Please install gcc, g++, and gfortran as your OS packages. Don't try to build Sage's gcc/gfortan, it's broken and, frankly, overdue to be removed. What's available from OS should suffice in all cases. HTH Dima On Fri, Apr 4, 2025 at 12:07 PM Raúl Penaguião wrote: > > Dear Sage Development Team,

[sage-devel] Error running the pipinst script for setuptools-73.0.1.

2025-04-04 Thread Léon Vaia
Dear Sage Development Team, I have an issue while building Sage from source. I'm doing it on a Dell XPS 13 on WSL with Ubuntu. I attach the log files. I'm given the following error: [setuptools-73.0.1] Using cached file /home/leonv/sage/sage/upstream/setuptools-73.0.1-py3-none-any.whl [setupto

Re: [sage-devel] Error running the pipinst script for setuptools-73.0.1.

2025-04-04 Thread Dima Pasechnik
Please send the top level config.log too, as asked at the end of the log file you attached On 4 April 2025 19:02:18 GMT-05:00, "Léon Vaia" wrote: > Dear Sage Development Team, > >I have an issue while building Sage from source. >I'm doing it on a Dell XPS 13 on WSL with Ubuntu. > >I attach the

Re: [sage-devel] SageMath Now Supports Meson – Faster and More Efficient Builds!

2025-04-04 Thread 'tobia...@gmx.de' via sage-devel
Thanks for your interest, William! The Meson project for Sage began in October 2023 (PR #36524 ), and most of the work was wrapped up a couple of months ago. I just wanted to iron out a few remaining annoyances before officially announcing it on th

Re: [sage-devel] PROPOSAL: remove python3 spkg from Sage

2025-04-04 Thread David Roe
On Thu, Apr 3, 2025 at 10:12 PM William Stein wrote: > On Thu, Apr 3, 2025 at 7:06 PM Trevor Karn > wrote: > > > > Maybe we can all take a breath here. Everyone here is passionate about > making Sage as good as it can be. This seems to be getting a bit too heated > right now. > > > > +1 - I jus

Re: [sage-devel] PROPOSAL: remove python3 spkg from Sage

2025-04-04 Thread William Stein
On Fri, Apr 4, 2025 at 8:50 AM Dima Pasechnik wrote: > > On Thu, Apr 3, 2025 at 5:48 PM Marc Culler wrote: > > > > This will unnecessarily make it more difficult to build the Sage_mac OS > > binary package. In order to make that package easy to install in the way > > that normal macOS users e

Re: [sage-devel] PROPOSAL: remove python3 spkg from Sage

2025-04-04 Thread Dima Pasechnik
On Thu, Apr 3, 2025 at 5:48 PM Marc Culler wrote: > > This will unnecessarily make it more difficult to build the Sage_mac OS > binary package. In order to make that package easy to install in the way > that normal macOS users expect, it must be signed and notarized. In order to > notarize t

Re: [sage-devel] SageMath Now Supports Meson – Faster and More Efficient Builds!

2025-04-04 Thread Dima Pasechnik
On Fri, Apr 4, 2025 at 6:54 AM 'tobia...@gmx.de' via sage-devel wrote: > > Thanks for your interest, William! > > The Meson project for Sage began in October 2023 (PR #36524), and most of the > work was wrapped up a couple of months ago. I just wanted to iron out a few > remaining annoyances bef

[sage-devel] New Coding Theory Features: generalized Hamming weights

2025-04-04 Thread Rodrigo San José Rubio
Hello everyone, I have been working on an algorithm for computing the generalized Hamming weights of a linear code, similar to what is done for the minimum distance (Brouwer-Zimmermann algorithm). My current implementation is in https://github.com/RodrigoSanJose/GHWs I have submitted a paper

[sage-devel] CI testing problems

2025-04-04 Thread Nils Bruin
On https://github.com/sagemath/sage/pull/39812 I see all CI tests failing. In the log it seems that the failure already happens in building the Docker image. "Explain Error" mentions that there's a sphinx version requirement conflict in the log somewhere. That sounds like a configuration error

[sage-devel] Problem with Using SageMath as a Python Package

2025-04-04 Thread Alexander Verner
Hello, I'm experiencing difficulties with using SageMath as a Python package. In particular, to see why Groebner basis computation in a specific problem of mine takes ages, I'd like to follow the underlying code line-by-line. I compiled SageMath 10.5 on WSL Ubuntu 22.04. Then, following the

Re: [sage-devel] PROPOSAL: remove python3 spkg from Sage

2025-04-04 Thread Trevor Karn
> > Dima started this thread because he believes that the Python spkg in Sage > is making the support he's providing users harder. Marc believes that this > change would make his work more difficult. As a community, we need to make > a decision about what to do with this proposal, but rather than

[sage-devel] Re: Problem with Using SageMath as a Python Package

2025-04-04 Thread Dima Pasechnik
We're discussing this issue here: https://github.com/sagemath/sage/issues/39740 which seems to progress forward On Friday, March 21, 2025 at 12:00:39 AM UTC-5 verner.a...@gmail.com wrote: > > Hello, > > I'm experiencing difficulties with using SageMath as a Python package. In > particular, to

Re: [sage-devel] Error Building Sage

2025-04-04 Thread Dima Pasechnik
The fix which works for me is here: https://github.com/sagemath/sage/pull/39850 It's in fact a missing static_cast in Boost interface. As conda is using clang 18, it's extra sensitive to this sort of type mis-casts; so one needs --- a/src/sage/graphs/base/boost_interface.cpp +++ b/src/sage/graphs

Re: [sage-devel] PROPOSAL: remove python3 spkg from Sage

2025-04-04 Thread Dima Pasechnik
On Tue, Apr 1, 2025 at 10:26 AM chris wuthrich wrote: > > > Would that mean that users (like me) will have to downgrade python provided > by their distribution at times - or to learn how to use multiple version of > python? Using multiple versions of python is not a dark art. You install it wit

Re: [sage-devel] PROPOSAL: remove python3 spkg from Sage

2025-04-04 Thread Marc Culler
Thank you, David. I am driving from Denver to Chicago at the moment. Once I get home I will be able to respond with some details about the issues that arise when packaging Sage for macOS, including why it is not possible to just run python3 setup.py py2app and end up with a Sage app. - Marc