[sage-devel] Re: Knot theory: Change PD-code convention

2023-05-22 Thread seb....@gmail.com
PR #35665  implementing the 
convention change is now available for review. 


seb@gmail.com schrieb am Freitag, 24. Februar 2023 um 17:48:35 UTC+1:

> Hi everybody,
>
> The PD (Planar Diagram) notation is one of the most important concepts to 
> define a knot or link uniquely (besides the braid notation). Unfortunately 
> our convention on how to read the four strands meeting at a crossing is 
> opposite to the one used in most other places: We read them in clockwise 
> direction whereas most others do it anti-clockwise.
>
> I've started a discussion in issue #17030 
>  (the ticket that 
> introduced knot theory in Sage in 2014) to change our convention 
> accordingly (starting from this comment 
> ).
>
> If you have objections to this, please comment there!
>
> Sebastian
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/c1087cc4-3835-47c2-b1d4-8d861466e950n%40googlegroups.com.


Re: [sage-devel] What was/is/will be the purpose of maintaining the Sage distribution?

2023-05-22 Thread Matthias Koeppe
On Saturday, April 29, 2023 at 2:08:40 PM UTC-7 Matthias Koeppe wrote:

On Saturday, April 29, 2023 at 1:45:31 PM UTC-7 TB wrote:

Should `sage -i pandoc`, at least in an interactive session, first 
recommend to install it from the distro, and not default to conda? 


I wouldn't want "./sage -i pandoc" to ask for confirmation, but we could 
certainly have it print a note first and then users can ^C out of it if 
they want to try that.


I've opened https://github.com/sagemath/sage/issues/35669 for this

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/580c49d6-2033-49fb-b0d4-5bd0d2f34b64n%40googlegroups.com.


Re: [sage-devel] Re: Can I build Sage via MacPorts under MacOS 10.9?

2023-05-22 Thread Dima Pasechnik
On Mon, May 22, 2023 at 4:53 PM Dima Pasechnik  wrote:
>
> On Mon, May 22, 2023 at 3:09 AM Louis Deaett  wrote:
> >
> > Many thanks for the word of encouragement, and also for pointing me to that 
> > ticket.  I was not even familiar with tox, to be honest, so I read up on 
> > its intended purpose.
> >
> > I can see that the source for Sage 9.7 that I have here has a tox.ini file, 
> > but inside there is no reference to MacPorts.  Is that because the MacPorts 
> > environments alluded to in the thread (the one you linked) haven't been 
> > merged into the release branch of Sage?
> >
> > After further digging, I did notice this branch:
> >
> > https://github.com/sagemath/sagetrac-mirror/tree/u/mkoeppe/tox_ini__add_macports_environment
> >
> > It looks like it hasn't seen any commits in almost a year.  But is that 
> > still my best starting point?  Shall I pick up and work with this, or has 
> > this effort been abandoned?
>
> indeed, no work had been done since.
> A good starting point would be to take it rebased over the latest develop, 
> here:
> https://github.com/dimpase/sage/pull/new/u/mkoeppe/tox_ini__add_macports_environment

