python setup.py install fails #3002

Closed
andreabedini opened this Issue Oct 18, 2013 · 7 comments

Projects

None yet

3 participants

@andreabedini

python setup.py install fails not being able to find swig, which it seems not to be a requirement.

build log here https://gist.github.com/andreabedini/7035296

@rgommers
Member

That does not look good. IIRC export UMFPACK='' will disable this building this optional wrapper and make things work for you.

@pv
Member
pv commented Oct 18, 2013

Not a new regression --- this issue has been around for a long time, I think.

@rgommers
Member

I thought there was a decision at some point to remove this umfpack wrapper because that lib changed from LGPL to GPL. Relevant threads:

http://thread.gmane.org/gmane.comp.python.numeric.general/4542/focus=4614
http://thread.gmane.org/gmane.comp.python.scientific.devel/8274/focus=8310
http://article.gmane.org/gmane.comp.python.scientific.devel/7375/match=umfpack+license
http://article.gmane.org/gmane.comp.python.scientific.devel/16220/match=umfpack+license

Robert Cimrman seems to have obtained permission from Tim Davis for the scipy wrapper (see last link above) but it's not mentioned in any of the source files as far as I can tell.

This is also still deprecated: https://github.com/scipy/scipy/blob/master/scipy/sparse/linalg/dsolve/linsolve.py#L124. Can we just remove it now?

@andreabedini

Hi, thanks for the quick feedback. Unfortunately export UMFPACK='' doesn't seem to help. I also wonder why scipy doesn't build on my machine why it does build on travis (for example). I'm running OSX 10.8.5 with home-brewed python.

@andreabedini

ah! the correct setting was UMFPACK=None, now it has installed.

@rgommers
Member

Yes another user with issues on the scipy-user list. Setting Milestone to 0.14.0, to not forget to remove the wrapper before the next release.

@rgommers
Member

Link to other issue that results in failed install due to umfpack: http://article.gmane.org/gmane.comp.python.scientific.user/34761

@rgommers rgommers added a commit to rgommers/scipy that referenced this issue Dec 30, 2013
@rgommers rgommers DEP: remove deprecated umfpack wrapper. Closes gh-3002.
Executive summary:
- this is due to license issues, UMFPACK changed from a BSD-compatible license
  to GPL a long time ago.
- this solves install issues; SWIG was always an undocumented build-time
  dependency if UMFPACK was installed on a system.
- scikits.umfpack was lost, but @rc is about to revive it.
fc710da
@rgommers rgommers added a commit to rgommers/scipy that referenced this issue Dec 30, 2013
@rgommers rgommers DEP: remove deprecated umfpack wrapper. Closes gh-3002.
Executive summary:
- this is due to license issues, UMFPACK changed from a BSD-compatible license
  to GPL a long time ago.
- this solves install issues; SWIG was always an undocumented build-time
  dependency if UMFPACK was installed on a system.
- scikits.umfpack was lost, but @rc is about to revive it.
f8396b3
@rgommers rgommers added a commit that closed this issue Feb 9, 2014
@rgommers @pv rgommers + pv DEP: remove deprecated umfpack wrapper. Closes gh-3002.
Executive summary:
- this is due to license issues, UMFPACK changed from a BSD-compatible license
  to GPL a long time ago.
- this solves install issues; SWIG was always an undocumented build-time
  dependency if UMFPACK was installed on a system.
- scikits.umfpack was lost, but @rc is about to revive it.
a5d38fc
@rgommers rgommers closed this in a5d38fc Feb 9, 2014
@BrianNewsom BrianNewsom added a commit to BrianNewsom/scipy that referenced this issue Feb 11, 2014
@rgommers @BrianNewsom rgommers + BrianNewsom DEP: remove deprecated umfpack wrapper. Closes gh-3002.
Executive summary:
- this is due to license issues, UMFPACK changed from a BSD-compatible license
  to GPL a long time ago.
- this solves install issues; SWIG was always an undocumented build-time
  dependency if UMFPACK was installed on a system.
- scikits.umfpack was lost, but @rc is about to revive it.
796d545
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment