Skip to content

Commit 6742383

Browse files
committed
Merge pull request #731 from pymc-devs/theanodev
Fix travis issues by updating theano to dev
2 parents 5c26c1d + 933bb74 commit 6742383

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ python:
77
before_install:
88
- sudo apt-get install liblapack-dev gfortran python-scipy libblas-dev libsuitesparse-dev swig
99
- sudo ln -Tsf /{run,dev}/shm
10-
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-3.6.0-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.6.0-Linux-x86_64.sh -O miniconda.sh; fi
10+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi
1111
- chmod +x miniconda.sh
1212
- ./miniconda.sh -b
1313
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then export PATH=/home/travis/miniconda/bin:$PATH; else export PATH=/home/travis/miniconda3/bin:$PATH; fi

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ Check out the [Tutorial](http://pymc-devs.github.io/pymc3/getting_started/)!
3535
The latest version of PyMC 3 can be installed from the master branch using pip:
3636

3737
```
38-
pip install git+https://github.com/pymc-devs/pymc3
38+
pip install --process-dependency-links git+https://github.com/pymc-devs/pymc3
3939
```
4040

41+
The `--process-dependency-links` flag ensures that the developmental branch of Theano, which PyMC requires, is installed. If a recent developmental version of Theano has been installed with another method, this flag can be dropped.
42+
4143
Another option is to clone the repository and install PyMC using `python setup.py install` or `python setup.py develop`.
4244

4345
**Note:** Running `pip install pymc` will install PyMC 2.3, not PyMC 3, from PyPI.

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,14 @@
2727
'Operating System :: OS Independent']
2828

2929
install_reqs = ['numpy>=1.7.1', 'scipy>=0.12.0', 'matplotlib>=1.2.1',
30-
'Theano>=0.7.0']
30+
'Theano<=0.7.1dev']
3131

3232
test_reqs = ['nose']
3333
if sys.version_info[0] == 2: # py3 has mock in stdlib
3434
test_reqs.append('mock')
3535

36+
dep_links = ['https://github.com/Theano/Theano/tarball/master#egg=Theano-0.7.1dev']
37+
3638
if __name__ == "__main__":
3739
setup(name=DISTNAME,
3840
version=VERSION,
@@ -49,5 +51,6 @@
4951
package_data = {'pymc3.examples': ['data/*.*']},
5052
classifiers=classifiers,
5153
install_requires=install_reqs,
54+
dependency_links=dep_links,
5255
tests_require=test_reqs,
5356
test_suite='nose.collector')

0 commit comments

Comments
 (0)