Oops, I meant to post this: https://github.com/sagemath/sage/pull/35667
(same branch, as a PR)
>
> HTH
> Dima
>
>
> >
> > Many thanks again!
> >
> > – Louis
> >
> >
> > On Friday, May 5, 2023 at 2:42:19 PM UTC-4 John H Palmieri wrote:
> >>
> >> In principle this should work. See 
> >> https://github.com/sagemath/sage/issues/31505 for some relevant 
> >> information. Others might have direct experience with it.
> >>
> >> On Friday, May 5, 2023 at 11:24:07 AM UTC-7 Louis Deaett wrote:
> >>>
> >>> I'm interested in Sage development (and contributing some enhancements) 
> >>> and so I'd like to be able to build the current release (and ultimately 
> >>> the development branch) from source.
> >>>
> >>> I am running macOS 10.9 (Mavericks) because that is what I prefer, and 
> >>> because some of my hardware tops out at that version.  Anyway, I've had 
> >>> decent success getting open-source software up and running under 
> >>> MacPorts, which has good support for 10.9 (and even earlier).
> >>>
> >>> So I've been working on building Sage from source using MacPorts.  
> >>> Compilation seems to go smoothly with MacPorts LLVM tools, but I've run 
> >>> into some snags whereby the build for some SPKGs seems to get gummed up 
> >>> when it can't locate some of the libraries or headers provided by 
> >>> MacPorts.  By its nature, this hasn't felt like an insurmountable problem.
> >>>
> >>> Still, while I can keep hacking away at this, I figured I should ask:  Is 
> >>> there any fundamental reason why what I'm trying to do should be 
> >>> impossible?
> >>>
> >>> If there are major barriers in my path with this that I'm just not 
> >>> encountering yet or just haven't realized, then it would (of course) help 
> >>> me out to know.
> >>>
> >>> For what it's worth, if building under MacPorts is theoretically possible 
> >>> but would require some additional effort on the Sage side, then that's 
> >>> something I'd be willing to contribute to, if anything comes out of my 
> >>> own efforts.
> >>>
> >>> Thanks in advance for any advice!
> >>>
> >>> -- Louis
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "sage-devel" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to sage-devel+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-devel/5a8f7076-fcb4-462d-8c48-a7b1c7fea26dn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq2WYs3c5KrkLDvF3shcoL5%3D9KuPeLjvDJmtSn%2BR%3DuS7Og%40mail.gmail.com.


Re: [sage-devel] Re: Can I build Sage via MacPorts under MacOS 10.9?

2023-05-22 Thread Dima Pasechnik
On Mon, May 22, 2023 at 3:09 AM Louis Deaett  wrote:
>
> Many thanks for the word of encouragement, and also for pointing me to that 
> ticket.  I was not even familiar with tox, to be honest, so I read up on its 
> intended purpose.
>
> I can see that the source for Sage 9.7 that I have here has a tox.ini file, 
> but inside there is no reference to MacPorts.  Is that because the MacPorts 
> environments alluded to in the thread (the one you linked) haven't been 
> merged into the release branch of Sage?
>
> After further digging, I did notice this branch:
>
> https://github.com/sagemath/sagetrac-mirror/tree/u/mkoeppe/tox_ini__add_macports_environment
>
> It looks like it hasn't seen any commits in almost a year.  But is that still 
> my best starting point?  Shall I pick up and work with this, or has this 
> effort been abandoned?

indeed, no work had been done since.
A good starting point would be to take it rebased over the latest develop, here:
https://github.com/dimpase/sage/pull/new/u/mkoeppe/tox_ini__add_macports_environment

HTH
Dima


>
> Many thanks again!
>
> – Louis
>
>
> On Friday, May 5, 2023 at 2:42:19 PM UTC-4 John H Palmieri wrote:
>>
>> In principle this should work. See 
>> https://github.com/sagemath/sage/issues/31505 for some relevant information. 
>> Others might have direct experience with it.
>>
>> On Friday, May 5, 2023 at 11:24:07 AM UTC-7 Louis Deaett wrote:
>>>
>>> I'm interested in Sage development (and contributing some enhancements) and 
>>> so I'd like to be able to build the current release (and ultimately the 
>>> development branch) from source.
>>>
>>> I am running macOS 10.9 (Mavericks) because that is what I prefer, and 
>>> because some of my hardware tops out at that version.  Anyway, I've had 
>>> decent success getting open-source software up and running under MacPorts, 
>>> which has good support for 10.9 (and even earlier).
>>>
>>> So I've been working on building Sage from source using MacPorts.  
>>> Compilation seems to go smoothly with MacPorts LLVM tools, but I've run 
>>> into some snags whereby the build for some SPKGs seems to get gummed up 
>>> when it can't locate some of the libraries or headers provided by MacPorts. 
>>>  By its nature, this hasn't felt like an insurmountable problem.
>>>
>>> Still, while I can keep hacking away at this, I figured I should ask:  Is 
>>> there any fundamental reason why what I'm trying to do should be impossible?
>>>
>>> If there are major barriers in my path with this that I'm just not 
>>> encountering yet or just haven't realized, then it would (of course) help 
>>> me out to know.
>>>
>>> For what it's worth, if building under MacPorts is theoretically possible 
>>> but would require some additional effort on the Sage side, then that's 
>>> something I'd be willing to contribute to, if anything comes out of my own 
>>> efforts.
>>>
>>> Thanks in advance for any advice!
>>>
>>> -- Louis
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/5a8f7076-fcb4-462d-8c48-a7b1c7fea26dn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq3rVthyNYcef68YJ%3D%2BUDGsDB7nKkzJavPfgpL%2BR6FHdEg%40mail.gmail.com.


