Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: scipy/_lib/_numpy_compat: get_randint #9550

Merged
merged 2 commits into from
Nov 29, 2018

Conversation

jor-
Copy link
Contributor

@jor- jor- commented Nov 28, 2018

Fix for problem mentioned in #9486. The low and high values might be chosen in some cases out of the integer type range. This is fixed.

Copy link
Member

@perimosocordiae perimosocordiae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, +1 from me.

@tylerjereddy
Copy link
Contributor

Is the proposal here to remove the test skips for 32-bit arch when NumPy < 1.11? Otherwise, we aren't testing for this anyway iirc.

If there's a really high confidence that this does what we want then the test skip should be removed. Ideally, I'd like to see the wheel-build matrix all-green ahead of time but I guess that's a pain to do for individual PRs in the main repo.

@jor-
Copy link
Contributor Author

jor- commented Nov 29, 2018

Yes, the test should work for 32-bit arch when NumPy < 1.11. I removed the test skip.

@jor-
Copy link
Contributor Author

jor- commented Nov 29, 2018

There is one failure:

=================================== FAILURES ===================================
______ build/testenv/site-packages/scipy/signal/tests/test_signaltools.py ______
[gw1] linux -- Python 3.5.3 /usr/local/bin/pypy3
Worker 'gw1' crashed while running 'build/testenv/site-packages/scipy/signal/tests/test_signaltools.py::TestFFTConvolve::test_random_data_multidim_axes[axes5]'

I think this is unrelated to this PR.

@rgommers rgommers added scipy.sparse maintenance Items related to regular maintenance tasks labels Nov 29, 2018
@rgommers
Copy link
Member

I think this is unrelated to this PR.

yep, failure is unrelated.

@rgommers rgommers merged commit 6ea39ea into scipy:master Nov 29, 2018
@rgommers
Copy link
Member

Merged, thanks @jor-

@tylerjereddy tylerjereddy added the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label Nov 29, 2018
@jor-
Copy link
Contributor Author

jor- commented Nov 29, 2018

Thanks for merging.

tylerjereddy added a commit to tylerjereddy/scipy that referenced this pull request Dec 4, 2018
* backports for 1.2.0rc2: scipygh-9541, scipygh-9549,
scipygh-9550, scipygh-9561

* appropriate release note updates for the above
backports, and some release note updates from
the rc1 backports

* increment rc version number and set as unreleased
@tylerjereddy tylerjereddy removed the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks scipy.sparse
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants