Hi, Le 20/08/2019 à 17:02, John Cremona a écrit : > Julien, > > [By the way, the optional spkg which is relevant here is > database_cremona_ellcurve and *not* elliptic_curves.]
Yes ; in Debian: - sagemath's standard elliptic_curves is sagemath-database-elliptic-curves (I'm the maintainer) ; - sagemath's optional database_cremona_ellcurve will be sagemath-database-cremona-elliptic-curves (I'll be the maintainer). > I have tried your new py code to produce a new version of the database > file: it appears to work perfectly, and will compare it with what the > existing Sage code creates. I know rather little about SQLITE -- should > the resulting files be identical? Even if not, I will try using both > output db files and running all Sage tests. The db files have the same > size (613924864 bytes -- the new version will contain over 500000 more > curves than the old) so perhaps the only difference is the order in > which data was added. I'll test. Thanks! > I did also need to patch sage/databases/cremona.py since the build() > function requires SAGE_SHARE to be imported. Running that, I see that > (as you may have noticed) there are many files in the ecdata repository > / tarball which Sage does not use at all. I adjusted the tar command to > only extract the ones used. (It would be possible for Sage to extract > more and use more, but that is an issue for another day). Yes, I was pondering just not shipping them. > So I will soon post a new spkg at trac #28372. Other than that, what is > the plan? I would like to add JP's python script to the ecdata/scripts > directory for future use anyway. I have wondered exactly why Sage's > codebase contained this code for creating a specific new optional spkg. > Of course in the same file (src/databases/cremona) is code for creating > the mini version of the database, but that is something which never > needs to be updated. I'm all for using a simple standalone Python script instead of depending on all of sagemath... Cheers, JP -- 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/da72a46e-62db-037b-e9fc-3c781a825a1e%40laposte.net.