scipy: Scientific tools for Python

Description

SciPy (pronounced “Sigh Pie”) is open-source software for mathematics, science, and engineering. The SciPy library depends on NumPy, which provides convenient and fast N-dimensional array manipulation. The SciPy library is built to work with NumPy arrays, and provides many user-friendly and efficient numerical routines such as routines for numerical integration and optimization. Together, they run on all popular operating systems, are quick to install, and are free of charge. NumPy and SciPy are easy to use, but powerful enough to be depended upon by some of the world’s leading scientists and engineers.

License

SciPy’s license is free for both commercial and non-commercial use, under the BSD terms. See http://www.scipy.org/License_Compatibility

Upstream Contact

Dependencies

  • Python, which in Sage has numerous dependencies

  • Numpy

  • Fortran

  • GNU patch

Special Update/Build Instructions

  • None.

Type

standard

Version Information

package-version.txt:

1.7.3

install-requires.txt:

# 1.8 is known good version.
# Per https://docs.scipy.org/doc/scipy/dev/core-dev/index.html#version-numbering
# and https://docs.scipy.org/doc/scipy/dev/core-dev/index.html#deprecations,
# deprecations cannot be introduced in micro releases.
# SciPy devs wait "at least 6 months", "in practice two (minor) releases"
# from deprecation to removal of a feature.
scipy >=1.5, <1.11

Equivalent System Packages

conda:

$ conda install scipy

homebrew:

$ brew install scipy

macports: install the following packages: py-scipy

opensuse:

$ sudo zypper install python3-scipy

void:

$ sudo xbps-install  python3-scipy

See https://repology.org/project/python:scipy/versions

However, these system packages will not be used for building Sage because using Python site-packages is not supported by the Sage distribution; see trac ticket #29023