Skip to content

Conversation

@ilayn
Copy link
Member

@ilayn ilayn commented Oct 25, 2018

Lately SciPy tests fail on the upstream NumPy branch. Judging by the fix that made the tests passed locally, it looks like numpy.hstack behavior changed.

Converted to list comprehension with this PR.

@ilayn ilayn added defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.optimize labels Oct 25, 2018
@ilayn ilayn added this to the 1.2.0 milestone Oct 25, 2018
@ilayn ilayn changed the title FIX: np.hstack does not accept generator expressions BUG: np.hstack does not accept generator expressions Oct 26, 2018
Copy link
Contributor

@tylerjereddy tylerjereddy left a comment

Choose a reason for hiding this comment

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

Looks sensible -- it may be that Stephan will opt to support the problematic scenario upstream in NumPy for a while, but looks like we probably don't want to depend on feeding in generators long-term.

@ilayn
Copy link
Member Author

ilayn commented Oct 26, 2018

Since the changes are rather trivial and all PRs get affected by this, I'm merging this.

@ilayn ilayn merged commit c8069fd into scipy:master Oct 26, 2018
@ilayn ilayn deleted the optimize_fix branch October 26, 2018 06:38
@larsoner
Copy link
Member

Thanks for getting us back to green @ilayn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.linalg scipy.optimize scipy.stats

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants