mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-10 23:18:51 -04:00
- Improve the -ecm patch. - Add -formatargspec patch to silence doc-building warnings. - Add -data-elliptic_curves_large subpackage. - Build with bliss, coxeter3, and mcqd support. - Fix typo that made the singular.hlp file inaccessible. - Add more gap packages to get closer to the set shipped by upstream. - Refactor Requires so they apply to the correct subpackages. - More python 3 patching due to changes in python 3.8. - Use upstream's method of installing jupyter support. - Obsolete the sagemath-notebook-export subpackage.
21 lines
1.1 KiB
Diff
21 lines
1.1 KiB
Diff
diff -up src/sage/databases/cremona.py.orig src/sage/databases/cremona.py
|
|
--- src/sage/databases/cremona.py.orig 2019-06-26 14:41:04.000000000 -0600
|
|
+++ src/sage/databases/cremona.py 2019-09-09 15:37:13.321511378 -0600
|
|
@@ -842,7 +842,8 @@ class MiniCremonaDatabase(SQLDatabase):
|
|
message = "There is no elliptic curve with label " \
|
|
+ label + " in the default database; try installing " \
|
|
+ "the optional package database_cremona_ellcurve which " \
|
|
- + "contains the complete Cremona database"
|
|
+ + "contains the complete Cremona database: " \
|
|
+ + "sudo dnf install sagemath-data-elliptic_curves_large"
|
|
raise ValueError(message)
|
|
ainvs = eval(c[0])
|
|
data = {'cremona_label': label,
|
|
@@ -1640,6 +1641,7 @@ class LargeCremonaDatabase(MiniCremonaDa
|
|
con.executemany("UPDATE t_curve SET gens=? WHERE curve=?", \
|
|
curve_data)
|
|
print("Committing...")
|
|
+ self.commit()
|
|
if largest_conductor and int(v[0]) > largest_conductor: break
|
|
|
|
_db = None
|