ContinuumIO / anaconda-issues

Anaconda issue tracking
646 stars 220 forks source link

Win32/64 Boost 1.65.1 for python35 links to python36.dll #9029

Open anton-matosov opened 6 years ago

anton-matosov commented 6 years ago

Actual Behavior

Loading any cpython extension linked to boost-python fails with python 3.5 This happens because py-boost package for python 3.5 is linked to python36.dll

Package under concern: https://repo.continuum.io/pkgs/main/win-32/py-boost-1.65.1-py35h6538335_4.tar.bz2

Expected Behavior

py-boost-1.65.1-py35 should link to python35, not python36

Steps to Reproduce

  1. Create broken env conda create -n boost65 boost=1.65.1 python=3.5

  2. or Download https://repo.continuum.io/pkgs/main/win-32/py-boost-1.65.1-py35h6538335_4.tar.bz2 and Extract files

  3. Look at BOOST_PYTHON3-VC140-MT-1_65_1.DLL in Dependency Walker image

Anaconda or Miniconda version:
Operating System:

Window 10 Pro

conda info
     active environment : neat35
    active env location : C:\Users\anton\miniconda3\envs\neat35
            shell level : 2
       user config file : C:\Users\anton\.condarc
 populated config files :
          conda version : 4.5.0
    conda-build version : 3.7.2
         python version : 3.6.4.final.0
       base environment : C:\Users\anton\miniconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/win-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/win-64
                          https://repo.anaconda.com/pkgs/pro/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\anton\miniconda3\pkgs
                          C:\Users\anton\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\anton\miniconda3\envs
                          C:\Users\anton\AppData\Local\conda\conda\envs
                          C:\Users\anton\.conda\envs
               platform : win-64
             user-agent : conda/4.5.0 requests/2.18.4 CPython/3.6.4 Windows/10 Windows/10.0.16299
          administrator : False
             netrc file : None
           offline mode : False
conda list --show-channel-urls
>conda list --show-channel-urls
# packages in environment at C:\Users\anton\miniconda3\envs\neat35:
#
# Name                    Version                   Build  Channel
boost                     1.65.1                   py35_4    defaults
ca-certificates           2017.08.26           h94faf87_0    defaults
certifi                   2018.1.18                py35_0    defaults
cycler                    0.10.0           py35hcc71164_0    defaults
freetype                  2.8                  h51f8f2c_1    defaults
icc_rt                    2017.0.4             h97af966_0    defaults
icu                       58.2                 ha66f8fd_1    defaults
intel-openmp              2018.0.0                      8    defaults
jpeg                      9b                   hb83a4c4_2    defaults
kiwisolver                1.0.1            py35hc605aed_0    defaults
libboost                  1.65.1               he51fdeb_4    defaults
libpng                    1.6.34               h79bbb47_0    defaults
libtiff                   4.0.9                h0f13578_0    defaults
matplotlib                2.2.2            py35h153e9ff_0    defaults
mkl                       2018.0.2                      1    defaults
mkl_fft                   1.0.1            py35h452e1ab_0    defaults
mkl_random                1.0.1            py35h9258bd6_0    defaults
multineat                 0.5             py35he980bc4_81    anton.matosov
numpy                     1.14.2           py35h5c71026_1    defaults
opencv                    3.3.1            py35h20b85fd_1    defaults
openssl                   1.0.2o               h8ea7d77_0    defaults
pip                       9.0.1                    py35_5    defaults
psutil                    5.4.3            py35hfa6e2cd_0    defaults
py-boost                  1.65.1           py35h6538335_4    defaults
pyparsing                 2.2.0            py35hcabcaab_1    defaults
pyqt                      5.6.0            py35hd46907b_5    defaults
python                    3.5.5                h0c2934d_1    defaults
python-dateutil           2.7.2                    py35_0    defaults
pytz                      2018.3                   py35_0    defaults
qt                        5.6.2           vc14h6f8c307_12    defaults
setuptools                38.5.1                   py35_0    defaults
sip                       4.18.1           py35h01cbaa7_2    defaults
six                       1.11.0           py35hc1da2df_1    defaults
sqlite                    3.22.0               h9d3ae62_0    defaults
tornado                   5.0                      py35_0    defaults
vc                        14                   h0510ff6_3    defaults
vs2015_runtime            14.0.25123                    3    defaults
wheel                     0.30.0           py35h38a90bc_1    defaults
wincertstore              0.2              py35hfebbdb8_0    defaults
zlib                      1.2.11               h8395fce_2    defaults
jjhelmus commented 6 years ago

@anton-matosov Thanks for reporting this. The link is definitely incorrect, it should be to PYTHON35.DLL. I'll look into what is causing this in our build and work on a fix.

anton-matosov commented 6 years ago

You are welcome.