-
-
Notifications
You must be signed in to change notification settings - Fork 674
Description
Steps To Reproduce
make sagemath_tdlib
or
./sage -i sage math_tdlib
or
./sage -pip install sagemath-tdlib
then try
MAC-xxxxx:sage dcoudert$ ./sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 10.8.beta7, Release Date: 2025-10-16 │
│ Using Python 3.13.9. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Warning: this is a prerelease version, and it may be unstable. ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
sage: G = graphs.PetersenGraph()
sage: G.treewidth(algorithm='tdlib')
---------------------------------------------------------------------------
FeatureNotPresentError Traceback (most recent call last)
Cell In[2], line 1
----> 1 G.treewidth(algorithm='tdlib')
File sage/graphs/graph_decompositions/tree_decomposition.pyx:678, in sage.graphs.graph_decompositions.tree_decomposition.treewidth()
FeatureNotPresentError: tdlib is not available.
No equivalent system packages for homebrew are known to Sage.
To install tdlib using the Sage package manager, you can try to run:
!sage -i sagemath_tdlib
To install tdlib using the pip package manager, you can try to run:
!sage -pip install sagemath-tdlib~=10.8b6
sage:
Expected Behavior
find tdlib
and return the correct answer (4)
Actual Behavior
Feature not found
Additional Information
Another surprising issue is the recommandation to run sage -pip install sagemath-tdlib~=10.8b6
while using sagemath version 10.8.beta7.
Environment
- OS: macOS 15.7.1
- Sage Version: 10.8.beta7
Checklist
- I have searched the existing issues for a bug report that matches the one I want to file, without success.
- I have read the documentation and troubleshoot guide