PlantandFoodResearch / TEFingerprint

A Python3 library for transposon fingerprinting
MIT License
0 stars 2 forks source link

Fix Anaconda in Travis CI #117

Closed timothymillar closed 5 years ago

timothymillar commented 6 years ago

Build failing because of missing numpy packages. Probably an issue due to recent change of default repositories in anaconda and using old version of miniconda.

0.19s$ wget https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O miniconda.sh
--2018-09-21 03:37:58--  https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh
Resolving repo.continuum.io (repo.continuum.io)... 104.16.18.10, 104.16.19.10, 2400:cb00:2048:1::6810:130a, ...
Connecting to repo.continuum.io (repo.continuum.io)|104.16.18.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27208383 (26M) [application/x-sh]
Saving to: ‘miniconda.sh’
100%[======================================>] 27,208,383  --.-K/s   in 0.1s    
2018-09-21 03:37:58 (179 MB/s) - ‘miniconda.sh’ saved [27208383/27208383]
install.2
4.64s$ bash miniconda.sh -b -p $HOME/miniconda
PREFIX=/home/travis/miniconda
installing: _cache-0.0-py27_x0 ...
installing: python-2.7.11-0 ...
installing: conda-env-2.4.5-py27_0 ...
installing: openssl-1.0.2g-0 ...
installing: pycosat-0.6.1-py27_0 ...
installing: pyyaml-3.11-py27_1 ...
installing: readline-6.2-2 ...
installing: requests-2.9.1-py27_0 ...
installing: sqlite-3.9.2-0 ...
installing: tk-8.5.18-0 ...
installing: yaml-0.1.6-0 ...
installing: zlib-1.2.8-0 ...
installing: conda-4.0.5-py27_0 ...
installing: pycrypto-2.6.1-py27_0 ...
installing: pip-8.1.1-py27_1 ...
installing: wheel-0.29.0-py27_0 ...
installing: setuptools-20.3-py27_0 ...
Python 2.7.11 :: Continuum Analytics, Inc.
creating default environment...
installation finished.
install.3
0.00s$ export PATH="$HOME/miniconda/bin:$PATH"
install.4
0.36s$ conda config --set always_yes yes --set changeps1 no
2.41s$ conda env create -f environment.yml -n test-environment
Fetching package metadata: ....
Solving package specifications: .
Error:  Dependencies missing in current linux-64 channels: 
  - numpy >=1.11.1 -> blas * mkl
  - numpy >=1.11.1 -> blas * openblas
timothymillar commented 5 years ago

fixed in dev