Re: [sage-devel] PROPOSAL: remove python3 spkg from Sage

2025-04-09 Thread Trevor Karn
> > At the same time, the concession that python3.spkg *can* still provide > python if really wanted helps Marc see that the MacOS app build is taken > seriously. I would expect it's a major delivery platform of sagemath > functionality to users, so it should be taken seriously. Anecdotally in my

Re: [sage-devel] Re: PROPOSAL: remove python3 spkg from Sage

2025-04-05 Thread Trevor Karn
If a user does not already have python3 installed on their system, this proposal would make installing python3 a prerequisite for installing Sage right? Is that something that we want to make users do? On Monday, March 31, 2025 at 9:29:27 AM UTC-5 dim...@gmail.com wrote: > On Mon, Mar 31, 2025 a

Re: [sage-devel] PROPOSAL: remove python3 spkg from Sage

2025-04-05 Thread Trevor Karn
ote: > >> Thank you, David. >> >> I am driving from Denver to Chicago at the moment. Once I get home I >> will be able to respond with some details about the issues that arise when >> packaging Sage for macOS, including why it is not possible to just run >> pytho

Re: [sage-devel] PROPOSAL: remove python3 spkg from Sage

2025-04-04 Thread Trevor Karn
What was the original intent behind having the dual requirements of (i) a system python and (ii) a SPKG python both in Sage? What (once upon a time) did having a SKPG do that couldn't/shouldn't/wouldn't be done by the system python? On Mon, Mar 31, 2025 at 7:27 PM Michael Orlitzky wrote: > On 20

Re: [sage-devel] PROPOSAL: remove python3 spkg from Sage

2025-04-04 Thread Trevor Karn
really > > >> similar thing is how "make configure" in sage now suggests system > > >> packages to install -- I just built sage 10.6 from source on some of > > >> my favorite Linux boxes, and the experience was great. > > >> > > >>

Re: [sage-devel] PROPOSAL: remove python3 spkg from Sage

2025-04-03 Thread Trevor Karn
Maybe we can all take a breath here. Everyone here is passionate about making Sage as good as it can be. This seems to be getting a bit too heated right now. On Thu, Apr 3, 2025 at 8:55 PM Marc Culler wrote: > Actually, that does not even come close to solving the problem. > > You don't have a

Re: [sage-devel] PROPOSAL: remove python3 spkg from Sage

2025-04-01 Thread Trevor Karn
> > In general, it could make sage less accessible to a mathematician who uses > only sage, maybe only through the notebook, never python otherwise. I am > not against it, but it may need some caution, not to increase the barrier > to use sage for the non-developers. This is my concern. But if th

[sage-devel] Re: Error building cypari 2.2.1

2025-03-14 Thread Trevor Karn
:45:37 UTC+1, Trevor Karn escribió: > >> Hi all, >> >> I'm trying to build 10.6.beta9 from source on a Apple M3 Pro running >> Sequoia 15.3.1 using Python 3.13, and when I try to build, it fails on >> cypari 2.2.1, apparently with an error that there are an

[sage-devel] Re: Build from source on Apple Silicon M3

2024-05-19 Thread Trevor Karn
l/37919 > - https://github.com/sagemath/sage/pull/38021 > > On Sunday, May 19, 2024 at 7:04:58 PM UTC-7 Trevor Karn wrote: > >> Hi all, >> >> I am trying to build from source on Apple Silicon M3. As predicted by >> several sources (below), `gfortran` fails to build on A

[sage-devel] Re: Application for NumFOCUS affiliation of SageMath

2024-01-17 Thread Trevor Karn
Will this thread be used for discussion prior to the April 15 deadline? On Monday, January 15, 2024 at 11:42:10 PM UTC-8 Matthias Koeppe wrote: > As I have not received sufficient feedback by today, I'll retarget to the > next deadline, Apr 15. > Comments and discussion please by January 31. > >

Re: [sage-devel] Re: f.g. subrings of polynomial rings and their Hilbert-Poincare series

2023-07-04 Thread Trevor Karn
If I understand correctly, Macaulay2 does this in the SubalgebraBases package: https://arxiv.org/abs/2302.12473 might provide inspiration? On Tuesday, July 4, 2023 at 6:39:53 AM UTC-5 Dima Pasechnik wrote: > > > On Tue, 4 Jul 2023, 12:26 Kwankyu Lee, wrote: > >> Also, as far as I understand, Sa

Re: [sage-devel] RealField isn't doing it right

2023-04-16 Thread Trevor Karn
I don't have much understanding of how floating point arithmetic works, but the argument >If you're writing python code, you should expect 2*0.5 to return a >float. But if you're learning linear algebra for the first time and >typing a matrix into the Sage notebook, typing 0.5 instead of 1/2 >sh

Re: [sage-devel] Procedure to be a member of sage github organization

2023-02-25 Thread Trevor Karn
hich the author can do without >> any special permissions. >> > Otherwise, I would assume the PR is ready to be reviewed. >> > >> > On Fri, Feb 24, 2023 at 9:43 PM Trevor Karn >> wrote: >> >> >> >> How do new developers tag their PR as &q

Re: [sage-devel] Procedure to be a member of sage github organization

2023-02-24 Thread Trevor Karn
How do new developers tag their PR as "needs review" without having triage access? On Thursday, February 23, 2023 at 1:37:07 AM UTC-6 David Roe wrote: > As a first proposal: once you have a PR accepted then you're added to the > sagemath organization. I'm not sure exactly what the cutoff shoul

[sage-devel] Re: pull requests for migrated issues

2023-02-06 Thread Trevor Karn
I could also not add labels. On Monday, February 6, 2023 at 4:44:03 AM UTC-6 axio...@yahoo.de wrote: > I just opened an issue (the first on github?), but I could not add labels > either. Perhaps the labels are deactivated for ordinary users? > > On Monday, 6 February 2023 at 10:00:52 UTC+1 Kwan

[sage-devel] Automorphism group of a PermutationGroup without GAP directly

2023-01-19 Thread Trevor Karn
Am I correctly understanding that there is currently no method to return the automorphism group of PermutationGroup without directly invoking GAP? I'm thinking something along the lines of the `AbelianGroupGap.aut()` method. It doesn't seem to bad to add, I just want to make sure I'm not missin

Re: [sage-devel] Re: Bug in poset

2023-01-12 Thread Trevor Karn
Thanks Dima. I certainly agree that there is a mathematical error with my approach. I'm wondering if there is still a bug since the result of compare(x,y) and P.islequal(x,y) differ. Shouldn't they be the same, even if I am giving them bad input? Best Regards, Trevor Karn On Thu, Ja

[sage-devel] Re: Bug in poset

2023-01-11 Thread Trevor Karn
Thanks for the confirmation. I'll double check this is not a logic bug before I open a ticket. On Wednesday, January 11, 2023 at 1:20:09 PM UTC-5 Trevor Karn wrote: > At least part of the problem is that I gave bad generators for GA(1,5). It > should be [[(1,2,3,4,5)],[(2,3,5,4

[sage-devel] Re: Bug in poset

2023-01-11 Thread Trevor Karn
At least part of the problem is that I gave bad generators for GA(1,5). It should be [[(1,2,3,4,5)],[(2,3,5,4)]]. On Wednesday, January 11, 2023 at 11:58:32 AM UTC-5 Trevor Karn wrote: > Hi all, > > I was wondering if anyone can reproduce this bug with Poset creation. I > creat

[sage-devel] Bug in poset

2023-01-11 Thread Trevor Karn
Hi all, I was wondering if anyone can reproduce this bug with Poset creation. I create a Poset by passing the elements and the comparison function as a tuple (elements, func) and a pair of elements for which func(x,y) returns True has P.lequal(x,y) returning False I'm trying to create the subg

[sage-devel] Re: VOTE: move Sage development to Github

2022-09-21 Thread Trevor Karn
+1 for Github On Wednesday, September 21, 2022 at 12:57:43 PM UTC-5 Matthias Koeppe wrote: > +1 for Github > > On Wednesday, September 21, 2022 at 10:23:36 AM UTC-7 David Roe wrote: > >> Dear Sage developers, >> Following extensive discussion, both recently >>

