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 12 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion build/pkgs/mpmath/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mpmath >=1.1.0
mpmath >=1.1.0, <1.4
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