Skip to content

Commit

Permalink
MAINT: PR 15088 revisions
Browse files Browse the repository at this point in the history
* add Isuru Fernando to author list, for assistance in
providing M1 support

* adjust the 1.7.3 release notes summary to remove any
mention of test skips and to note that MacOS version 12.0
is required for the arm64 wheels.

* skip a `qmc` test when it is executed with a version
of NumPy < 1.17, because default_rng not available
  • Loading branch information
tylerjereddy committed Nov 24, 2021
1 parent 759f76e commit 20c42c2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/release/1.7.3-notes.rst
Expand Up @@ -5,8 +5,9 @@ SciPy 1.7.3 Release Notes
.. contents::

SciPy 1.7.3 is a bug-fix release that provides binary wheels
for MacOS arm64 with Python 3.8, 3.9, and 3.10. Note that a small
number of test failures have been skipped for these new wheels.
for MacOS arm64 with Python 3.8, 3.9, and 3.10. The MacOS arm64 wheels
are only available for MacOS version 12.0 and greater, as explained
in Issue 14688, linked below.

Authors
=======
Expand All @@ -16,8 +17,9 @@ Authors
* Tyler Reddy
* Pamphile Roy
* Olivier Grisel
* Isuru Fernando

A total of 5 people contributed to this release.
A total of 6 people contributed to this release.
People with a "+" by their names contributed a patch for the first time.
This list of names is automatically generated, and may not be fully complete.

Expand Down
3 changes: 3 additions & 0 deletions scipy/stats/tests/test_qmc.py
Expand Up @@ -12,6 +12,7 @@
from scipy.stats import qmc
from scipy.stats._qmc import (van_der_corput, n_primes, primes_from_2_to,
update_discrepancy, QMCEngine)
from scipy._lib._pep440 import Version


class TestUtils:
Expand Down Expand Up @@ -177,6 +178,8 @@ def test_discrepancy_parallel(self, monkeypatch):
with pytest.raises(ValueError, match="Invalid number of workers..."):
qmc.discrepancy(sample, workers=-2)

@pytest.mark.skipif(Version(np.__version__) < Version('1.17'),
reason='default_rng not available for numpy, < 1.17')
def test_update_discrepancy(self):
# From Fang et al. Design and modeling for computer experiments, 2006
space_1 = np.array([[1, 3], [2, 6], [3, 2], [4, 5], [5, 1], [6, 4]])
Expand Down

0 comments on commit 20c42c2

Please sign in to comment.