Skip to content

Conversation

@orlitzky
Copy link
Contributor

Currently we compute the graphs database location when this module is imported, but the database is not guaranteed to be present. Indeed, the sage.features.databases.DatabaseGraphs feature exists to detect it.

I don't know whether or not this module works (passes tests) without the database, but now at least it is importable. This allows one to run pytest --doctest --collect-only without errors on a system where the database is not installed.

Currently we compute the graphs database location when this module is
imported, but the database is not guaranteed to be present. Indeed,
the sage.features.databases.DatabaseGraphs feature exists to detect
it.

I don't know whether or not this module works (passes tests) without
the database, but now at least it is importable. This allows one to
run "pytest --doctest --collect-only" without errors on a system
where the database is not installed.
@github-actions
Copy link

Documentation preview for this PR (built with commit 6681544; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants