Re: [sage-devel] Pillow built without jpeg support in Sage 10.2.rc3

2023-11-16 Thread Matthias Koeppe
Or we just let pillow use a system libjpeg if it finds one. On Thursday, November 16, 2023 at 2:38:07 PM UTC-8 Dima Pasechnik wrote: > > > On 16 November 2023 19:33:45 GMT, Michael Orlitzky > wrote: > >On Thu, 2023-11-16 at 06:48 -0800, Eric Gourgoulhon wrote: > >> > >> If we agree to restore

Re: [sage-devel] Pillow built without jpeg support in Sage 10.2.rc3

2023-11-16 Thread Dima Pasechnik
On 16 November 2023 19:33:45 GMT, Michael Orlitzky wrote: >On Thu, 2023-11-16 at 06:48 -0800, Eric Gourgoulhon wrote: >> >> If we agree to restore jpeg support in Pillow, I have prepared a branch >> that does this for Sage 10.2 (simply suppressing the option "jpeg=disable"): >>

Re: [sage-devel] Pillow built without jpeg support in Sage 10.2.rc3

2023-11-16 Thread Michael Orlitzky
On Thu, 2023-11-16 at 06:48 -0800, Eric Gourgoulhon wrote: > > If we agree to restore jpeg support in Pillow, I have prepared a branch > that does this for Sage 10.2 (simply suppressing the option "jpeg=disable"): > https://github.com/egourgoulhon/sage/tree/pillow_jpeg > and I am happy to submit

Re: [sage-devel] Cython errors when building p_group_cohomology

2023-11-16 Thread Marc Culler
Thank you, Edgar! That worked. - Marc On Wednesday, November 15, 2023 at 7:15:45 PM UTC-6 Edgar Costa wrote: > Marc, you should try something like this: > https://github.com/edgarcosta/pyfib/commit/f30cd702f5b8610a284b1b1f425ef22b2a2a11fa > > On Wed, Nov 15, 2023 at 6:49 PM Marc Culler

[sage-devel] Re: Pillow built without jpeg support in Sage 10.2.rc3

2023-11-16 Thread Matthias Koeppe
On Thursday, November 16, 2023 at 6:48:47 AM UTC-8 Eric Gourgoulhon wrote: [...] the file SAGE_ROOT/build/pkgs/pillow/spkg-install.in contains the line: PILLOW_CONFIG_SETTINGS="-C debug=true -C jpeg=disable $PILLOW_CONFIG_SETTINGS" Is there any reason for "jpeg=disable" ? This was done in

Re: [sage-devel] Re: Question about make dependencies

2023-11-16 Thread kcrisman
To John C's point, and perhaps with the humor that John P intended: https://daily.jstor.org/in-which-we-science-why-nouns-become-verbs-because-language/ -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop

Re: [sage-devel] Pillow built without jpeg support in Sage 10.2.rc3

2023-11-16 Thread David Roe
I'm not aware of why we were suppressing jpeg support before, but this sounds like a good idea to me. David On Thu, Nov 16, 2023 at 9:48 AM Eric Gourgoulhon wrote: > Hi All, > > Pillow provides the Python Imaging Library (PIL) > https://pillow.readthedocs.io/en/stable/ > and is a standard

[sage-devel] Pillow built without jpeg support in Sage 10.2.rc3

2023-11-16 Thread Eric Gourgoulhon
Hi All, Pillow provides the Python Imaging Library (PIL) https://pillow.readthedocs.io/en/stable/ and is a standard package in Sage. Now, in Sage 10.2.rc3, the following code g = plot(sin(x)) # to generate a png figure g.save("fig.png") # from PIL import Image img = Image.open("fig.png")

Re: [sage-devel] eclib dependencies

2023-11-16 Thread John Cremona
On Thu, 16 Nov 2023 at 12:15, Michael Orlitzky wrote: > On 2023-11-16 09:23:15, John Cremona wrote: > > > > If no-one has any reason to keep things as they are I will make a PR with > > the relevant changes to build/pkgs/eclib. > > From a packaging standpoint, fewer dependencies is better. For >

Re: [sage-devel] eclib dependencies

2023-11-16 Thread Michael Orlitzky
On 2023-11-16 09:23:15, John Cremona wrote: > > If no-one has any reason to keep things as they are I will make a PR with > the relevant changes to build/pkgs/eclib. >From a packaging standpoint, fewer dependencies is better. For example, upgrading flint would become a tiny bit easier if we

Re: [sage-devel] eclib dependencies

2023-11-16 Thread John Cremona
On Thu, 16 Nov 2023 at 09:44, Dima Pasechnik wrote: > > > On 16 November 2023 09:23:15 GMT, John Cremona > wrote: > >Currently the eclib spkg has pari, ntl and flint as dependencies. The > >first two are essential, but flint is currently hardly used and everything > >works without it. (It is

Re: [sage-devel] eclib dependencies

2023-11-16 Thread Dima Pasechnik
On 16 November 2023 09:23:15 GMT, John Cremona wrote: >Currently the eclib spkg has pari, ntl and flint as dependencies. The >first two are essential, but flint is currently hardly used and everything >works without it. (It is only used at all to compute the ref of a matrix >(with entries

[sage-devel] eclib dependencies

2023-11-16 Thread John Cremona
Currently the eclib spkg has pari, ntl and flint as dependencies. The first two are essential, but flint is currently hardly used and everything works without it. (It is only used at all to compute the ref of a matrix (with entries int or long int) mod p and if flint is not available it just