[sage-devel] Re: sage-10

2023-05-22 Thread Girard Henri

ubuntu version mantic 23.10

But at least I have no more the problem of running an ipynb which failed 
because not finding the link to a file which is still  not working with 
sage-9.5 the ubuntu version !




Le 22/05/2023 à 13:36, Henri Girard a écrit :

Hi,

Last version rcxx was compiled without any problems, but sometimes i 
got this problem with giac:


Any help, I use ubuntu +1 23.10 but it does work on my ssd ubuntu 
23.10 and I said last version did work (here I am on wsl windows 11) ,


thanks

Henri

[giac-1.9.0.15p0] /home/pi/sage/local/var/tmp/sage/build/giac-1.9.0.15p0
[giac-1.9.0.15p0] Finished installing giac-1.9.0.15p0
make[2]: *** [Makefile:2812: all-build] Error 2
make[2]: Leaving directory '/home/pi/sage/build/make'

real    33m40.770s
user    102m10.003s
sys 7m38.178s
***
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-build'):

* package: fplll-5.4.4
  last build time: May 22 12:29
  log file:    /home/pi/sage/logs/pkgs/fplll-5.4.4.log
  build directory: /home/pi/sage/local/var/tmp/sage/build/fplll-5.4.4

It is safe to delete any log files and build directories, but they
contain information that is helpful for debugging build problems.
WARNING: If you now run 'make' again, the build directory of the
same version of the package will, by default, be deleted. Set the
environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.

make[1]: *** [Makefile:40: all-build] Error 1
make[1]: Leaving directory '/home/pi/sage'
make: *** [Makefile:16: build] Error 2




--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/5ccd4671-d76a-bbd8-f93f-1f1b03215380%40gmail.com.


Re: [sage-devel] sage-10

2023-05-22 Thread Dima Pasechnik
On Mon, May 22, 2023 at 12:36 PM Henri Girard  wrote:
>
> Hi,
>
> Last version rcxx was compiled without any problems, but sometimes i got
> this problem with giac:
>
> Any help, I use ubuntu +1 23.10 but it does work on my ssd ubuntu 23.10
> and I said last version did work (here I am on wsl windows 11) ,
>
> thanks
>
> Henri
>
> [giac-1.9.0.15p0] /home/pi/sage/local/var/tmp/sage/build/giac-1.9.0.15p0
> [giac-1.9.0.15p0] Finished installing giac-1.9.0.15p0
> make[2]: *** [Makefile:2812: all-build] Error 2
> make[2]: Leaving directory '/home/pi/sage/build/make'
>
> real33m40.770s
> user102m10.003s
> sys 7m38.178s
> ***
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all-build'):
>
> * package: fplll-5.4.4
>last build time: May 22 12:29
>log file:/home/pi/sage/logs/pkgs/fplll-5.4.4.log
>build directory: /home/pi/sage/local/var/tmp/sage/build/fplll-5.4.4

seems to be a problem with fplll, not giac.

