Skip to content

Also use NumPy 1.13 on AppVeyor - #1502

Merged
peterjc merged 2 commits into
biopython:masterfrom
peterjc:numpy13
Jan 10, 2018
Merged

peterjc merged 2 commits into
biopython:masterfrom
peterjc:numpy13

Conversation

@peterjc

@peterjc peterjc commented Jan 10, 2018

Copy link
Copy Markdown
Member

Right now NumPy 1.14 changes break some doctests.

This pull request partly addresses issue #1496, following on from #1500 which only did this for TravisCI

Right now NumPy 1.14 changes break some doctests.
@peterjc

peterjc commented Jan 10, 2018

Copy link
Copy Markdown
Member Author

Hmm, something funny going on with numpy-1.13.0 and scipy-0.19.1

conda install setuptools numpy==1.13 mysql-connector-python psycopg2 matplotlib networkx reportlab scipy coverage

yet:

======================================================================
ERROR: test_dn_ds (test_codonalign.Test_dn_ds)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\projects\biopython\Tests\test_codonalign.py", line 189, in test_dn_ds
    dN, dS = cal_dn_ds(codon_seq1, codon_seq2, method='YN00')
  File "C:\projects\biopython\build\lib.win32-2.7\Bio\codonalign\codonseq.py", line 359, in cal_dn_ds
    return dnds_func[method](seq1, seq2, k, codon_table)
  File "C:\projects\biopython\build\lib.win32-2.7\Bio\codonalign\codonseq.py", line 748, in _yn00
    P = expm(Q * t)
  File "C:\Py\lib\site-packages\scipy\linalg\matfuncs.py", line 260, in expm
    import scipy.sparse.linalg
  File "C:\Py\lib\site-packages\scipy\sparse\linalg\__init__.py", line 113, in <module>
    from .isolve import *
  File "C:\Py\lib\site-packages\scipy\sparse\linalg\isolve\__init__.py", line 6, in <module>
    from .iterative import *
  File "C:\Py\lib\site-packages\scipy\sparse\linalg\isolve\iterative.py", line 7, in <module>
    from . import _iterative
ImportError: DLL load failed: The specified module could not be found.
----------------------------------------------------------------------

@codecov

codecov Bot commented Jan 10, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #1502 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1502      +/-   ##
==========================================
- Coverage    84.8%   84.79%   -0.01%     
==========================================
  Files         323      323              
  Lines       49393    49393              
==========================================
- Hits        41888    41884       -4     
- Misses       7505     7509       +4
Impacted Files Coverage Δ
Bio/GA/Evolver.py 54.54% <0%> (-18.19%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 46d4c6f...2451d9a. Read the comment docs.

Hopefully this makes SciPy happy...
@peterjc
peterjc merged commit 3628959 into biopython:master Jan 10, 2018
@peterjc
peterjc deleted the numpy13 branch January 10, 2018 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant