Closed jsalvatier closed 10 years ago
Damn, yes, I think they haven't upgraded their numpy yet...
What options do we have?
If conda makes other things easier, I prefer 3. Will it work if numpy is installed with pip before the conda command?
diff --git i/.travis.yml w/.travis.yml
index 1662dc3..8deac5e 100644
--- i/.travis.yml
+++ w/.travis.yml
@@ -15,7 +15,8 @@ before_install:
install:
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
- source activate testenv
- - conda install --yes ipython==1.1.0 pyzmq numpy scipy nose matplotlib pandas Cython scikits.sparse patsy statsmodels
+ - pip install git+https://github.com/numpy/numpy.git
+ - conda install --yes ipython==1.1.0 pyzmq scipy nose matplotlib pandas Cython scikits.sparse patsy statsmodels
- pip install --no-deps numdifftools
- pip install git+https://github.com/Theano/Theano.git
- python setup.py build_ext --inplace
I do want to keep conda as well but there might be issues as numpy seems to be a core dependency other packages are linked against. @asmeurer might know if it's possible.
@asmeurer: "Actually, that's the timeline for the Anaconda release. NumPy 1.8 should go in the repos this weekend, unless we hit any snags before then. "
I suggest we wait.
What you suggest probably won't be an issue. I don't think the NumPy ABI changed this release, so I think even if a package was built against 1.7, it should still work with 1.8. But if waiting is an option you should do that as it will be easier.
Sorry for taking so long to update NumPy to 1.8. We usually update packages faster, but NumPy has so many dependencies that it required more extensive testing.
@kyleam In that case I think the pip install should be after the conda install, no?
In that case I think the pip install should be after the conda install, no?
I was thinking that numpy should be installed beforehand so that conda doesn't pull in numpy when it installs packages that depend on it. I haven't used conda much, though, so I was just guessing.
I agree that it makes sense to just wait at this point.
Conda doesn't check what is already installed from anything else like pip does. It uses its own metadata system.
OK, works now.
The recent
conda install
change seems to install the wrong version of numpy (should be >1.8). This is making some of the examples fail to run becauseinplace_increment
is missing from theano.https://github.com/pymc-devs/pymc/blob/master/.travis.yml#L18
from https://s3.amazonaws.com/archive.travis-ci.org/jobs/18145721/log.txt :