On Wed, Sep 3, 2025 at 6:34 PM Kwankyu Lee <
ekwa...@gmail.com> wrote:
>
> On Wednesday, September 3, 2025 at 8:55:01 PM UTC+9
enriqu...@gmail.com wrote:
>
> Besides of these discussion, I would like to point out what happens with the last version of setuptools. With 73.0.1, the kernel of jupyter is correctly installed. For me, by linking this kernel to a place where system jupyter can find it, I can use it with no problem with system jupyterlab. Another issue of the new version of setuptools is that sagelib is rebuilt completely each time.
>
>
> Right. The current discussion around Dima's solution is off the right path.
I've opened
https://github.com/jupyter/jupyter_client/issues/1070
to ask why they copy too much data, and why they don't do the right
thing with `--sys-prefix` rather than `--user`.
>
> Since we know that downgrading setuptools to the previous version solves these serious regressions, we should just
>
> (1) downgrade the setuptools for now. This is easy.
No, why? there is no urgency to do this last resort option for the
beta versions - unless someone has a habit of doing real exploratory
maths work using a Sage beta,
something which isn't a good idea.
Besides, `jupyter kernelspec install` works, it just consumes 2Gb more
disk space than needed, so it's not a huge deal in 2025.
> (2) investigate why the new setuptools introduces regressions, with time. This is difficult, but is not urgent.
upgrading setuptools has a clear priority, as it is needed by a host
of other package upgrades, supporting Python 3.14, etc.
>
> I guess that (2) is less difficult and safer than trying to replace the "old" time-tested tools with something new.
if you don't have anyone who knows the old code and is willing to
debug it, it's very natural to look for a shortcut, using
tools which were nonexistent, or in development, while the
>
> Regarding sage development, we should be conservative than revolutionary, for stability.
For stability, we need to be at the same toolchain as the rest of the
scientific Python universe, and not falling behind.
If you want to have sagemath in the Linux distros such as arch and
gentoo, you need to use their toolchain, in particular setptools
version 80 or newer.
Dima