Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove outdated mpmath Sage backend #38113

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
Open
3 changes: 3 additions & 0 deletions build/pkgs/mpmath/dependencies_check
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pytest
----------
All lines of this file are ignored except the first.
1 change: 1 addition & 0 deletions build/pkgs/mpmath/spkg-check.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pytest
5 changes: 3 additions & 2 deletions src/sage/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,9 @@ def var(key: str, *fallbacks: Optional[str], force: bool = False) -> Optional[st
OPENMP_CFLAGS = var("OPENMP_CFLAGS", "")
OPENMP_CXXFLAGS = var("OPENMP_CXXFLAGS", "")

# Make sure mpmath uses Sage types
os.environ['MPMATH_SAGE'] = '1'
# Make sure that mpmath < 1.4 does not try to use Sage types
os.environ.pop('MPMATH_SAGE', None)
os.environ['MPMATH_NOSAGE'] = '1'

# misc
SAGE_BANNER = var("SAGE_BANNER", "")
Expand Down
66 changes: 0 additions & 66 deletions src/sage/libs/mpmath/ext_impl.pxd

This file was deleted.

Loading
Loading