Re: [sage-devel] Re: Current status of possibility of integrating libraries written in Rust into Sage

2024-06-03 Thread Kwankyu Lee
There is no need to remove it - it suffices to convert it to a pip package. (yes, for this we need to allow standard pip packages - as I have been proposing). Yes. I am all for removing "no internet connection" assumption in installing the sage distribution from source. -- You received

Re: [sage-devel] Re: Current status of possibility of integrating libraries written in Rust into Sage

2024-06-03 Thread Dima Pasechnik
On Monday, June 3, 2024 at 9:10:56 PM UTC+1 Matthias Koeppe wrote: On Monday, June 3, 2024 at 12:41:41 PM UTC-7 Michael Orlitzky wrote: Rust is not nearly as portable as C, and has an unstable ABI that makes shipping compatible versions of packages from multiple sources nearly impossible.

[sage-devel] Re: Current status of possibility of integrating libraries written in Rust into Sage

2024-06-03 Thread Matthias Koeppe
Yes, this is well worth discussing. But note that there is one non-trivial interaction of Sage with Jupyter via the recently added Live Documentation feature (jupyter-sphinx). Already "pip install jupyter-sphinx" pulls in the Rust-based package rpds_py. On Monday, June 3, 2024 at 2:47:14 PM

Re: [sage-devel] Re: Current status of possibility of integrating libraries written in Rust into Sage

2024-06-03 Thread Dima Pasechnik
On 3 June 2024 23:47:14 CEST, Kwankyu Lee wrote: > > >Likewise, we will soon add support for installing Python packages from >platform-dependent wheels. This is needed for updating some Jupyter >components that have started to use Rust (https://github.com/crate-py/rpds, >a dependency of

[sage-devel] Re: Current status of possibility of integrating libraries written in Rust into Sage

2024-06-03 Thread Kwankyu Lee
Likewise, we will soon add support for installing Python packages from platform-dependent wheels. This is needed for updating some Jupyter components that have started to use Rust (https://github.com/crate-py/rpds, a dependency of jsonschema). First sorry for an off-topic comment. If we

Re: [sage-devel] Re: Current status of possibility of integrating libraries written in Rust into Sage

2024-06-03 Thread Michael Orlitzky
On Mon, 2024-06-03 at 12:54 -0700, Matthias Koeppe wrote: > > Could you share details regarding this? I'm not sure who "we" is in what > you write, but in the last Jupyter PR that I prepared, I had to use some > older versions of some packages to avoid pulling in the Rust dependency at > this

Re: [sage-devel] Re: Current status of possibility of integrating libraries written in Rust into Sage

2024-06-03 Thread Matthias Koeppe
On Monday, June 3, 2024 at 12:41:41 PM UTC-7 Michael Orlitzky wrote: Rust is not nearly as portable as C, and has an unstable ABI that makes shipping compatible versions of packages from multiple sources nearly impossible. I share this concern about ABI compatibility, and would therefore for

Re: [sage-devel] Re: Current status of possibility of integrating libraries written in Rust into Sage

2024-06-03 Thread Matthias Koeppe
On Monday, June 3, 2024 at 12:41:41 PM UTC-7 Michael Orlitzky wrote: On Sat, 2024-06-01 at 10:02 -0700, Matthias Koeppe wrote: > we will soon add support for installing Python packages from > platform-dependent wheels. This is needed for updating some Jupyter > components that have started to

Re: [sage-devel] Re: Current status of possibility of integrating libraries written in Rust into Sage

2024-06-03 Thread Michael Orlitzky
On Sat, 2024-06-01 at 10:02 -0700, Matthias Koeppe wrote: > Unlikely that we would add a package to the Sage distribution that builds a > Rust library from source. > > Not so long ago we added support for installing Python packages from > platform-independent wheels. We did this to sidestep

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

2024-06-03 Thread dimpase
On Fri, May 31, 2024 at 10:08:20AM -0700, Matthias Koeppe wrote: > On Friday, May 31, 2024 at 9:38:30 AM UTC-7 Dima Pasechnik wrote: > > frankly, I don't see anything new here. > > > There does not have to be anything new. > The proposal stands on its own merit. Haven't it been discussed

[sage-devel] Re: Current status of possibility of integrating libraries written in Rust into Sage

2024-06-03 Thread Matthias Koeppe
Unlikely that we would add a package to the Sage distribution that builds a Rust library from source. Not so long ago we added support for installing Python packages from platform-independent wheels. We did this to sidestep the concern of shipping more and more of Javascript (Node.js)