>
> It is safe to delete any log files and build directories, but they
> contain information that is helpful for debugging build problems.
> WARNING: If you now run 'make' again, the build directory of the
> same version of the package will, by default, be deleted. Set the
> environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
>
> make[1]: *** [Makefile:40: all-build] Error 1
> make[1]: Leaving directory '/home/pi/sage'
> make: *** [Makefile:16: build] Error 2
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/6f87b2b2-0148-a68f-6711-9cf0f79621e3%40gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq0ma2%3DOCJ0-voxRMJwXrBMJuyoLRkjej4j0TsHV2KEiMA%40mail.gmail.com.


[sage-devel] sage-10

2023-05-22 Thread Henri Girard

Hi,

Last version rcxx was compiled without any problems, but sometimes i got 
this problem with giac:


Any help, I use ubuntu +1 23.10 but it does work on my ssd ubuntu 23.10 
and I said last version did work (here I am on wsl windows 11) ,


thanks

Henri

[giac-1.9.0.15p0] /home/pi/sage/local/var/tmp/sage/build/giac-1.9.0.15p0
[giac-1.9.0.15p0] Finished installing giac-1.9.0.15p0
make[2]: *** [Makefile:2812: all-build] Error 2
make[2]: Leaving directory '/home/pi/sage/build/make'

real    33m40.770s
user    102m10.003s
sys 7m38.178s
***
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-build'):

* package: fplll-5.4.4
  last build time: May 22 12:29
  log file:    /home/pi/sage/logs/pkgs/fplll-5.4.4.log
  build directory: /home/pi/sage/local/var/tmp/sage/build/fplll-5.4.4

It is safe to delete any log files and build directories, but they
contain information that is helpful for debugging build problems.
WARNING: If you now run 'make' again, the build directory of the
same version of the package will, by default, be deleted. Set the
environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.

make[1]: *** [Makefile:40: all-build] Error 1
make[1]: Leaving directory '/home/pi/sage'
make: *** [Makefile:16: build] Error 2


--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/6f87b2b2-0148-a68f-6711-9cf0f79621e3%40gmail.com.


Re: [sage-devel] make error package: libgd-2.3.2

2023-05-22 Thread Yan Bo Ti
This works now. Thank you so much, Dima!

On Thursday, 11 May 2023 at 21:25:56 UTC+8 Dima Pasechnik wrote:

> On Thu, May 11, 2023 at 2:07 PM Yan Bo Ti  wrote:
> >
> > Hello all, firstly, thank you for your hard work.
> >
> > I am trying to compile sage from source, because I can't seem to do sage 
> -pip install if I were to install it using pacman.
> > But in the course of building sage, I encountered an error with libgd. 
> Is it possible to continue without installing libgd? I've included the log 
> file in this post. Thanks once again.
>
> this is caused by a bug in libgd, which detects external libraries it
> can use incorrectly in this case. Your log says
>
> ** Configuration summary for libgd 2.3.2:
>
> Support for gd/gd2 images: yes
> Support for Zlib: yes
> Support for PNG library: yes
> Support for JPEG library: no
> Support for WebP library: yes
> Support for HEIF library: yes
> Support for AVIF library: no
> Support for TIFF library: yes
> Support for Freetype 2.x library: yes
> Support for Fontconfig library: no
> Support for Xpm library: no
> Support for liq library: no
> Support for complex text: no
> Support for pthreads: yes
>
> Of these, only PNG is needed. We'll be fixing this in
> https://github.com/sagemath/sage/pull/35477
> Meanwhile you may manually apply the fix from there:
>
> Replace your build/pkgs/libgd/spkg-install.in with
>
> https://raw.githubusercontent.com/sagemath/sage/212afefe219cbfa3b4f64c26ced60f63699b64b3/build/pkgs/libgd/spkg-install.in
>
> and run ./configure && make
>
>
>
> >
> > --
> > You received this message because you are subscribed to the Google 
> Groups "sage-devel" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sage-devel+...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/71c95be5-5e3c-4899-9be0-5d0f72449a2cn%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/a98c7079-0d64-4a55-a23e-45c8b4ebf4abn%40googlegroups.com.