Skip to content

Commit dfbde8c

Browse files
committed
Changed python build versions.
There is an issue with the numpy version (1.12.1) used by the python 3.4 container in the travis-ci environment. Running unit tests there causes an error like the following: File "/home/thomas/src/spectral/spectral/algorithms/detectors.py", line 561, in __call__ return np.apply_along_axis(self, -1, X) File "/home/thomas/.virtualenvs/py34test/lib/python3.4/site-packages/numpy/lib/shape_base.py", line 91, in apply_along_axis res = func1d(arr[tuple(i.tolist())], *args, **kwargs) File "/home/thomas/src/spectral/spectral/algorithms/detectors.py", line 561, in __call__ return np.apply_along_axis(self, -1, X) File "/home/thomas/.virtualenvs/py34test/lib/python3.4/site-packages/numpy/lib/shape_base.py", line 91, in apply_along_axis res = func1d(arr[tuple(i.tolist())], *args, **kwargs) File "/home/thomas/src/spectral/spectral/spectral.py", line 331, in __getitem__ if isinstance(arg, numbers.Number): File "/home/thomas/.virtualenvs/py34test/lib/python3.4/abc.py", line 182, in __instancecheck__ if subclass in cls._abc_cache: File "/home/thomas/.virtualenvs/py34test/lib/python3.4/_weakrefset.py", line 72, in __contains__ wr = ref(item) RuntimeError: maximum recursion depth exceeded while calling a Python object This error does not occur with new versions of numpy or other versions of python so I am removing python 3.4 from the build list and added 3.5 and 3.6.
1 parent a45e60c commit dfbde8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ python:
44
- "2.6"
55
- "2.7"
66
- "3.3"
7-
- "3.4"
7+
- "3.5"
8+
- "3.6"
89
install:
910
- pip install numpy
1011
- python setup.py install

0 commit comments

Comments
 (0)