Skip to content

Commit

Permalink
Merge branch 'propack' of github.com:mckib2/scipy into propack
Browse files Browse the repository at this point in the history
  • Loading branch information
mdhaber committed Jun 25, 2021
2 parents bf4a183 + 62fc3e9 commit 2df2c06
Show file tree
Hide file tree
Showing 42 changed files with 1,963 additions and 389 deletions.
18 changes: 17 additions & 1 deletion doc/release/1.7.0-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Highlights of this release

- A new submodule for quasi-Monte Carlo, `scipy.stats.qmc`, was added
- The documentation design was updated to use the same PyData-Sphinx theme as
other NumFOCUS packages like NumPy.
NumPy and other ecosystem libraries.
- We now vendor and leverage the Boost C++ library to enable numerous
improvements for long-standing weaknesses in `scipy.stats`
- `scipy.stats` has six new distributions, eight new (or overhauled)
Expand Down Expand Up @@ -612,6 +612,7 @@ Issues closed for 1.7.0
* `#13793 <https://github.com/scipy/scipy/issues/13793>`__: CI: CircleCI doc build failure
* `#13840 <https://github.com/scipy/scipy/issues/13840>`__: manylinux1 builds are failing because of C99 usage in \`special/_cosine.c\`
* `#13850 <https://github.com/scipy/scipy/issues/13850>`__: CI: Homebrew is failing due to bintray
* `#13875 <https://github.com/scipy/scipy/issues/13875>`__: BUG: chi2_contingency with Yates correction
* `#13878 <https://github.com/scipy/scipy/issues/13878>`__: BUG: \`signal.get_window\` argument handling issue
* `#13880 <https://github.com/scipy/scipy/issues/13880>`__: Remove all usages of numpy.compat
* `#13896 <https://github.com/scipy/scipy/issues/13896>`__: Boschloo's Test for More Powerful Hypothesis Testing of 2x2 Contingency...
Expand All @@ -628,6 +629,10 @@ Issues closed for 1.7.0
* `#14048 <https://github.com/scipy/scipy/issues/14048>`__: DOC: missing git submodule information
* `#14055 <https://github.com/scipy/scipy/issues/14055>`__: linalg.solve: Unclear error when using assume_a='her' with real...
* `#14093 <https://github.com/scipy/scipy/issues/14093>`__: DOC: Inconsistency in the definition of default values in the...
* `#14158 <https://github.com/scipy/scipy/issues/14158>`__: TST, BUG: test_rbfinterp.py -- test_interpolation_misfit_1d fails...
* `#14170 <https://github.com/scipy/scipy/issues/14170>`__: TST: signal submodule test_filtfilt_gust failing on 32-bit amd64...
* `#14194 <https://github.com/scipy/scipy/issues/14194>`__: MAINT: download-wheels.py missing import
* `#14199 <https://github.com/scipy/scipy/issues/14199>`__: Generated sources for biasedurn extension are broken in 1.7.0rc1


