Re: [sage-devel] Re: [Proposal] allow standard packages to be pip packages, reduce source tarball size

2024-02-17 Thread Matthias Koeppe
On Saturday, February 17, 2024 at 3:04:49 PM UTC-8 Nathan Dunfield wrote: It seems to me that the "wheel" type Sage packages, each of which is primarily just the version number of a file on PyPI and its hash, is like a "requirements.txt" file (or "conda-lock" file, for that matter) spread over

Re: [sage-devel] Re: [Proposal] allow standard packages to be pip packages, reduce source tarball size

2024-02-17 Thread Nathan Dunfield
On Saturday, February 17, 2024 at 1:13:33 PM UTC-6 Dima Pasechnik wrote: My proposal is in fact aimed at reducing the number of pinned Sage dependecies, drastically. Because most of them are either dependencies of Jupyterlab, or of Sphinx, or of Python build system, and none of the them

[sage-devel] (Re-)building an inclusive SageMath community. I: How we talk about past, current, future contributions

2024-02-17 Thread Matthias Koeppe
Some brief thoughts that I would like to share. *A stated goal of our project is to be welcoming to new contributions and contributors.* "We invite newcomers to help improve the code or contribute in other ways. ... Contributions of all sorts are heartily welcomed ... The mission statement

Re: [sage-devel] Re: [Proposal] allow standard packages to be pip packages, reduce source tarball size

2024-02-17 Thread Matthias Koeppe
On Saturday, February 17, 2024 at 11:13:33 AM UTC-8 Dima Pasechnik wrote: On 17 February 2024 17:16:07 GMT, Matthias Koeppe wrote: >I share the same concern based on the amplification of the failure >probability, due to the large number of dependencies in Sage. My proposal is in fact aimed

Re: [sage-devel] Re: [Proposal] allow standard packages to be pip packages, reduce source tarball size

2024-02-17 Thread Dima Pasechnik
On 17 February 2024 17:16:07 GMT, Matthias Koeppe wrote: >On Saturday, February 17, 2024 at 7:06:27 AM UTC-8 Nathan Dunfield wrote: > >On Friday, February 16, 2024 at 11:17:37 PM UTC-6 Matthias Koeppe wrote: > >If one does not care about the use case without internet access, then it's >just

Re: [sage-devel] Re: [Proposal] allow standard packages to be pip packages, reduce source tarball size

2024-02-17 Thread Dima Pasechnik
On 17 February 2024 15:01:14 GMT, Kwankyu Lee wrote: > > >there are ways to use pip without internet, with the necessary wheels >pre-fetched. >That's what Sage does with wheel packages. > > >Yes. This is a sage package of source type "wheel", as Matthias explained. > > >The difference

Re: [sage-devel] Re: [Proposal] allow standard packages to be pip packages, reduce source tarball size

2024-02-17 Thread Matthias Koeppe
On Saturday, February 17, 2024 at 7:06:27 AM UTC-8 Nathan Dunfield wrote: On Friday, February 16, 2024 at 11:17:37 PM UTC-6 Matthias Koeppe wrote: If one does not care about the use case without internet access, then it's just the following: - Pinning, as you mentioned (see also

Re: [sage-devel] Re: [Proposal] allow standard packages to be pip packages, reduce source tarball size

2024-02-17 Thread Nathan Dunfield
On Friday, February 16, 2024 at 11:17:37 PM UTC-6 Matthias Koeppe wrote: If one does not care about the use case without internet access, then it's just the following: - Pinning, as you mentioned (see also https://groups.google.com/g/sage-devel/c/5kmxaw105lg/m/9rF77fvFAAAJ above, where I

Re: [sage-devel] Re: [Proposal] allow standard packages to be pip packages, reduce source tarball size

2024-02-17 Thread Kwankyu Lee
there are ways to use pip without internet, with the necessary wheels pre-fetched. That's what Sage does with wheel packages. Yes. This is a sage package of source type "wheel", as Matthias explained. The difference between wheel packages vs pip packages is that the latter don't require

Re: [sage-devel] Re: [Proposal] allow standard packages to be pip packages, reduce source tarball size

2024-02-17 Thread Dima Pasechnik
On 17 February 2024 02:26:32 GMT, Kwankyu Lee wrote: > > > > >By default the package content would be fetched, as pip does, > > >Not just as pip does, but by actually calling "pip" to contact PyPI. > > >and that would mean the default configuration for sage would require >internet at

Re: [sage-devel] Re: [Proposal] allow standard packages to be pip packages, reduce source tarball size

2024-02-17 Thread Dima Pasechnik
On 17 February 2024 02:26:32 GMT, Kwankyu Lee wrote: > > > > >By default the package content would be fetched, as pip does, > > >Not just as pip does, but by actually calling "pip" to contact PyPI. > > >and that would mean the default configuration for sage would require >internet at install

Re: [sage-devel] Re: Proposal: Make pytest, pytest_xdist, pytest_mock, python_build standard packages

2024-02-17 Thread Dima Pasechnik
I have made it clear under what condition you can count my vote as +1. To make it clear: it is -1 if the condition is not met. On 17 February 2024 04:26:14 GMT, Matthias Koeppe wrote: >Note that posting a proposal here on sage-devel to make the packages >standard followed the policies of our