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

2025-04-10 Thread Dima Pasechnik
On Thu, Apr 10, 2025 at 5:41 PM Michael Orlitzky wrote: > > On 2025-04-10 12:10:07, Nathan Dunfield wrote: > > > > Interesting, where can I find a list of the non-python pre-reqs? > > "meson setup" should tell you. Some of the dependency checks it does > are not as precise as the corresponding che

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

2025-04-10 Thread Dima Pasechnik
On Thursday, April 10, 2025 at 2:10:07 PM UTC-5 Nathan Dunfield wrote: On Thursday, April 10, 2025 at 9:37:09 AM UTC-5 Dima wrote: On 10 April 2025 07:45:09 GMT-05:00, I wrote: >To me, a "proper Python package" is something I can install with >"random-python -m pip install blah" that pulls a

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

2025-04-10 Thread 'tobia...@gmx.de' via sage-devel
With all non-python pre-reqs in place, just run./bootstrap and pip to build sagelib, that's all. No need to worry about a dodgy custom venv, unhappy ./configure, etc. > Interesting, where can I find a list of the non-python pre-reqs? https://github.com/sagemath/sage/blob/871ba9daed15374

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

2025-04-10 Thread Michael Orlitzky
On 2025-04-10 12:10:07, Nathan Dunfield wrote: > > Interesting, where can I find a list of the non-python pre-reqs? "meson setup" should tell you. Some of the dependency checks it does are not as precise as the corresponding check from spkg-configure.m4 (it doesn't run "maxima" and parse the ve

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

2025-04-10 Thread Nils Bruin
On Wednesday, 9 April 2025 at 16:44:31 UTC-7 dim...@gmail.com wrote: As I already explained, it's quite a stretch by Sage's standards to call python3 package standard. Because it is not tested enough; because few months into release, the supposedly stable Sage release is often not installable,

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

2025-04-10 Thread Dima Pasechnik
On Tue, Apr 8, 2025 at 9:55 AM Léon Vaia wrote: > > Thank you very much Dima. > > Trying to run > sudo apt-get libffi-dev xz-utils liblzma-dev > I get > E: Invalid operation libffi-dev oops, sorry, it should have been sudo apt-get install libffi-dev xz-utils liblzma-dev > > Installing the d

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

2025-04-10 Thread Marc Culler
On Mon, Apr 7, 2025 at 3:25 PM Dima Pasechnik wrote: > > It's not standard - no-one nowadays builds Sage's Python, not even CI is > doing this. > > This is the point I already made. > You are the sole users of this semi-broken feature. > Well, it is a feature that is available by just setting one

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

2025-04-10 Thread dimpase
Hi Leon, sorry for overlooking your previous post. In your config.log you see real_configure:40317: checking whether any of bzip2 liblzma libffi zlib is installed as or will be installed as SPKG real_configure:40322: result: yes; install python3 as well That is, one of system packages providing

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

2025-04-10 Thread Dima Pasechnik
On Monday, April 7, 2025 at 10:59:40 AM UTC-5 marc@gmail.com wrote: As this discussion tries to wander off into a new discussion about the uv project, I will attempt to bring it back on topic. The point is this: Currently, to build the macOS binary, we first build sage in a completely st

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

2025-04-10 Thread Nathan Dunfield
On Thursday, April 10, 2025 at 9:37:09 AM UTC-5 Dima wrote: On 10 April 2025 07:45:09 GMT-05:00, I wrote: >To me, a "proper Python package" is something I can install with >"random-python -m pip install blah" that pulls a binary wheel off PyPI that >just works. If we're getting close to being

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

2025-04-10 Thread Léon Vaia
Everything works fine now, thank you very much Il giorno martedì 8 aprile 2025 alle 17:57:09 UTC+2 dim...@gmail.com ha scritto: > On Tue, Apr 8, 2025 at 9:55 AM Léon Vaia wrote: > > > > Thank you very much Dima. > > > > Trying to run > > sudo apt-get libffi-dev xz-utils liblzma-dev > > I get >

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

2025-04-10 Thread Dima Pasechnik
On 10 April 2025 07:45:09 GMT-05:00, Nathan Dunfield wrote: >On Thursday, April 10, 2025 at 12:07:03 AM UTC-5 Dima wrote: > >> Probably not on the build system. But the app needs to work on *any* >system. >> >>> Are you worried that sage would have trouble recognizing the python >build as

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

2025-04-10 Thread 'Nasser M. Abbasi' via sage-devel
Hello; Has anyone considered making sage as container? This will eliminate all these issues being discussed here, I would think. Google AI says this: "Container-based software delivery packages applications and their dependencies into lightweight, isolated environments called containers, enab

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

2025-04-10 Thread Nathan Dunfield
On Wednesday, April 9, 2025 at 2:58:51 PM UTC-5 Trevor Karn wrote: At the same time, the concession that python3.spkg *can* still provide python if really wanted helps Marc see that the MacOS app build is taken seriously. I would expect it's a major delivery platform of sagemath functionality t

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

2025-04-10 Thread Nathan Dunfield
On Thursday, April 10, 2025 at 12:07:03 AM UTC-5 Dima wrote: > Probably not on the build system. But the app needs to work on *any* system. > >> Are you worried that sage would have trouble recognizing the python build as valid for its purposes? > No. Because sagelib (with meson build) is al