Skip to content
Merged

d #9

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
c562521
ENH: added x_unbounded output to lsq_linear
eytanadler Feb 15, 2022
b7826ef
BUG: corrected lsmr_tol in lsq_linear's first call to lsmr
eytanadler Feb 15, 2022
bc35e51
ENH: added lsmr_max_iter option to lsq_linear to better handle poorly…
eytanadler Feb 15, 2022
0f5f00c
STY: fixed linting issues in lsq_linear
eytanadler Feb 15, 2022
32745c5
Merge branch 'main' of github.com:scipy/scipy into update_lsq_linear
eytanadler Feb 22, 2022
c600069
MAINT: rearranged order of arguments in lsq_linear and trf_linear for…
eytanadler Feb 22, 2022
95806f5
MAINT: Add tests for new lsq_linear error catching and options
eytanadler Feb 22, 2022
d5ae644
ENH: added full unbounded least squares solver output to lsq_linear i…
eytanadler Mar 9, 2022
dc75de6
MAINT: integrate: add `recursive` to QUADPACK Fortran sources
ev-br Apr 17, 2022
c89ee2e
MAINT: stats: duplicate dirichlet as multivariate_beta
mdhaber Apr 24, 2022
ca4ed86
MAINT: stats: make multivariate_beta accept its own random variates
mdhaber Apr 24, 2022
7902cce
DOC: stats: add multivariate_beta documentation
mdhaber Apr 24, 2022
a31cc65
MAINT: stats: deprecate dirichlet
mdhaber Apr 27, 2022
aa7ccb0
MAINT: updated lsq_linear docs and tests to address comments
eytanadler Apr 27, 2022
9ee0562
MAINT: remove unused import from test_lsq_linear.py
eytanadler Apr 27, 2022
f87b07b
MAINT: changed new trf_linear argument to keyword format
eytanadler Apr 27, 2022
4b9e98c
Merge branch 'main' of github.com:scipy/scipy into update_lsq_linear
eytanadler Apr 27, 2022
112577e
BUG: Fix norm for sparse arrays
jarrodmillman May 3, 2022
1ac9600
MAINT: sparse.linalg: A minor improvement with zero initial guess
zhaog6 May 7, 2022
81d10d1
Add typing info for Rotation.concatenate
thezealousfool May 9, 2022
1a6f02c
MAINT: better UNU.RAN licensing information (#16158)
tupui May 11, 2022
81dcb25
MAINT: linalg: start on _cython_linalg_util.p[yx,xd]
ev-br May 10, 2022
cb93af5
MAINT: linalg: plumb through _cythonized_array_utils.pyx / .pxd
ev-br May 10, 2022
086e9c8
MAINT: linalg: add _cythonize_array_utils.pxd to meson.build
ev-br May 10, 2022
c478a0d
Merge pull request #15997 from ev-br/quadpack_recursive
mdhaber May 12, 2022
90ebe6d
MAINT:linalg: Expose low-level Cython functions for generic use
ilayn May 12, 2022
a6ee381
Merge pull request #16150 from thezealousfool/main
tylerjereddy May 13, 2022
97f6127
ENH: Tweak theilslopes and siegelslopes to return a tuple_bunch (#16167)
ragibson May 13, 2022
44ec457
BUG: signal: Fix calculation of extended image indices in convolve2d.
WarrenWeckesser May 7, 2022
8f55987
MAINT: signal: Add comments, simplify code.
WarrenWeckesser May 10, 2022
67f673f
CI: pin Pip to 22.0.4 to avoid issues with `--no-build-isolation`
rgommers May 13, 2022
0ded4f6
Merge pull request #16172 from rgommers/ci-pin-pip
tylerjereddy May 13, 2022
500ef2c
MAINT: update UNU.RAN (#16163)
tupui May 13, 2022
1bf2cd7
Adds note to the curve_fit() docstring to use float64. (#16173)
d-cogswell May 13, 2022
d1dabf1
BLD: changes to meson.build
rgommers May 13, 2022
0336363
BUG: fix extension module initialization, needs use of `PyMODINIT_FUN…
rgommers May 13, 2022
43ad939
TST: fix test failure due to changes in numpy scalar behavior. (#16175)
rgommers May 13, 2022
7450ad0
Merge pull request #16135 from zhaog6/res_comput
rgommers May 13, 2022
2748706
Merge pull request #16111 from jarrodmillman/norm-for-sparse-arrays
rgommers May 13, 2022
a8b7c32
DEP: Execute deprecation for squeezing input vectors in spatial.dista…
j-bowhay May 13, 2022
cbed4c1
DEV: do.py build. On setup checks if intro-buildoptions.json exists i…
schettino72 May 14, 2022
c99e386
BUG: stats: fix multivariate_hypergeom.rvs method (#16181)
tirthasheshpatel May 14, 2022
39feed0
PEP8:linalg: Fix indentation
ilayn May 14, 2022
2753dee
DOC: Fix error in kulczynski1 example
peterbell10 May 14, 2022
7e52d37
Merge pull request #16180 from schettino72/do-handle-failed-meson-setup
rgommers May 14, 2022
b611003
MAINT: Cleanup unused code in meson-files
peterbell10 May 13, 2022
084df99
Merge pull request #16177 from peterbell10/uarray-visibility-hidden
rgommers May 14, 2022
ea59429
BUG: stats: Fix handling of float32 inputs for the boost-based ufuncs.
WarrenWeckesser May 14, 2022
211380d
DEP: raise if fillvalue cannot be cast to output type in signal.convo…
j-bowhay May 15, 2022
87a07cc
Don't implement 'long double' boost ufuncs on windows
WarrenWeckesser May 16, 2022
7076a90
ENH: Simplify return names in stats.theil/siegelslopes (and fix bug w…
ragibson May 16, 2022
b9cf39d
Merge pull request #16166 from ilayn/cython_pxdify
ilayn May 16, 2022
665aab9
Initial commit of Poisson Disc for QMC
diregoblin Apr 22, 2021
48487ce
BUG: special: Fix the test 'test_d' that is run when SCIPY_XSLOW is d…
WarrenWeckesser May 16, 2022
02531c2
Apply suggestions from code review
mdhaber May 16, 2022
ba77f00
ENH: Fix signal.iircomb w0 bugs, add support for both frequency types…
endolith May 16, 2022
39fa485
MAINT: stats.nbinom.logcdf: fix vectorization (#16160)
mdhaber May 16, 2022
c98fbe5
MAINT: refactor code.
tupui May 17, 2022
f4f5e17
MAINT: fix variables and shapes
tupui May 17, 2022
d77bee0
TST: add PoissonDisc test
tupui May 17, 2022
98c30ed
MAINT: rename disc to disk to match literature
tupui May 17, 2022
05cd236
TST: combination of dim and radius in tests
tupui May 17, 2022
eb0b4b8
MAINT: fix 0 dim/sample cases
tupui May 17, 2022
47817f8
ENH: allow continue sample and proper reset
tupui May 17, 2022
9297146
TST/DOC: add validation test and some documentation
tupui May 17, 2022
811a3ac
MAINT: remove questionable uses of `Py_FatalError` in module init
rgommers May 13, 2022
6d8e790
FIX: ignore divide warning
tupui May 17, 2022
ce8d3d8
DEP: sharpen deprecation in NumericalInverseHermite (#16198)
j-bowhay May 18, 2022
f13ce9d
MAINT: fix mypy.
tupui May 18, 2022
f3b677f
DOC: example with non-intersecting radii.
tupui May 18, 2022
9e19577
DEV: fix Meson build with Debian Python (#16058)
AnirudhDagar May 18, 2022
5ad18b4
ENH: more numerically stable version of `softmax` (#16186)
pmli May 18, 2022
f94ad9e
BUG: fix _contains_nan (#16209)
ddeloss May 18, 2022
c0136cb
MAINT: forward port 1.8.1 relnotes
tylerjereddy May 19, 2022
d5e46ad
Merge pull request #16213 from tylerjereddy/treddy_forward_181_notes
ev-br May 19, 2022
a71fc15
Apply suggestions from code review
mdhaber May 19, 2022
5a2caed
ENH: add candidates as parameter
tupui May 19, 2022
a41baf1
ENH: add fill_space
tupui May 19, 2022
81de56a
BLD: add a build option to force use of the g77 ABI with Meson (#16194)
rgommers May 19, 2022
d3a757d
DOC: fix examples rendering.
tupui May 19, 2022
58039a0
DEP: docstring-related deprecations (#15819)
Matt711 May 20, 2022
bc07f83
ENH: add partial_derivative method to bivariate spline classes.
congma May 3, 2019
791c8b6
ENH: fix array sizes in FORTRAN routines for partial_derivative
congma May 3, 2019
1eb5988
TST: add two tests for the partial_derivative method
congma May 3, 2019
1313034
BUG: fix incorrect spline coefficient array size for partial_derivative.
congma May 3, 2019
a92410a
MAINT: update the docstring for BivariateSpline to match the code.
congma May 3, 2019
9712965
MAINT, DOC: clarify restrictions on partial_derivative argument values
congma May 4, 2019
8170000
MAINT: refactor derivative spline object's inheritance.
congma May 4, 2019
512410f
TST: add a test for invalid derivative order for partial_derivative
congma May 4, 2019
66977ed
TST: add more tests for _DerivedBivariateSpline
congma May 4, 2019
bcb3991
MAINT: refactor _from_tck and partial_derivative methods
congma May 6, 2019
b624030
TST, DOC: test partial_derivative method for spherical bivariate spline.
congma May 6, 2019
8172ea2
BUG: Fix garbling of code caused by misrebase.
congma May 17, 2020
11de9ad
CI: Test NumPy main branch also with Python 3.11 (#16206)
EwoutH May 20, 2022
c996744
ENH: Adding DIRECT algorithm to `scipy.optimize` (#14300)
czgdp1807 May 20, 2022
cbec046
BUG: check that iirfilter argument Wn satisfies Wn[0] < Wn[1] (#15886)
roryyorke May 20, 2022
9468cc9
MAINT: interpolate: fix up the `partial_derivative` rebase
ev-br May 20, 2022
ebc806f
MAINT: interpolate: reformat the arrays in tests
ev-br May 20, 2022
96bcd3b
MAINT: interpolate: appease the linter
ev-br May 20, 2022
f1b9e7f
MAINT: interpolate: use `implicit none` in `pardtc`
ev-br May 20, 2022
4c53ae1
ENH: fix numerical issues in roots_jacobi and related special functio…
SJamieson May 20, 2022
eac57c8
Merge pull request #16185 from WarrenWeckesser/stats-boost-float
rgommers May 20, 2022
8163786
TST: optimize: skip failing test of deprecated solver
mdhaber May 20, 2022
4180aeb
MAINT: interpolate: rename nux, nuy to dx, dy
ev-br May 20, 2022
7aaad83
MAINT: interpolate: move RGI to a separate file
ev-br May 20, 2022
177c074
TST: interpolate: move test_spalde_scalar to other fitpack tests
ev-br May 20, 2022
3ed5095
REL: DOC: fix documentation URLs for the 1.8.x releases
rgommers May 20, 2022
15ee28f
Merge pull request #16225 from mdhaber/gh13846
rgommers May 20, 2022
54e1140
STY: fix linter failure for `misc/doccer.py`
rgommers May 20, 2022
5716408
BUG: fix extension module initialization, needs use of PyMODINIT_FUNC…
eli-schwartz May 20, 2022
7b0cd25
Apply suggestions from code review. [skip actions][skip azp]
tupui May 20, 2022
8627df3
Merge pull request #16230 from eli-schwartz/meson-visibility
rgommers May 20, 2022
8aba4bc
Update scipy/stats/_qmc.py [skip ci]
tupui May 20, 2022
3e05060
Update scipy/stats/_qmc.py [skip ci]
tupui May 20, 2022
4d1dace
MAINT: rephrase doc and change parameter name
tupui May 20, 2022
8889fbd
MAINT: revert filter warning.
tupui May 21, 2022
f94570c
MAINT: tools: Add more output to a refguide-check error message.
WarrenWeckesser May 21, 2022
060ab11
Merge pull request #16228 from ev-br/fitpack_mv_test_regression
tylerjereddy May 21, 2022
20d88ae
DOC: stats: roadmap updates
mdhaber May 21, 2022
ee1397c
Merge branch 'main' into move_RGI
ev-br May 22, 2022
3688d46
Merge pull request #16229 from rgommers/fix-doc-urls-on-main
rgommers May 22, 2022
4c5e7f1
DEP:linalg: Execute deprecation of pinv2 (#16245)
j-bowhay May 22, 2022
6299b30
Merge pull request #16223 from ev-br/move_RGI
ev-br May 22, 2022
62f75fa
Merge pull request #16239 from WarrenWeckesser/nonprintable-line
ev-br May 22, 2022
a5b2606
MAINT: refguide-check absolute module names
ev-br May 22, 2022
1451b2c
Merge pull request #13918 from diregoblin/master
tylerjereddy May 23, 2022
5c2b199
BUG: refguide-check: respect the verbosity switch
ev-br May 23, 2022
b5b7b33
ENH: doit/refguide-check: respect the verbosity
ev-br May 23, 2022
50a29c4
Merge pull request #16220 from ev-br/pr/10129
ev-br May 23, 2022
16f0795
Merge pull request #16249 from ev-br/refguide-check_verbosity-abs-names
tupui May 23, 2022
94297f6
DOC:linalg: Remove references to removed pinv2 function (#16247)
ilayn May 23, 2022
1d675b8
MAINT: interpolate: add recursive and implicit none to FITPACK subrou…
ev-br Apr 27, 2022
7c1344b
MAINT: interpolate: add recursive/implicit none to FITPACK functions
ev-br Apr 27, 2022
27ab5f1
MAINT: interpolate: mark fitpack/pardtc.f recursive
ev-br May 23, 2022
272b261
Revert "CI: pin Pip to 22.0.4 to avoid issues with `--no-build-isolat…
rgommers May 23, 2022
cc70faa
Merge pull request #16259 from scipy/revert-16172-ci-pin-pip
tylerjereddy May 23, 2022
36bd577
Merge pull request #16176 from rgommers/more-module-init-cleanup
rgommers May 24, 2022
fd3f0d4
MAINT: stats: attempt to consolidate warnings and errors (#15923)
mdhaber May 24, 2022
7b8933e
DEP: remove maxiter in minimize_tnc (#16261)
lorentzbao May 24, 2022
59611c7
DEP: add deprecation warning for vertices attribute in qhull (#16258)
j-bowhay May 24, 2022
89a78ae
DEP: deprecate spatial.distance.kulsinski (#16265)
j-bowhay May 24, 2022
9cf66ad
DEP: Deprecation follow-ups (#16257)
h-vetinari May 24, 2022
320c835
DOC: broken donation link.
tupui May 24, 2022
8f363c9
Merge pull request #16267 from tupui/funding
tylerjereddy May 25, 2022
3b9b7cc
Merge pull request #16053 from ev-br/fitpack_recursive
tylerjereddy May 25, 2022
d71d8ca
Merge pull request #16042 from mdhaber/gh6006
tylerjereddy May 25, 2022
7f7db53
ENH: stats: add weighted power mean (#15729)
qbarthelemy May 25, 2022
c3225ef
DOC: remove kulsinski from refguide.
tupui May 25, 2022
f5f5da8
DOC: remove dirichlet and NumericalInverseHermite from refguide.
tupui May 25, 2022
c421176
DOC: remove remaining reference to kulsinski.
tupui May 25, 2022
51089f3
DOC: update links in release notes.
tupui May 25, 2022
12301d7
DOC: remove remaining reference to diriclet.
tupui May 25, 2022
6d310c8
lsap performance improvements
pmla May 25, 2022
3ba543a
MAINT: sparse.linalg: Update some docstrings. (#16276)
WarrenWeckesser May 25, 2022
797ae0b
Merge pull request #16273 from tupui/kulsinski
ev-br May 25, 2022
3b97a62
BUG: special: DECREF scipy_special object before exiting sf_error().
WarrenWeckesser May 26, 2022
6162dae
Merge pull request #15464 from pmla/lsap-maintenance
tylerjereddy May 26, 2022
9fede94
Merge pull request #16282 from WarrenWeckesser/sf-error-memleak
rgommers May 26, 2022
cef8172
DOC: small typos on main pages (#16283)
saiteja13427 May 26, 2022
87637da
DEP: Update `maxiter` deprecation in _minimize_tnc tests (#16274)
lorentzbao May 26, 2022
bd6dec1
BLD: default to Meson in pyproject.toml
rgommers Jan 11, 2022
d1b15d7
CI: update Azure config for pyproject.toml defaulting to Meson
rgommers Jan 26, 2022
e0c5f61
BLD: re-add `numpy==` pins in `pyproject.toml` and update CI for that
rgommers May 16, 2022
46bc0ca
CI: fix remaining failures on 32-bit Linux and sdist on Azure
rgommers May 16, 2022
b6407ed
CI: try getting rid of `--user` in the pip install command on 32-bit …
rgommers May 17, 2022
447b590
CI: fix trivial issue with Fortran compiler name in 32-bit Linux job
rgommers May 17, 2022
589f5fe
BLD: fix issue when building with Meson against numpy 1.18.5
rgommers May 17, 2022
e9fe6cc
STY: fix linter complaints in build-pypi-artifacts.py
rgommers May 17, 2022
46fcbe5
DOC: update "how to release" docs
rgommers May 17, 2022
9f339c1
DOC: add release notes about Meson introduction
rgommers May 17, 2022
6b897c2
CI: move 32-bit Linux box to `setup.py install`
rgommers May 17, 2022
9c615f3
MAINT: update minimum Cython version to 0.29.21 to pick up empty arra…
rgommers May 20, 2022
5382313
BLD: update to meson-python 0.5.0, and use build isolation in a CI job
rgommers May 26, 2022
5cbfc6c
BLD: sync pyproject.toml changes from oldest-supported-numpy
rgommers May 26, 2022
d92ee77
CI: try to fix directmodule init issue in 32-bit Linux job
rgommers May 26, 2022
26eb830
Merge pull request #16287 from rgommers/update-numpy-reqs
tylerjereddy May 26, 2022
94aefab
BLD: rename `_directmodule` extension to `_direct` (#16290)
rgommers May 27, 2022
a4e2d1b
Merge branch 'main' into default-to-meson
rgommers May 27, 2022
ca60709
CI: remove duplicate line in 32-bit Linux job
rgommers May 27, 2022
72add93
BLD: remove build-pypi-artifacts.py
rgommers May 27, 2022
3da4286
DOC: update the RegularGridInterpolator docstring (#16264)
ev-br May 27, 2022
55fca81
Merge pull request #16187 from rgommers/default-to-meson
tylerjereddy May 28, 2022
733e88c
MAINT: move `import_array` before module creation in module inits
rgommers May 28, 2022
54c9d0e
DOC: REL: fix `make dist` issue with missing dependencies
rgommers May 28, 2022
9273d2f
Merge pull request #16296 from rgommers/docdist-make
tylerjereddy May 28, 2022
181f898
Merge pull request #16295 from rgommers/fix-importarray-decref
WarrenWeckesser May 28, 2022
918bdfd
MAINT: stats: override loguniform fit to resolve overparameterization…
mdhaber May 28, 2022
cefc907
ENH: n-D and nan_policy support for scipy.stats.percentileofscore (#1…
patnr May 28, 2022
cad4bf7
REL: set version to 1.10.0.dev0
tylerjereddy May 28, 2022
3a4f1df
Merge branch 'main' into update_lsq_linear
rgommers May 28, 2022
4b3c693
MAINT: minor cleanups in `lsq_linear.py`
rgommers May 28, 2022
f504a83
Merge branch 'main' of github.com:scipy/scipy into update_lsq_linear
eytanadler May 28, 2022
fe6d9a0
MAINT: renamed lsmr_max_iter to lsmr_maxiter
eytanadler May 28, 2022
1ab51c3
Merge branch 'update_lsq_linear' of github.com:eytanadler/scipy into …
eytanadler May 28, 2022
6c51ed7
Merge pull request #15598 from eytanadler/update_lsq_linear
tylerjereddy May 28, 2022
357ed6e
MAINT: revert deprecation of dirichlet
tirthasheshpatel May 29, 2022
641c35d
MAINT: add a more informative error message for broken installs
rgommers May 29, 2022
28ff556
BLD: fix `description` entry in pyproject.toml
rgommers May 29, 2022
7cc300a
CI: add venv-based CI job
rgommers May 29, 2022
c7396a9
Merge pull request #16309 from rgommers/venv-ci-job
tylerjereddy May 29, 2022
7890d2b
Merge pull request #16304 from rgommers/ccallback-errmsg
tylerjereddy May 29, 2022
4aabe6c
MAINT: stats: complete revert of `multivariate_beta` addition
mdhaber May 29, 2022
8254a02
Merge pull request #16303 from tirthasheshpatel/revert-16042
tylerjereddy May 29, 2022
c8151fe
MAINT: stats.wilcoxon: return `zstatistic` only when `method='approx'…
tirthasheshpatel May 29, 2022
ad939bf
DOC: stats.wilcoxon: fix docstring mistake (#16314)
mdhaber May 30, 2022
7d4a441
REL: update version switcher for 1.8.1 (#16316)
tupui May 30, 2022
36b5cc5
Apply suggestions from code review
mdhaber May 30, 2022
ffdd559
MAINT: stats: remove function-specific warning messages (#16289)
mdhaber May 30, 2022
e9b29a9
Support LinearOperator in expm_multiply (#14143)
DerWeh May 30, 2022
01621e0
Fixes safe handling of small singular values in svds. (#11829)
evgueni-ovtchinnikov May 30, 2022
c8eff0a
Merge pull request #16241 from mdhaber/roadmap_updates
tylerjereddy May 30, 2022
1bd62de
DOC: fix incorrect formatting of deprecation tags (#16321)
j-bowhay May 30, 2022
35a2b55
DOC: prep 1.9.0 release notes (#16248)
tylerjereddy May 30, 2022
75daa25
Merge pull request #16298 from tylerjereddy/treddy_110_prep
tylerjereddy May 30, 2022
09dab11
DOC: BLD: remove `-scipyopt` from html Make command and build output …
rgommers May 31, 2022
cca6d02
MAINT: retry openblas download in CI. (#16328)
tupui May 31, 2022
0d73a94
DOC: update guidance on a Meson FAQ entry (#16324)
eli-schwartz May 31, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,16 @@ jobs:
no_output_timeout: 25m
command: |
export PYTHONPATH=$PWD/build-install/lib/python3.8/site-packages
python dev.py -n -j2 --doc html-scipyorg
python dev.py -n -j2 --doc html

- store_artifacts:
path: doc/build/html-scipyorg
destination: html-scipyorg
path: doc/build/html
destination: html

- persist_to_workspace:
root: doc/build
paths:
- html-scipyorg
- html

# Run benchmarks

Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
(git checkout --orphan tmp && git branch -D gh-pages || true);
git checkout --orphan gh-pages;
git reset --hard;
cp -R /tmp/build/html-scipyorg/. .;
cp -R /tmp/build/html/. .;
touch .nojekyll;
git config --global user.email "scipy-circleci-bot@nomail";
git config --global user.name "scipy-circleci-bot";
Expand Down
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github: [numfocus]
tidelift: pypi/scipy
custom: https://scipy.org/donations
custom: https://scipy.org/about/#donate
2 changes: 1 addition & 1 deletion .github/workflows/circle_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
uses: larsoner/circleci-artifacts-redirector-action@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
artifact-path: 0/html-scipyorg/index.html
artifact-path: 0/html/index.html
circleci-jobs: build_docs
job-title: Check the rendered docs here!
14 changes: 1 addition & 13 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.11-dev"]

steps:
- uses: actions/checkout@v3
Expand All @@ -74,18 +74,6 @@ jobs:
python-version: ${{ matrix.python-version }}
architecture: x64

# Keeping this for later 3.11. Might not be needed as GH seems to provide
# pre-released versions of 3.11
# - name: Install Python 3.11
# if: matrix.python-version == '3.11'
# run: |
# sudo add-apt-repository ppa:deadsnakes/ppa
# sudo apt-get update
# sudo apt install -y --no-install-recommends python3.11-dev python3.11-distutils python3.11-venv
# # GitHub doesn't provide a pip interface with py3.11 yet. Therefore, install it manually :
# curl -O https://bootstrap.pypa.io/get-pip.py && python3.11 get-pip.py && rm get-pip.py
# python3.11 -m pip install --upgrade pip setuptools

- name: Install other build dependencies
run: |
sudo apt-get install libatlas-base-dev liblapack-dev gfortran libgmp-dev libmpfr-dev libsuitesparse-dev ccache libmpc-dev
Expand Down
41 changes: 40 additions & 1 deletion .github/workflows/linux_meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

- name: Install Python packages
run: |
python -m pip install numpy setuptools wheel cython pytest pytest-xdist pybind11 mpmath gmpy2 pythran ninja meson==0.60.3
python -m pip install numpy setuptools wheel cython pytest pytest-xdist pybind11 mpmath gmpy2 pythran ninja meson

- name: Prepare compiler cache
id: prep-ccache
Expand Down Expand Up @@ -102,3 +102,42 @@ jobs:
run: |
export OMP_NUM_THREADS=2
python dev.py -n -j 2

test_venv_install:
name: Pip install into venv
if: "github.repository == 'scipy/scipy' || github.repository == ''"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: "3.10"

- name: Install Ubuntu dependencies
run: |
# We're not running the full test suite here, only testing the install
# into a venv is working, so leave out optional dependencies. That's
# also why we can get away with an old version of OpenBLAS from Ubuntu
sudo apt-get update
sudo apt-get install -y libopenblas-dev pkg-config gfortran

- name: Create venv, install SciPy
run: |
python -m venv ../venvs/scipy-venv
source ../venvs/scipy-venv/bin/activate
# Note that this uses build isolation. That's why we don't need build
# dependencies to be installed in the venv itself.
python -m pip install . -vv

- name: Basic imports and tests
run: |
source ../venvs/scipy-venv/bin/activate
cd ..
python -c "import scipy"
python -c "import scipy.linalg"
python -m pip install pytest
python -c "from scipy import cluster; cluster.test()"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ benchmarks/results
benchmarks/scipy
benchmarks/html
benchmarks/scipy-benchmarks
.mesonpy-native-file.ini
scipy/__config__.py
scipy/_lib/_ccallback_c.c
scipy/_lib/messagestream.c
Expand Down
10 changes: 10 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
ADmitri <[email protected]> ADmitri <[email protected]>
Aditya Vijaykumar <[email protected]> adivijaykumar <[email protected]>
Akash Goel <[email protected]> Goel <[email protected]>
Albert Steppi <[email protected]> steppi <[email protected]>
Aldrian Obaja <> ubuntu <>
Alex Griffing <[email protected]> alex <[email protected]>
Alex Griffing <[email protected]> argriffing <[email protected]>
Expand Down Expand Up @@ -77,6 +78,7 @@ Arthur Volant <[email protected]> Arthur <[email protected]
Ashwin Pathak <[email protected]> ashwinpathak20 <[email protected]>
Ashwin Pathak <[email protected]> ashwinpathak20nov1996 <[email protected]>
Atsushi Sakai <[email protected]> Atsushi Sakai <[email protected]>
Aviv Yaish <[email protected]> Aviv <[email protected]>
Balint Pato <[email protected]> balopat <[email protected]>
Behzad Nouri <[email protected]> behzad nouri <[email protected]>
Benjamin Root <> weathergod <>
Expand All @@ -92,6 +94,7 @@ Brandon David <[email protected]> brandondavid <[email protected]>
Brett R. Murphy <[email protected]> brettrmurphy <[email protected]>
Brian Hawthorne <brian.hawthorne@localhost> brian.hawthorne <brian.hawthorne@localhost>
Brian Newsom <[email protected]> Brian Newsom <[email protected]>
Caio Agiani <[email protected]> caioagiani <[email protected]>
Callum Jacob Hays <[email protected]> callumJHays <[email protected]>
Carlos Ramos Carreño <[email protected]> vnmabus <[email protected]>
Charles Jekel <[email protected]> cjekel <[email protected]>
Expand Down Expand Up @@ -126,6 +129,7 @@ Daniel B. Smith <[email protected]> Daniel Smith <smithd@daniel-laptop.(
Daniel B. Smith <[email protected]> Daniel B. Smith <[email protected]>
Daniel B. Smith <[email protected]> Daniel B. Smith <[email protected]>
Daniel B. Smith <[email protected]> Daniel <[email protected]>
Daniel Schmitz <[email protected]> dschmitz89 <[email protected]>
Danilo Augusto <[email protected]> daniloagst <[email protected]>
Danilo Horta <[email protected]> Horta <[email protected]>
David Huard <dhuard@localhost> dhuard <dhuard@localhost>
Expand Down Expand Up @@ -301,6 +305,7 @@ Lars Buitinck <[email protected]> Lars Buitinck <[email protected]>
Lars G <[email protected]> Lars G <[email protected]>
Lars G <[email protected]> Lars Grueter <[email protected]>
Lars G <[email protected]> Lars Grüter <[email protected]>
Laurynas Mikšys <[email protected]> Laurynas <[email protected]>
Lei Ma <[email protected]> OctoMiao <[email protected]>
Levi John Wolf <[email protected]> ljwolf <[email protected]>
Liam Damewood <[email protected]> ldamewood <[email protected]>
Expand Down Expand Up @@ -340,6 +345,9 @@ Max Argus <[email protected]> BlGene <[email protected]>
Max Argus <[email protected]> max argus <[email protected]>
Max Bolingbroke <[email protected]> DSG User <>
Max Bolingbroke <[email protected]> Max Bolingbroke <[email protected]>
Melissa Weber Mendonça <[email protected]> melissawm <[email protected]>
Melissa Weber Mendonça <[email protected]> Melissa Weber Mendonça <[email protected]>
Melissa Weber Mendonça <[email protected]> Melissa Weber <[email protected]>
Michael Benfield <[email protected]> mikebenfield <[email protected]>
Michael Droettboom <> mdroe <>
Michael Dunphy <[email protected]> Michael Dunphy <[email protected]>
Expand Down Expand Up @@ -414,6 +422,7 @@ Robert Uhl <[email protected]> Robert Uhl <[email protected]
Roman Mirochnik <[email protected]> mirochni <[email protected]>
Rupak Das <[email protected]> Rupak <[email protected]>
Ruslan Yevdokymov <[email protected]> Ruslan Yevdokymov <[email protected]>
Ryan Gibson <[email protected]> ragibson <[email protected]>
Sam Lewis <[email protected]> Sam Lewis <[email protected]>
Sam McCormack <[email protected]> Sam McCormack <[email protected]>
Sam Mason <[email protected]> Sam Mason <[email protected]>
Expand All @@ -430,6 +439,7 @@ Scott Sievert <[email protected]> <[email protected]>
Sebastian Haase <> sebhaase <>
Sebastian Pucilowski <[email protected]> Sebastian Pucilowski <[email protected]>
Sebastian Skoupý <[email protected]> Sebascn <[email protected]>
Shivnaren Srinivasan <[email protected]> srinivasan <[email protected]>
Skipper Seabold <[email protected]> skip <skip@localhost>
Shinya SUZUKI <[email protected]> Shinya SUZUKI <[email protected]>
Smit Lunagariya <[email protected]> Smit-create <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ any help you give. Note that a code of conduct applies to all spaces
managed by the SciPy project, including issues and pull requests:
https://github.com/scipy/scipy/blob/main/doc/source/dev/conduct/code_of_conduct.rst.

When submitting a pull request, we ask you check the following:
When submitting a pull request, we ask you to check the following:

1. **Unit tests**, **documentation**, and **code style** are in order.
For details, please read
Expand All @@ -21,5 +21,5 @@ When submitting a pull request, we ask you check the following:
https://github.com/scipy/scipy/blob/main/LICENSE.txt.
If you did not write the code yourself, you ensure the existing
license is compatible and include the license information in the
contributed files, or obtain a permission from the original
contributed files, or obtain permission from the original
author to relicense the contributed code.
22 changes: 11 additions & 11 deletions HACKING.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ this code belong? That question is hard to answer here, so we start with a
more specific one: *what code is suitable for putting into SciPy?*
Almost all of the new code added to SciPy has in common that it's potentially
useful in multiple scientific domains and it fits in the scope of existing
SciPy subpackages (see :ref:`deciding-on-new-features`). In principle new
SciPy subpackages (see :ref:`deciding-on-new-features`). In principle, new
subpackages can be added too, but this is far less common. For code that is
specific to a single application, there may be an existing project that can
use the code. Some SciKits (`scikit-learn`_, `scikit-image`_, `statsmodels`_,
Expand All @@ -41,9 +41,9 @@ more domain-specific code than SciPy.
Now if you have code that you would like to see included in SciPy, how do you
go about it? After checking that your code can be distributed in SciPy under a
compatible license (see :ref:`license-considerations`), the first step is to
discuss on the scipy-dev mailing list. All new features, as well as changes to
existing code, are discussed and decided on there. You can, and probably
should, already start this discussion before your code is finished. Remember
discuss it on the scipy-dev mailing list. All new features, as well as changes to
existing code, are discussed and decided on there. You can, and probably
should already start this discussion before your code is finished. Remember
that in order to be added to SciPy your code will need to be reviewed by
someone else, so try to find someone willing to review your work while you're
at it.
Expand All @@ -54,7 +54,7 @@ Before code is added to SciPy, it at least has to have good documentation, unit
tests, benchmarks, and correct code style.

1. Unit tests
In principle you should aim to create unit tests that exercise all the code
In principle, you should aim to create unit tests that exercise all the code
that you are adding. This gives some degree of confidence that your code
runs correctly, also on Python versions and hardware or OSes that you don't
have available yourself. An extensive description of how to write unit
Expand All @@ -74,7 +74,7 @@ tests, benchmarks, and correct code style.
and classes -- which includes at least a basic description, type and
meaning of all parameters and returns values, and usage examples in
`doctest`_ format -- is put in docstrings. Those docstrings can be read
within the interpreter, and are compiled into a reference guide in html and
within the interpreter, and are compiled into a reference guide in HTML and
pdf format. Higher-level documentation for key (areas of) functionality is
provided in tutorial format and/or in module docstrings. A guide on how to
write documentation is given in :ref:`numpy:howto-document`, and
Expand All @@ -95,7 +95,7 @@ available at the end of the example :ref:`development-workflow`.

Another question you may have is: *where exactly do I put my code*? To answer
this, it is useful to understand how the SciPy public API (application
programming interface) is defined. For most modules the API is two levels
programming interface) is defined. For most modules, the API is two levels
deep, which means your new function should appear as
``scipy.subpackage.my_new_func``. ``my_new_func`` can be put in an existing or
new file under ``/scipy/<subpackage>/``, its name is added to the ``__all__``
Expand All @@ -113,7 +113,7 @@ feature, be sure to also mention this on the scipy-dev mailing list. This can
prompt interested people to help review your PR. Assuming that you already got
positive feedback before on the general idea of your code/feature, the purpose
of the code review is to ensure that the code is correct, efficient and meets
the requirements outlined above. In many cases the code review happens
the requirements outlined above. In many cases, the code review happens
relatively quickly, but it's possible that it stalls. If you have addressed
all feedback already given, it's perfectly fine to ask on the mailing list
again for review (after a reasonable amount of time, say a couple of weeks, has
Expand Down Expand Up @@ -159,7 +159,7 @@ Maintaining existing code
=========================

The previous section talked specifically about adding new functionality to
SciPy. A large part of that discussion also applies to maintenance of existing
SciPy. A large part of that discussion also applies to the maintenance of existing
code. Maintenance means fixing bugs, improving code quality, documenting
existing functionality better, adding missing unit tests, adding performance
benchmarks, keeping build scripts up-to-date, etc. The SciPy `issue list`_
Expand Down Expand Up @@ -207,7 +207,7 @@ themselves some or all of the following questions:
literature; otherwise, closer look at correctness is valuable.
- Is the intended behavior clear under all conditions (e.g. unexpected inputs
like empty arrays or nan/inf values)?
- Does the code meet the quality, test and documentation expectation outline
- Does the code meet the quality, test and documentation expectations outlined
under `Contributing new code`_?

If we do not know you yet, consider introducing yourself.
Expand All @@ -220,7 +220,7 @@ There are many ways to contribute other than writing code.

Triaging issues (investigating bug reports for validity and possible actions to
take) is also a useful activity. SciPy has many hundreds of open issues;
closing invalid ones and correctly labeling valid ones (ideally with some first
closing invalid ones and correctly labelling valid ones (ideally with some first
thoughts in a comment) allows prioritizing maintenance work and finding related
issues easily when working on an existing function or subpackage.

Expand Down
2 changes: 1 addition & 1 deletion INSTALL.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ __ https://github.com/pybind/pybind11

__ http://www.sphinx-doc.org/

6) Cython__ >= 0.29.18
6) Cython__ >= 0.29.21

__ http://cython.org/

Expand Down
7 changes: 6 additions & 1 deletion LICENSES_bundled.txt
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,9 @@ License: Boost Software License - Version 1.0
Name: Biasedurn
Files: scipy/stats/biasedurn/*
License 3-Clause BSD
For details, see scipy/stats/biasedurn/license.txt
For details, see scipy/stats/biasedurn/license.txt

Name: UNU.RAN
Files: scipy/_lib/unuran/*
License 3-Clause BSD
For details, see scipy/_lib/unuran/license.txt
14 changes: 10 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ stages:
git submodule update --init
displayName: 'Fetch submodules'
- script: |
# For when updating this job to Meson: the `openblas` used here is
# missing pkg-config files. Ubunty Jammy (LTS 22.04) has openblas
# 3.20, so if that Docker image is available by then, just remove
# the unusual install method. For the bug report about missing .pc
# files: https://github.com/MacPython/openblas-libs/issues/74
set -euo pipefail
docker pull i386/ubuntu:bionic
docker run -v $(pwd):/scipy i386/ubuntu:bionic /usr/bin/linux32 /bin/bash -c "cd scipy && \
Expand All @@ -177,15 +182,15 @@ stages:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python3.8 get-pip.py && \
pip3 --version && \
pip3 install setuptools==59.6.0 wheel numpy==1.18.5 cython==0.29.18 pybind11 pytest pytest-timeout pytest-xdist pytest-env pytest-cov Pillow mpmath pythran==0.10.0 --user && \
pip3 install setuptools==59.6.0 wheel numpy==1.18.5 cython==0.29.21 pybind11 pytest pytest-timeout pytest-xdist pytest-env pytest-cov Pillow mpmath pythran==0.10.0 && \
apt-get -y install gcc-5 g++-5 gfortran-8 wget && \
cd .. && \
mkdir openblas && cd openblas && \
target=\$(python3.8 ../scipy/tools/openblas_support.py) && \
cp -r \$target/lib/* /usr/lib && \
cp \$target/include/* /usr/include && \
cd ../scipy && \
CC=gcc-5 CXX=g++-5 F77=gfortran-8 F90=gfortran-8 pip3 install . && \
CC=gcc-5 CXX=g++-5 F77=gfortran-8 F90=gfortran-8 python3.8 setup.py install && \
python3.8 tools/openblas_support.py --check_version $(openblas_version) && \
python3.8 runtests.py -n --mode=full -- -n auto -s --junitxml=junit/test-results.xml --cov-config=.coveragerc --cov-report=xml --cov-report=html"
displayName: 'Run 32-bit Ubuntu Docker Build / Tests'
Expand Down Expand Up @@ -333,8 +338,9 @@ stages:
}
$env:PATH = "C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw$(BITS)\\bin;" + $env:PATH

mkdir dist
pip wheel --no-build-isolation -v -v -v --wheel-dir=dist .
# Still testing distutils here (`pip wheel --no-use-pep517` cannot be
# used, so back to `setup.py` it is ...)
python setup.py bdist_wheel
ls dist -r | Foreach-Object {
pip install $_.FullName
}
Expand Down
Loading