New "minimal" CI job#42228
Open
orlitzky wants to merge 3 commits into
Open
Conversation
de496cc to
31abbda
Compare
vbraun
pushed a commit
that referenced
this pull request
May 29, 2026
gh-42247: Use RankWidth feature for Graph.rank_decoposition * Teach `gen_thematic_rest_table_index()` to ignore missing features * Back `Graph.rank_decoposition` by the RankWidth feature * Reorder the `at_startup` warning in `LazyImport` to avoid printing an error on the CI when RankWidth is disabled My goal here is just to eliminate a warning on the CI, since I am hoping to add a "minimal" run soon. The ReST generation happens at startup, so `at_startup=True` is used to import `rank_decomposition` lazily. But when the import fails and we go to actually _use_ the method, the lazy import gets attempted again; now, `at_startup=True` raises a warning. The minimal CI job is in progress on #42228, and tests these changes in the absence of RankWidth. URL: #42247 Reported by: Michael Orlitzky Reviewer(s): David Coudert
1. Prefer POSIX sh to bash when all we need is an echo & pipe. 2. Use "python3 -m sage.cli" instead of "sage", since the latter may not exist in a pure-meson installation. 3. Use f-strings instead of format().
Use "python3 -m sage.cli" instead of "sage", since the latter may not be available in (for example) a pure-meson installation.
Ensure that a "minimal" build of Sage builds and passes any tests that
are not skipped. For the moment, this
* Builds with "meson setup" and "meson install" rather than "pip
install", meaning that we will not have a "sage" executable.
* Disables (does not build) the documentation.
* Disables bliss, coxeter3, libhomfly, mcqd, meataxe, rankwidth,
sirocco, and tdlib at build-time.
* Leaves brial and eclib enabled for now to avoid failing tests.
We do not need to run the full matrix of operating systems and
pythons, the point is to prevent obvious regressions in such a build.
|
Documentation preview for this PR (built with commit 533397f; changes) is ready! 🎉 |
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a "minimal" CI job that...
meson setupandmeson installrather thanpip install.-Dbuild-docs=false)-Dfeature=disabled)-Dauto_features=disabled.Dependencies
Closes