***********************
Expand Down Expand Up @@ -931,6 +936,7 @@ Pull requests for 1.7.0
* `#13910 <https://github.com/scipy/scipy/pull/13910>`__: DOC: update Readme
* `#13911 <https://github.com/scipy/scipy/pull/13911>`__: MAINT: use dict built-in rather than OrderedDict
* `#13920 <https://github.com/scipy/scipy/pull/13920>`__: BUG: Reactivate conda environment in init
* `#13925 <https://github.com/scipy/scipy/pull/13925>`__: BUG: stats: magnitude of Yates' correction <= abs(observed-expected)...
* `#13926 <https://github.com/scipy/scipy/pull/13926>`__: DOC: correct return type in disjoint_set.subsets docstring
* `#13927 <https://github.com/scipy/scipy/pull/13927>`__: DOC/MAINT: Add copyright notice to qmc.primes_from_2_to
* `#13928 <https://github.com/scipy/scipy/pull/13928>`__: BUG: DOC: signal: fix need argument config and add missing doc...
Expand Down Expand Up @@ -1011,9 +1017,19 @@ Pull requests for 1.7.0
* `#14110 <https://github.com/scipy/scipy/pull/14110>`__: DOC: mailmap update
* `#14113 <https://github.com/scipy/scipy/pull/14113>`__: ENH: stats: bootstrap: add \`paired\` parameter
* `#14116 <https://github.com/scipy/scipy/pull/14116>`__: MAINT: fix deprecated Python C API usage in odr
* `#14118 <https://github.com/scipy/scipy/pull/14118>`__: DOC: 1.7.0 release notes
* `#14125 <https://github.com/scipy/scipy/pull/14125>`__: DOC: fix typo
* `#14126 <https://github.com/scipy/scipy/pull/14126>`__: ENH: stats: bootstrap: add \`batch\` parameter to control batch...
* `#14127 <https://github.com/scipy/scipy/pull/14127>`__: CI: upgrade pip in benchmarks CI run
* `#14130 <https://github.com/scipy/scipy/pull/14130>`__: BUG: Fix trust-constr report TypeError if verbose is set to 2...
* `#14133 <https://github.com/scipy/scipy/pull/14133>`__: MAINT: interpolate: raise NotImplementedError not ValueError
* `#14139 <https://github.com/scipy/scipy/pull/14139>`__: FIX/DOC: lsqr doctests print failure
* `#14145 <https://github.com/scipy/scipy/pull/14145>`__: MAINT: 1.7.x version pins ("backport")
* `#14146 <https://github.com/scipy/scipy/pull/14146>`__: MAINT: commit count if no tag
* `#14164 <https://github.com/scipy/scipy/pull/14164>`__: TST, BUG: fix rbf matrix value
* `#14166 <https://github.com/scipy/scipy/pull/14166>`__: CI, MAINT: restrictions on pre-release CI
* `#14171 <https://github.com/scipy/scipy/pull/14171>`__: TST: signal: Bump tolerances for a test of Gustafsson's...
* `#14175 <https://github.com/scipy/scipy/pull/14175>`__: TST: stats: Loosen tolerance in some binomtest tests.
* `#14182 <https://github.com/scipy/scipy/pull/14182>`__: MAINT: stats: Update ppcc_plot and ppcc_max docstring.
* `#14195 <https://github.com/scipy/scipy/pull/14195>`__: MAINT: download-wheels missing import
* `#14230 <https://github.com/scipy/scipy/pull/14230>`__: REL: stop shipping generated Cython sources in sdist
1 change: 0 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ dependencies:
# Some optional test dependencies
- mpmath
- gmpy2
- scikit-umfpack
4 changes: 1 addition & 3 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
warn_redundant_casts = True
warn_unused_ignores = True
show_error_codes = True
plugins = numpy.typing.mypy_plugin

#
# Typing tests is low priority, but enabling type checking on the
Expand Down Expand Up @@ -508,9 +509,6 @@ ignore_errors = True
[mypy-scipy.spatial.tests.test_kdtree]
ignore_errors = True

[mypy-scipy.spatial.tests.test_qhull]
ignore_errors = True

[mypy-scipy.integrate._ivp.bdf]
ignore_errors = True

Expand Down
2 changes: 1 addition & 1 deletion mypy_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Note: this should disappear at some point. For now, please keep it
# in sync with the dev dependencies in pyproject.toml
mypy
mypy==0.902
typing_extensions
8 changes: 4 additions & 4 deletions scipy/_lib/_uarray/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
documentation for :obj:`unumpy`. This page explains how to write
back-ends and multimethods.
``uarray`` is built around a back-end protocol and overridable multimethods.
``uarray`` is built around a back-end protocol, and overridable multimethods.
It is necessary to define multimethods for back-ends to be able to override them.
See the documentation of :obj:`generate_multimethod` on how to write multimethods.
Expand Down Expand Up @@ -97,15 +97,15 @@
('override_me', (1, '2'), {})
You also have the option to return ``NotImplemented``, in which case processing moves on
to the next back-end, which, in this case, doesn't exist. The same applies to
to the next back-end, which in this case, doesn't exist. The same applies to
``__ua_convert__``.
>>> be.__ua_function__ = lambda *a, **kw: NotImplemented
>>> with ua.set_backend(be):
... overridden_me(1, "2")
Traceback (most recent call last):
...
uarray.backend.BackendNotImplementedError: ...
uarray.BackendNotImplementedError: ...
The last possibility is if we don't have ``__ua_convert__``, in which case the job is left
up to ``__ua_function__``, but putting things back into arrays after conversion will not be
Expand All @@ -114,4 +114,4 @@

from ._backend import *

__version__ = '0.5.1+49.g4c3f1d7.scipy'
__version__ = '0.8.2+14.gaf53966.scipy'
Loading

0 comments on commit 2df2c06

Please sign in to comment.