[sage-devel] Re: fractions of symmetric functions

2022-08-10 Thread Trevor Karn
As a workaround, does R. = InfinitePolynomialRing(ZZ) K = FractionField(R) e[1]*e[7]^2/e[2] in K where e[i] is the ith elementary symmetric function work? (Using the fundamental theorem of symmetric functions.) If you need to convert into a different basis you could then do that manually. On T

[sage-devel] Re: Group algebra bug

2022-08-06 Thread Trevor Karn
), (1,2)(3,4)] Permutation Group with generators [(5,6,7)(12,14,18), (1,2)(3,4)] sage: list(kH.one().monomial_coefficients())[0].parent() is a.parent() False On Saturday, August 6, 2022 at 11:53:03 AM UTC-7 Trevor Karn wrote: > The following bug was reported on sage-support, which I was able

[sage-devel] Group algebra bug

2022-08-06 Thread Trevor Karn
The following bug was reported on sage-support, which I was able to reproduce on 9.7.beta7. sage: H = PermutationGroup([[(1,2), (3,4)], [(5,6,7),(12,14,18)]]) sage: kH = H.algebra(GF(2)) sage: H.gens() ((5,6,7)(12,14,18), (1,2)(3,4)) sage: a, b = H.gens() sage: x = kH(a) + kH(b) + kH.one(); x (5,

[sage-devel] Error in matrix reduction

2022-07-29 Thread Trevor Karn
Hi all, I'm working on trac ticket https://trac.sagemath.org/ticket/34138 and during some testing on commit b3ef1f7 got an error that I don't understand. In implementing the F4 algorithm there is a computation of matrix RREF. During that step, on the "gametwo7" example of https://web.archive.

Re: [sage-devel] Re: Implementing Parent with Facade that is not an Element

2022-06-21 Thread Trevor Karn
Hi Travis, Ah got it. Thanks so much! Best Regards, Trevor Karn On Mon, Jun 20, 2022 at 8:11 PM 'Travis Scrimshaw' via sage-devel < sage-devel@googlegroups.com> wrote: > Hi Trevor, >Right...I remember coming across this problem before. Since I know this >

[sage-devel] Implementing Parent with Facade that is not an Element

2022-06-20 Thread Trevor Karn
Hi all, I am trying to implement a Parent in the category of FiniteEnumeratedSets().Facade(). My hope was to have the finite enumerated sets be represented by `Bitset

Re: [sage-devel] Re: LaTeX printing Hasse diagram

2022-04-20 Thread Trevor Karn
they do > not create as nice pictures: > > sage: TikzPicture.from_poset(P, prog='neato').pdf() > > The `from_poset` method is marked as experimental and prints warnings when > you use it since it will move in the future within the class Poset. See > https://trac.sage

Re: [sage-devel] Re: LaTeX printing Hasse diagram

2022-04-15 Thread Trevor Karn
by level. > Sébastien > > On Friday, April 15, 2022 at 3:17:11 AM UTC+2 Trevor Karn wrote: > >> Hi all, >> >> I have tried to create a nice image of a Hasse diagram (of the set >> partitions of {1,2,3,4}) using the command `view(Poset((SetPartitions(4),

[sage-devel] Re: LaTeX printing Hasse diagram

2022-04-14 Thread Trevor Karn
Sorry, I should have added: I'm using 9.6.beta5 on MacOS Monterey v. 12.2. On Thursday, April 14, 2022 at 8:17:11 PM UTC-5 Trevor Karn wrote: > Hi all, > > I have tried to create a nice image of a Hasse diagram (of the set > partitions of {1,2,3,4}) using the command `view(Pos

[sage-devel] LaTeX printing Hasse diagram

2022-04-14 Thread Trevor Karn
Hi all, I have tried to create a nice image of a Hasse diagram (of the set partitions of {1,2,3,4}) using the command `view(Poset((SetPartitions(4), lambda A,B: A in B.refinements(` as suggested in these notes by Mike Zabrocki

[sage-devel] Using __slots__ in Sage

2022-03-28 Thread Trevor Karn
Hi all, I have just learned about using __slots__ for Python classes. It seems interesting to me and I am excited to see that it seems to be faster and require less memory. I don't have a specific use case in mind yet, but is there anything to be careful about in Sage where using __slots__ migh

[sage-devel] Re: Bug computing kernel of ring homomorphism GCA

2021-10-18 Thread Trevor Karn
I forgot to add that Sage does recognize that f(a1*b2) is nonzero: sage: f(a1*a2) b1*b2 On Monday, October 18, 2021 at 12:21:47 PM UTC-5 Trevor Karn wrote: > Hi all, > > It looks like I have found a bug in the `.kernel()` method of a ring > homomorphism from one `GradedCommutativ

[sage-devel] Bug computing kernel of ring homomorphism GCA

2021-10-18 Thread Trevor Karn
Hi all, It looks like I have found a bug in the `.kernel()` method of a ring homomorphism from one `GradedCommutativeAlgebra` to another. I think I have identified the issue, but was hoping to post here for confirmation that my thinking makes sense before opening a trac ticket and working on a

[sage-devel] Re: Building documentation fails

2021-08-17 Thread Trevor Karn
_algebra.py" html > > Op zaterdag 14 augustus 2021 om 00:20:34 UTC+2 schreef Matthias Koeppe: > >> Try "make doc-html". >> >> On Friday, August 13, 2021 at 12:22:44 PM UTC-7 Trevor Karn wrote: >> >>> I am trying to build the documentati

[sage-devel] Building documentation fails

2021-08-13 Thread Trevor Karn
I am trying to build the documentation for a new file I have added to sage.algebras, and I am having some trouble. I had used "sage ---docbuild reference html" trying to follow this portion of the developers guide.

[sage-devel] Re: How to use generic quotients?

2021-07-27 Thread Trevor Karn
-5 Michael Jung wrote: > Thank you Trevor! This was extremely helpful! > Trevor Karn schrieb am Dienstag, 27. Juli 2021 um 14:23:37 UTC+2: > >> Check out this ask.sagemath.org post: >> https://ask.sagemath.org/question/56243/quotients-of-exterior-algebras/. >> You co

[sage-devel] Re: How to use generic quotients?

2021-07-27 Thread Trevor Karn
Check out this ask.sagemath.org post: https://ask.sagemath.org/question/56243/quotients-of-exterior-algebras/. You could try to implement a specific ideal for the graded commutative algebras. I opened a ticket https://trac.sagemath.org/ticket/32249 to start doing this but in the meantime got pu

Re: [sage-devel] Re: Rebuilding while developing?

2021-07-06 Thread Trevor Karn
Awesome thank you! On Tue, Jul 6, 2021 at 8:35 PM Kwankyu Lee wrote: > > > On Wednesday, July 7, 2021 at 4:55:15 AM UTC+9 Trevor Karn wrote: > >> Hi there, >> >> I'm currently working on upgrading to sage 9.4.beta4 from source. I'm not >> having any

[sage-devel] Rebuilding while developing?

2021-07-06 Thread Trevor Karn
Hi there, I'm currently working on upgrading to sage 9.4.beta4 from source. I'm not having any trouble with it (so far), but I was hoping to keep writing some code. I'm concerned that if I edit code while sage is ```make build``-ing that I will break things. Is it the case that editing the sour

[sage-devel] Re: GSoC 2021 - Introduction - BTerms project

2021-06-11 Thread Trevor Karn
Hi Thomas and David, Nice to meet you. I'm also participating in GSoC this summer. Looking forward to seeing everything that comes out of this summer! Best, Trevor On Tuesday, June 8, 2021 at 10:19:07 AM UTC-5 davida...@gmail.com wrote: > Hello Thomas! > > I'm also participating in GSoC this s

Re: [sage-devel] Trouble building cython

2021-02-10 Thread Trevor Karn
I would be willing to help make improvements to the manual, my only hesitation is that I'm not 100% sure what is going on with the bootstrapping. Is there anything particular to bootstrapping in Sage that wouldn't show up in googling around about it? Best Regards, Trevor Karn On

Re: [sage-devel] Trouble building cython

2021-02-09 Thread Trevor Karn
/options.txt bootstrap:73: installing 'config/config.rpath' ./bootstrap: line 118: aclocal: command not found Bootstrap failed. Either install autotools or run bootstrap with the -d option to download the auto-generated files instead. Best Regards, Trevor Karn On Tue, Feb 9, 2021 at 4:

Re: [sage-devel] Trouble building cython

2021-02-08 Thread Trevor Karn
l @ dir_initialize - /usr/local/Cellar/opus trevorkarn@Trevors-MacBook-Air sage % ;2D Best Regards, Trevor Karn On Mon, Feb 8, 2021 at 8:38 PM Zachary Scherr wrote: > In your original config.log, it looked like sage was picking up its own > fortran: > > configure:11991: gfortran has

Re: [sage-devel] Trouble building cython

2021-02-08 Thread Trevor Karn
package will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. make[1]: *** [all-build] Error 1 make: *** [build] Error 2 trevorkarn@Trevors-MacBook-Air sage % Best Regards, Trevor Karn On Mon, Feb 8, 2021 at 1:56 PM Zachary Scherr wrote

Re: [sage-devel] Trouble building cython

2021-02-08 Thread Trevor Karn
I must have typed it wrong. The second option you gave failed on numpy, but I tried the first option again, and it is compiling. Best Regards, Trevor Karn On Mon, Feb 8, 2021 at 11:31 AM Zachary Scherr wrote: > Are you sure you typed it correctly? Maybe try running > > ./bootstr

Re: [sage-devel] Trouble building cython

2021-02-08 Thread Trevor Karn
ke -j4 build > > but it might be better to clean everything and start from scratch. > > On Monday, February 8, 2021 at 10:59:05 AM UTC-5 Trevor Karn wrote: > >> I do not see pep425tags.py in that directory. >> >> trevorkarn@Trevors-MacBook-Air sage %

Re: [sage-devel] Trouble building cython

2021-02-08 Thread Trevor Karn
macosx_libfile.py pkginfo.py vendored Is there a way to clean the build environment? Best Regards, Trevor Karn On Mon, Feb 8, 2021 at 9:54 AM Dima Pasechnik wrote: > the only explanation for pep425tags.py would be an unclean build > environment - e.g. weird env vars set, or strange st

Re: [sage-devel] Trouble building cython

2021-02-08 Thread Trevor Karn
The only contents of the file you pointed me towards are __version__ = '0.36.2' Best Regards, Trevor Karn On Mon, Feb 8, 2021 at 9:09 AM Zachary Scherr wrote: > I really don't understand. The Cython log file shows that the problem is > in > > > /Users/trevorka

Re: [sage-devel] Trouble building cython

2021-02-08 Thread Trevor Karn
I also have this. Is there any reason it might be calling python instead of python3? trevorkarn@Trevors-MacBook-Air sage % python3 --version Python 3.9.1 trevorkarn@Trevors-MacBook-Air sage % python --version Python 2.7.16 Best Regards, Trevor Karn On Mon, Feb 8, 2021 at 8:28 AM Trevor

Re: [sage-devel] Trouble building cython

2021-02-08 Thread Trevor Karn
(90 days), 799,812 (365 days) build-error: 0 (30 days) Best Regards, Trevor Karn On Mon, Feb 8, 2021 at 8:17 AM Dima Pasechnik wrote: > Could it be that you need to update your Homebrew (?) python3 package? > What version do you have now? > E.g. on a box where the latest Sage builds I ha

Re: [sage-devel] Trouble building cython

2021-02-08 Thread Trevor Karn
m/pypa/virtualenv/issues/2027 > > Are you on the most recent develop branch (9.3.beta7)? > > On Mon, Feb 8, 2021 at 9:20 AM Trevor Karn > wrote: > > > > Hi, > > > > I'm trying to build Sage from the source code. I cloned it from git, and > tried to b