scipy breaking changes
Updated December 4, 2026
On this page
Latest version 1.18.1, released August 21, 2026. Source repository
Its 1.18.0 release requires Python 3.12 or later. Python end of life dates.
- From 0.19.0 to 1.18.1: 4,085 breaking changes in 32 versions.
- From 0.10.0 to 1.18.1: 4,577 breaking changes in 41 versions.
scipy 1.18.1 breaking changes
- Configuration changed
The minimum GCC toolchain for building SciPy from source is now 10.3.0. Users who install prebuilt binaries from PyPI are not affected, but source builds with older GCC must be upgraded. github.com
scipy 1.18.0 breaking changes
- Removed
scipy.linalg.logm
The disp parameter was removed after its deprecation expired. github.com - Removed
scipy.optimize.fmin_l_bfgs_b
The iprint and disp parameters were removed after their deprecation expired. Stop passing them. github.com - Behavior changed
block_diag
When no inputs are sparse, block_diag currently returns spmatrix; that is deprecated and will return sparray. Pass at least one sparse input to control the output type. github.com - Behavior changed
kron
When no inputs are sparse, kron currently returns spmatrix; that is deprecated and will return sparray. Pass at least one sparse input to control the output type. github.com - Behavior changed
kronsum
When no inputs are sparse, kronsum currently returns spmatrix; that is deprecated and will return sparray. Pass at least one sparse input to control the output type. github.com - Behavior changed
scipy.interpolate.splint
With full_output=True the second return value is None instead of a float64 array. github.com - Behavior changed
scipy.linalg.bandwidth
For 2D input the return type changed from int pairs to np.int64 pairs. github.com - Behavior changed
scipy.linalg.cho_factor
The second return value changed from bool to a boolean array. github.com - Behavior changed
scipy.linalg.eig
Return values were always Fortran-ordered and may no longer be. Set the ordering manually if it matters. github.com - Behavior changed
scipy.linalg.lstsq
Residuals are non-empty for gelsd and gelss on overdetermined systems, and NaN for rank-deficient slices. github.com
And 679 more in this version. Sign up to see every change
scipy 1.18.0rc2 breaking changes
- Removed
scipy.linalg.logm
The disp parameter of logm was removed. Code that passes it must drop it. github.com - Removed
scipy.optimize.fmin_l_bfgs_b
The iprint and disp parameters were removed after their deprecation expired. Code that passes them will fail and must remove them. github.com - Behavior changed
scipy.interpolate.splint
With full_output=True, the second return value of splint is now None instead of a 1D float64 array. github.com - Behavior changed
scipy.linalg.bandwidth
For 2D input, bandwidth now returns (np.int64, np.int64) instead of (int, int). github.com - Behavior changed
scipy.linalg.cho_factor
The second return value of cho_factor changed from bool to NDArray[np.bool]. Code that tests it as a plain bool must adapt. github.com - Behavior changed
scipy.linalg.lstsq
Residuals returned by lstsq now follow new rules per lapack_driver and system shape. Code that reads residuals must check the new values, including NaN for rank-deficient slices. github.com - Behavior changed
scipy.optimize.minimize
With trust_constr, the objective is no longer called at an x that would make keep_feasible constraints infeasible. Code that relied on those calls must adapt. github.com - Behavior changed
scipy.signal.lfilter_zi
For a filter with a pole at z = 1, lfilter_zi now raises ValueError instead of LinAlgError. Code that catches LinAlgError must catch ValueError. github.com - Behavior changed
scipy.stats.binomtest
The k and n attributes of BinomTestResult changed from int to np.float64. Code relying on integer types must convert them. github.com - Behavior changed
scipy.stats.contingency.crosstab
With sparse=True, the second output is now a sparse array instead of a sparse matrix. Matrix-specific behavior such as * meaning matmul no longer applies. github.com
And 4 more in this version. Sign up to see every change
scipy 1.18.0rc1 breaking changes
- Removed
The release requires Python 3.12 to 3.14 and NumPy 2.0.0 or greater. Upgrade the Python runtime before installing. github.com - Removed
scipy.linalg.logm
The disp parameter was removed after its deprecation expired. Remove any code that passes it. github.com - Removed
scipy.optimize.fmin_l_bfgs_b
The iprint and disp parameters were removed after their deprecation expired. Remove any code that passes them. github.com - Behavior changed
scipy.linalg.lstsq
Residuals are non-empty for the gelsd and gelss drivers on overdetermined systems and NaN for rank-deficient slices. Update code that checks residuals. github.com - Behavior changed
scipy.signal.lfilter_zi
lfilter_zi now raises ValueError when a[0] is zero, and raises ValueError instead of LinAlgError for unstable filters with a pole at z = 1. github.com - Behavior changed
scipy.stats.contingency.crosstab
With sparse=True the second output is a sparse array instead of a sparse matrix, so the * operator no longer means matmul. See the sparray migration guide. github.com - Behavior changed
scipy.stats.multinomial
Probabilities that do not sum to one now give NaN instead of being adjusted, and rvs raises an error in that case. github.com - Behavior changed
scipy.stats.obrientransform
The function now returns a tuple of arrays instead of a single ndarray. Unpack or index the result accordingly. github.com - Behavior changed
scipy.stats.rankdata
The output is now always a floating point dtype instead of following the input dtype. Check code that depends on integer ranks. github.com
scipy 1.17.1 breaking changes
- Signature changed
scipy.linalg.tests.test_basic.TestInv.test_overwrite_a
Was def test_overwrite_a(self); now def test_overwrite_a(self, overwrite_kw). pypi.org - Signature changed
scipy.stats.tests.test_qmc.TestPoisson.test_fill_space
Was def test_fill_space(self); now def test_fill_space(self, l_bounds, u_bounds). pypi.org
scipy 1.17.0 breaking changes
- Removed
kulczynski1
kulczynski1 has been removed from scipy.spatial.distance. github.com - Removed
scipy.interpolate.interpnd
Accidentally exposed functions have been removed from scipy.interpolate.interpnd. github.com - Removed
scipy.linalg.interpolative.rand
The rand function has been removed. Use the rng argument instead. github.com - Removed
scipy.linalg.interpolative.seed
The seed function has been removed. Use the rng argument instead. github.com - Removed
scipy.linalg.kron
kron has been removed from scipy.linalg. Use numpy.kron instead. github.com - Removed
scipy.signal.convolve
Support for object arrays and longdoubles has been removed from scipy.signal.convolve. github.com - Removed
scipy.signal.correlate
Support for object arrays and longdoubles has been removed from scipy.signal.correlate. github.com - Removed
scipy.signal.lfilter
Support for object arrays and longdoubles has been removed from scipy.signal.lfilter. github.com - Removed
scipy.signal.sosfilt
Support for object arrays and longdoubles has been removed from scipy.signal.sosfilt. github.com - Removed
scipy.special.clpmn
clpmn has been removed from scipy.special. github.com
And 737 more in this version. Sign up to see every change
Older versions
36 older versions, each with its first changes. Sign up to see every change
Show 36 older versions
scipy 1.17.0rc2 breaking changes
- Removed
scipy.interpolate.interpnd
Accidentally exposed functions have been removed from scipy.interpolate.interpnd. github.com - Removed
scipy.linalg.interpolative.rand
Use the rng argument instead. github.com
And 27 more in this version.
scipy 1.17.0rc1 breaking changes
- Removed
scipy.linalg.interpolative.rand
The seed and rand functions have been removed. Use the rng argument instead. github.com - Removed
scipy.linalg.interpolative.seed
The seed and rand functions have been removed. Use the rng argument instead. github.com
And 23 more in this version.
scipy 1.16.3 breaking changes
- Signature changed
scipy.stats.tests.test_multivariate.TestMultivariateNormal.test_cdf_vs_cubature
Was def test_cdf_vs_cubature(self); now def test_cdf_vs_cubature(self, ndim). pypi.org
scipy 1.16.0 breaking changes
- Removed
scipy.integrate.quad_vec
Use trapezoid instead of quadrature='trapz'. github.com - Removed
scipy.signal
Several submodule names are no longer available via star import; import them directly instead. github.com
And 1,029 more in this version.
scipy 1.16.0rc2 breaking changes
- Removed
The SciPy-specific python dev.py CLI will be removed in the next release cycle in favor of spin. github.com - Removed
scipy.integrate.quad_vec
The quadrature='trapz' option of scipy.integrate.quad_vec has been removed. Use trapezoid instead. github.com
And 18 more in this version.
scipy 1.16.0rc1 breaking changes
- Removed
The lowest supported macOS version for PyPI wheels is now 10.14 instead of 10.13. github.com - Removed
scipy.integrate.quad_vec
The quadrature='trapz' option has been removed from scipy.integrate.quad_vec. Use trapezoid instead. github.com
And 17 more in this version.
scipy 1.15.2 breaking changes
- Signature changed
scipy.stats.tests.test_continuous.TestMixture.test_basic
Was def test_basic(self); now def test_basic(self, shape). pypi.org
scipy 1.15.0 breaking changes
- Removed
A
The .A attribute is only present on spmatrix; use toarray() instead. scipy.github.io - Removed
asfptype
asfptype is only present on spmatrix; use astype instead. scipy.github.io
And 744 more in this version.
scipy 1.15.0rc2 breaking changes
- Removed
scipy.integrate.quadrature
scipy.integrate.quadrature and romberg have been removed; use scipy.integrate.quad instead. github.com - Removed
scipy.integrate.romberg
scipy.integrate.romberg has been removed; use scipy.integrate.quad instead. github.com
And 24 more in this version.
scipy 1.15.0rc1 breaking changes
- Removed
scipy.integrate.quadrature
scipy.integrate.quadrature was removed in favour of scipy.integrate.quad. github.com - Removed
scipy.integrate.romberg
scipy.integrate.romberg was removed in favour of scipy.integrate.quad. github.com
And 23 more in this version.
scipy 1.14.0 breaking changes
- Removed
asfptype
The sparse array method asfptype was removed; code calling it must be updated. github.com - Removed
get_shape
The sparse array method get_shape was removed; code calling it must be updated. github.com
And 153 more in this version.
scipy 1.14.0rc1 breaking changes
- Removed
scipy.integrate.cumtrapz
scipy.integrate.simps, trapz and cumtrapz were removed in favour of simpson, trapezoid and cumulative_trapezoid. github.com - Removed
scipy.integrate.simps
scipy.integrate.simps, trapz and cumtrapz were removed in favour of simpson, trapezoid and cumulative_trapezoid. github.com
And 12 more in this version.
scipy 1.13.1 breaking changes
- Signature changed
scipy.sparse.tests.test_base.dok_matrix.pop
Was def pop(self, key, default=None, /); now def pop(self, /, *args). pypi.org - Signature changed
scipy.special.tests.test_basic.TestFactorialFunctions.test_factorialx_array_dimension
Was def test_factorialx_array_dimension(self, dim, exact); now def test_factorialx_array_dimension(self, dim, dtype, exact). pypi.org
scipy 1.13.0 breaking changes
- Removed
scipy.histogram
Functions re-exported from NumPy, such as scipy.histogram, have been removed; import them directly from numpy. github.com - Removed
scipy.linalg.tri
tri has been removed; use numpy.tri instead. github.com
And 55 more in this version.
scipy 1.12.0 breaking changes
- Removed
This release requires Python 3.9 or later and NumPy 1.22.4 or greater. github.com - Removed
scipy.histogram
NumPy functions such as histogram were removed from SciPy's main namespace; import them from numpy directly. github.com
And 184 more in this version.
scipy 1.12.0rc2 breaking changes
- Removed
scipy.stats.binom_test
scipy.stats.binom_test has been removed in favour of scipy.stats.binomtest. github.com - Removed
scipy.stats.qmc.LatinHypercube
The centered keyword of scipy.stats.qmc.LatinHypercube has been removed; use scrambled=False instead of centered=True. github.com
And 5 more in this version.
scipy 1.12.0rc1 breaking changes
- Removed
This release requires Python 3.9 or newer and NumPy 1.22.4 or greater; PyPy3 6.0 or newer is required on PyPy. github.com - Removed
scipy.stats.qmc.LatinHypercube
The centered keyword of LatinHypercube has been removed; use scrambled=False instead of centered=True. github.com
And 1 more in this version.
scipy 1.11.4 breaking changes
- Signature changed
scipy.stats.tests.test_sampling.check_cont_samples
Was def check_cont_samples(rng, dist, mv_ex); now def check_cont_samples(rng, dist, mv_ex, rtol=1e-07, atol=0.1). pypi.org - Signature changed
scipy.stats.tests.test_sampling.check_discr_samples
Was def check_discr_samples(rng, pv, mv_ex); now def check_discr_samples(rng, pv, mv_ex, rtol=0.001, atol=0.1). pypi.org
scipy 1.11.1 breaking changes
- Signature changed
scipy.integrate.tests.test_bvp.coo_matrix
Was class coo_matrix(_data_matrix, _minmax_mixin); now class coo_matrix(spmatrix, _coo_base). pypi.org - Signature changed
scipy.integrate.tests.test_quadrature.qmc_quad
Was def _qmc_quad(func, a, b, *, n_points=1024, n_estimates=8, qrng=None, log=False, args=None); now def qmc_quad(func, a, b, *, n_estimates=8, n_points=1024, qrng=None, log=False). pypi.org
And 65 more in this version.
scipy 1.11.0 breaking changes
- Removed
scipy.sparse.csgraph.maximum_flow.residual
Use the flow property instead. github.com - Removed
scipy.sparse.isspmatrix
Use scipy.sparse.issparse to check for sparse arrays or sparse matrices. github.com
And 12 more in this version.
scipy 1.11.0rc2 breaking changes
- Removed
gilbrat
The gilbrat distribution has been removed; use scipy.stats.gibrat. github.com - Removed
kulsinski
The kulsinski distance metric spelling has been removed; use scipy.spatial.distance.kulczynski1. github.com
And 15 more in this version.
scipy 1.11.0rc1 breaking changes
- Removed
scipy.sparse.csgraph.maximum_flow
The residual property has been removed. Use flow. github.com - Removed
scipy.spatial.Delaunay.qhull
The vertices keyword has been removed. Use simplices. github.com
And 12 more in this version.
scipy 1.10.1 breaking changes
- Signature changed
scipy.integrate.tests.test_quadrature.trapezoid
Was trapezoid; now def trapezoid(y, x=None, dx=1.0, axis=-1). pypi.org - Signature changed
scipy.show_config
Was def show(); now def show(mode=DisplayModes.stdout.value). pypi.org
And 1 more in this version.
scipy 1.0.0 breaking changes
- Removed
This release requires Python 2.7 or 3.4 and later; older Python versions are no longer supported. github.com - Removed
scipy.maxentropy
The scipy.maxentropy module was removed in an earlier release; code importing it must be updated. github.com
And 57 more in this version.
scipy 1.0.0rc2 breaking changes
- Removed
scipy.constants.C2F
The deprecated function was removed from scipy.constants. github.com - Removed
scipy.constants.C2K
The deprecated function was removed from scipy.constants. github.com
And 57 more in this version.
scipy 1.0.0b1 breaking changes
- Removed
scipy.constants.C2F
The deprecated function was removed from scipy.constants. github.com - Removed
scipy.constants.C2K
The deprecated function was removed from scipy.constants. github.com
And 39 more in this version.
scipy 0.19.0 breaking changes
- Removed
scipy.weave
The scipy.weave submodule was removed. Code importing it will fail. github.com - Behavior changed
scipy.interpolate.interp1d
Numerical results for kind cubic and quadratic may differ, so code relying on exact values should recheck them. github.com
And 26 more in this version.
scipy 0.18.0 breaking changes
- Removed
est_loc_scale
These deprecated methods of scipy.stats distributions are gone. github.com - Removed
scipy.interpolate.PiecewisePolynomial
Use scipy.interpolate.BPoly.from_derivatives as a drop-in replacement. github.com
And 116 more in this version.
scipy 0.17.0 breaking changes
- Removed
linalg.cython_lapack
Cython wrappers for the *gegs, *gegv, *gelsx, *geqpf, *ggsvd, *ggsvp, *lahrd, *latzm and *tzrqf routines were removed. github.com - Removed
misc.lena
The function was removed due to license incompatibility. github.com
And 76 more in this version.
scipy 0.16.0 breaking changes
- Removed
This release requires Python 2.6, 2.7 or 3.2-3.4 and NumPy 1.6.2 or greater. github.com - Removed
scipy.lib.blas
The deprecated modules scipy.lib.blas and scipy.lib.lapack and the scipy.linalg cblas/fblas/clapack/flapack modules were removed; use scipy.linalg.blas and scipy.linalg.lapack instead. github.com
And 33 more in this version.
scipy 0.15.0 breaking changes
- Signature changed
scipy.interpolate.fitpack2.InterpolatedUnivariateSpline.__call__
Was def __call__(self, x, nu=0); now def __call__(self, x, nu=0, ext=None). pypi.org - Signature changed
scipy.interpolate.fitpack2.InterpolatedUnivariateSpline.__init__
Was def __init__(self, x, y, w=None, bbox=[None] * 2, k=3); now def __init__(self, x, y, w=None, bbox=[None] * 2, k=3, ext=0). pypi.org
And 45 more in this version.
scipy 0.14.0 breaking changes
- Signature changed
scipy.cluster.hierarchy.dendrogram
Was def dendrogram(Z, p=30, truncate_mode=None, color_threshold=None, get_leaves=True, orientation='top', labels=None, count_sort=False, distance_sort=False, show_leaf_counts=True, no_plot=False, no_labels=False, color_list=None... pypi.org - Signature changed
scipy.fftpack.basic.fft
Was def fft(x, n=None, axis=-1, overwrite_x=0); now def fft(x, n=None, axis=-1, overwrite_x=False). pypi.org
And 68 more in this version.
scipy 0.13.0 breaking changes
- Signature changed
scipy.io.matlab.mio.savemat
Was def savemat(file_name, mdict, appendmat=True, format='5', long_field_names=False, do_compression=False, oned_as=None); now def savemat(file_name, mdict, appendmat=True, format='5', long_field_names=False, do_compression=False... pypi.org - Signature changed
scipy.io.matlab.mio5.MatFile5Writer.__init__
Was def __init__(self, file_stream, do_compression=False, unicode_strings=False, global_vars=None, long_field_names=False, oned_as=None); now def __init__(self, file_stream, do_compression=False, unicode_strings=False, global_vars=None... pypi.org
And 29 more in this version.
scipy 0.12.0 breaking changes
- Signature changed
scipy.cluster.hierarchy
Was from import hierarchy; now module scipy.cluster.hierarchy. pypi.org - Signature changed
scipy.cluster.vq
Was from import vq; now module scipy.cluster.vq. pypi.org
And 72 more in this version.
scipy 0.11.0 breaking changes
- Signature changed
scipy.interpolate.fitpack2.BivariateSpline
Was class BivariateSpline(object); now class BivariateSpline(_BivariateSplineBase). pypi.org - Signature changed
scipy.io.data_store.save_as_module
Was def save_as_module(file_name=None, data=None); now save_as_module. pypi.org
And 9 more in this version.
scipy 0.10.0 breaking changes
- Signature changed
scipy.fftpack.realtransforms.dct
Was def dct(x, type=2, n=None, axis=-1, norm=None); now def dct(x, type=2, n=None, axis=-1, norm=None, overwrite_x=0). pypi.org - Signature changed
scipy.fftpack.realtransforms.idct
Was def idct(x, type=2, n=None, axis=-1, norm=None); now def idct(x, type=2, n=None, axis=-1, norm=None, overwrite_x=0). pypi.org
And 6 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.