Remove symengine_py feature#42084
Conversation
bda2ba7 to
7e91afd
Compare
|
Documentation preview for this PR (built with commit 1ea2e5f; changes) is ready! 🎉 |
7e91afd to
949d450
Compare
|
CC @dimpase just in case, you added this |
|
I had a student who wanted to investigate using symengine in Sage, so I added this as a start. Nothing came out of it, though. Note that symengine and python-symengine are optional backends for sympy, so removing this seems premature |
|
I'm not actually removing anything except two doctests that are duplicated from upstream (and test only upstream code), and then the feature that is not used anywhere else except those two doctests. I'm happy to leave it alone either way though. |
tobiasdiez
left a comment
There was a problem hiding this comment.
LGTM. If there are any concrete plans to use symengine in the near future, then it would make sense to keep the code. Otherwise, it can easily be restored later.
949d450 to
0e5fe06
Compare
This file contains only two doctests, and they test functionality of the symengine python wrapper: https://github.com/symengine/symengine.py (That is, they do not test anything in Sage itself). There are already similar tests upstream in the file symengine/tests/test_sage.py, making these redundant.
The only two tests that required this feature have been removed because the functionality exists and is tested upstream.
The Sage library does not have any support for this whatsoever, it is the other way around.
This package has been dropped from pyproject.toml, because it isn't really a dependency of Sage -- it's the other way around.
0e5fe06 to
1ea2e5f
Compare
We have a "feature" for the https://github.com/symengine/symengine.py package, used to guard two tests in https://github.com/sagemath/sage/tree/develop/src/sage/symbolic/symengine.py. The functionality that is being tested however lives in the optional package; there is no support for symengine in sagelib. In fact, the same stuff is tested upstream: https://github.com/symengine/symengine.py/blob/master/symengine/tests/test_sage.py
Rather than re-test somebody else's (already tested) code, let's remove these two tests and the feature that guards them.