Skip to content
Draft
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
4 changes: 2 additions & 2 deletions build/pkgs/mpmath/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=mpmath-VERSION.tar.gz
sha1=b7c00f35eb35978197c8f5afc11a8b4b994dd382
sha256=7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f
sha1=a464c7bbd595bc13c8262510486061e2f9f3931d
sha256=f8b7b5a3a1726ab6e8c898eb2157426b82c482ab1ab8ffed9f88bb9e07c6e9c1
upstream_url=https://files.pythonhosted.org/packages/source/m/mpmath/mpmath-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/mpmath/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.0
1.4.0a1
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