-
-
Notifications
You must be signed in to change notification settings - Fork 661
Closed
Description
Summary
When building SageMath with Meson on Arch and Void Linux, a few docstests fail to find the cremona db:
Traceback (most recent call last):
File "/__w/sage/sage/src/sage/doctest/forker.py", line 730, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/__w/sage/sage/src/sage/doctest/forker.py", line 1154, in compile_and_execute
exec(compiled, globs)
File "<doctest doc.de.tutorial.tour_advanced[3]>", line 1, in <module>
EllipticCurve('37a')
File "factory.pyx", line 371, in sage.structure.factory.UniqueFactory.__call__
File "/__w/sage/sage/src/sage/schemes/elliptic_curves/constructor.py", line 440, in create_key_and_extra_args
x, data = CremonaDatabase().coefficients_and_data(x)
File "/__w/sage/sage/src/sage/databases/cremona.py", line 1719, in CremonaDatabase
return MiniCremonaDatabase(name)
File "/__w/sage/sage/src/sage/databases/cremona.py", line 666, in __init__
db_path = DatabaseCremona(name=name).absolute_filename()
File "/__w/sage/sage/src/sage/features/__init__.py", line 838, in absolute_filename
raise FeatureNotPresentError(self, reason=reason, resolution=self.resolution())
sage.features.FeatureNotPresentError: database_cremona_mini_ellcurve is not available.
'cremona_mini.db' not found in any of ['/github/home/.sage/db/cremona', '/github/home/.local/share/uv/python/cpython-3.13.3-linux-x86_64-gnu/share/sagemath/cremona', '/github/home/.local/share/uv/python/cpython-3.13.3-linux-x86_64-gnu/share/cremona']
Although the relevant package is installed.
I assume meson should set CREMONA_LARGE_DATA_DIR
correctly. But what's the best way to find where the db is installed on the system?
Additional Context
- OS: Arch Linux, Void Linux
- Build system: Meson
Metadata
Metadata
Assignees
Labels
No labels