Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conda installs 0.6.3 instead of 0.7.x #24

Closed
Keanri828 opened this issue Jan 16, 2020 · 10 comments
Closed

Conda installs 0.6.3 instead of 0.7.x #24

Keanri828 opened this issue Jan 16, 2020 · 10 comments

Comments

@Keanri828
Copy link

Hello there. :-)
Issue:
This issue "moved" from librosa (librosa/librosa#1060) to conda (conda/conda#9607) and now it's here. By using the command conda install -c conda-forge librosa on Windows conda installs version 0.6.3. This happened on two different Windows-computers so far. The installation process on Mac worked correctly. To reproduce my thesis' environment I installed pandas first and then librosa.

In another environment I tried to install librosa 0.7.2 via conda install -c conda-forge librosa, but the installation process failed with the following output:

(librosaTest_new2) C:\Users\Fiona\PycharmProjects\librosaTest>conda install -c conda-forge librosa=0.7.2
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:



Package vs2015_runtime conflicts for:
python=3.7 -> vs2015_runtime[version='>=14.16.27012,<15.0a0']
Package audioread conflicts for:
librosa=0.7.2 -> audioread[version='>=2.0.0']
Package openssl conflicts for:
python=3.7 -> openssl[version='>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a']
Package joblib conflicts for:
librosa=0.7.2 -> joblib[version='>=0.12.0']
Package decorator conflicts for:
librosa=0.7.2 -> decorator[version='>=3.0.0']
Package scipy conflicts for:
librosa=0.7.2 -> scipy[version='>=1.0.0']
Package numpy conflicts for:
librosa=0.7.2 -> numpy[version='>=1.15.0']
Package resampy conflicts for:
librosa=0.7.2 -> resampy[version='>=0.2.0']
Package sqlite conflicts for:
python=3.7 -> sqlite[version='>=3.25.3,<4.0a0|>=3.26.0,<4.0a0|>=3.27.2,<4.0a0|>=3.28.0,<4.0a0|>=3.29.0,<4.0a0|>=3.30.1,<4.0a0']
Package setuptools conflicts for:
librosa=0.7.2 -> setuptools
Package scikit-learn conflicts for:
librosa=0.7.2 -> scikit-learn[version='>=0.14.0,!=0.19.0']
Package numba conflicts for:
librosa=0.7.2 -> numba[version='>=0.38.0']
Package pip conflicts for:
python=3.7 -> pip
Package matplotlib conflicts for:
librosa=0.7.2 -> matplotlib[version='>=1.5.0']
Package six conflicts for:
librosa=0.7.2 -> six[version='>=1.3']
Package pysoundfile conflicts for:
librosa=0.7.2 -> pysoundfile[version='>=0.9.0']
Package vc conflicts for:
python=3.7 -> vc[version='14.*|>=14,<15.0a0|>=14.1,<15.0a0']

Environment (conda list):
This is the environment throwing that error from above:
(librosaTest_new2) C:\Users\Fiona\PycharmProjects\librosaTest>conda list
# packages in environment at C:\Users\Fiona\Anaconda3\envs\librosaTest_new2:
#
# Name                    Version                   Build  Channel
ca-certificates           2019.11.28           hecc5488_0    conda-forge
certifi                   2019.11.28               py37_0    conda-forge
intel-openmp              2019.4                      245
libblas                   3.8.0                    14_mkl    conda-forge
libcblas                  3.8.0                    14_mkl    conda-forge
liblapack                 3.8.0                    14_mkl    conda-forge
mkl                       2019.4                      245
numpy                     1.17.3           py37hc71023c_0    conda-forge
openssl                   1.1.1d               hfa6e2cd_0    conda-forge
pandas                    0.25.3           py37he350917_0    conda-forge
pip                       19.3.1                   py37_0    conda-forge
python                    3.7.6                h5b45d93_2    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
pytz                      2019.3                     py_0    conda-forge
setuptools                45.0.0                   py37_1    conda-forge
six                       1.14.0                   py37_0    conda-forge
sqlite                    3.30.1               hfa6e2cd_0    conda-forge
vc                        14.1                 h0510ff6_4
vs2015_runtime            14.16.27012          hf0eaf9b_1
wheel                     0.33.6                   py37_0    conda-forge
wincertstore              0.2                   py37_1003    conda-forge

This is my environment with "successful" librosa installation (but with wrong version).

(librosaTest_new) C:\Users\Fiona\PycharmProjects\librosaTest>conda list
# packages in environment at C:\Users\Fiona\Anaconda3\envs\librosaTest_new:
#
# Name                    Version                   Build  Channel
audioread                 2.1.8                    py37_1    conda-forge
blas                      1.0                         mkl
ca-certificates           2019.11.28           hecc5488_0    conda-forge
certifi                   2019.11.28               py37_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
decorator                 4.4.1                      py_0    conda-forge
freetype                  2.10.0               h563cfd7_1    conda-forge
icc_rt                    2019.0.0             h0cc432a_1
icu                       64.2                 he025d50_1    conda-forge
intel-openmp              2019.4                      245
joblib                    0.14.1                     py_0    conda-forge
jpeg                      9c                hfa6e2cd_1001    conda-forge
kiwisolver                1.1.0            py37he980bc4_0    conda-forge
libblas                   3.8.0                    14_mkl    conda-forge
libcblas                  3.8.0                    14_mkl    conda-forge
libclang                  9.0.1           default_hf44288c_0    conda-forge
liblapack                 3.8.0                    14_mkl    conda-forge
libpng                    1.6.37               h7602738_0    conda-forge
librosa                   0.6.3                      py_0    conda-forge
llvmlite                  0.31.0                   py37_0    conda-forge
matplotlib                3.1.2                    py37_1    conda-forge
matplotlib-base           3.1.2            py37h2981e6d_1    conda-forge
mkl                       2019.4                      245
mkl-service               2.3.0            py37hfa6e2cd_0    conda-forge
numba                     0.47.0           py37h67a5e14_0    conda-forge
numpy                     1.17.3           py37hc71023c_0    conda-forge
openssl                   1.1.1d               hfa6e2cd_0    conda-forge
pandas                    0.25.3           py37he350917_0    conda-forge
pip                       19.3.1                   py37_0    conda-forge
pyparsing                 2.4.6                      py_0    conda-forge
pyqt                      5.12.3           py37h6538335_1    conda-forge
pyqt5-sip                 4.19.18                  pypi_0    pypi
pyqtwebengine             5.12.1                   pypi_0    pypi
python                    3.7.6                h5b45d93_2    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
pytz                      2019.3                     py_0    conda-forge
qt                        5.12.5               h7ef1ec2_0    conda-forge
resampy                   0.2.2                      py_0    conda-forge
scikit-learn              0.22.1           py37h7208079_1    conda-forge
scipy                     1.3.1            py37h29ff71c_0    conda-forge
setuptools                45.0.0                   py37_1    conda-forge
six                       1.14.0                   py37_0    conda-forge
sqlite                    3.30.1               hfa6e2cd_0    conda-forge
tornado                   6.0.3            py37hfa6e2cd_0    conda-forge
vc                        14.1                 h0510ff6_4
vs2015_runtime            14.16.27012          hf0eaf9b_1
wheel                     0.33.6                   py37_0    conda-forge
wincertstore              0.2                   py37_1003    conda-forge
zlib                      1.2.11            h2fa13f4_1006    conda-forge

Details about conda and system ( conda info ):
I'll only post the first environment's information here, because the information only differs in their names.
     active environment : librosaTest_new
    active env location : C:\Users\Fiona\Anaconda3\envs\librosaTest_new
            shell level : 1
       user config file : C:\Users\Fiona\.condarc
 populated config files : C:\Users\Fiona\.condarc
          conda version : 4.8.1
    conda-build version : 3.18.9
         python version : 3.7.4.final.0
       virtual packages : __cuda=10.2
       base environment : C:\Users\Fiona\Anaconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\Fiona\Anaconda3\pkgs
                          C:\Users\Fiona\.conda\pkgs
                          C:\Users\Fiona\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\Fiona\Anaconda3\envs
                          C:\Users\Fiona\.conda\envs
                          C:\Users\Fiona\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.8.1 requests/2.22.0 CPython/3.7.4 Windows/10 Windows/10.0.18362
          administrator : False
             netrc file : None
           offline mode : False
@bmcfee
Copy link
Contributor

bmcfee commented Jan 16, 2020

Tagging off the comment thread conda/conda#9607 , @msarahan suggests that it's a problem with our package: conda/conda#9607 (comment) (tldr, unable to create an environment where the package can be installed).

This seems very unlikely to me, since it works on every other platform and our package is noarch. Instead, I think it's more likely that there's an inconsistency in the dependency chain on windows platforms, possibly only on py3.7. (FWIW, we have test CI on appveyor using python 3.6 on conda and it works fine.)

@Keanri828 can you try removing the visual studio package (vs2015_runtime) and then installing librosa? From your log above, that seems like it could be the source of the problem, and it's currently tagged as "broken" on conda-forge: https://anaconda.org/conda-forge/vs2015_runtime/files

@Keanri828
Copy link
Author

It seems like this would literally wipe out my environment:

(librosaTest_new2) C:\Users\Fiona\PycharmProjects\librosaTest>conda remove vs2015_runtime
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: C:\Users\Fiona\Anaconda3\envs\librosaTest_new2

  removed specs:
    - vs2015_runtime


The following packages will be REMOVED:

  certifi-2019.11.28-py37_0
  intel-openmp-2019.4-245
  libblas-3.8.0-14_mkl
  libcblas-3.8.0-14_mkl
  liblapack-3.8.0-14_mkl
  mkl-2019.4-245
  numpy-1.17.3-py37hc71023c_0
  openssl-1.1.1d-hfa6e2cd_0
  pandas-0.25.3-py37he350917_0
  pip-19.3.1-py37_0
  python-3.7.6-h5b45d93_2
  python-dateutil-2.8.1-py_0
  pytz-2019.3-py_0
  setuptools-45.0.0-py37_1
  six-1.14.0-py37_0
  sqlite-3.30.1-hfa6e2cd_0
  vc-14.1-h0510ff6_4
  vs2015_runtime-14.16.27012-hf0eaf9b_1
  wheel-0.33.6-py37_0
  wincertstore-0.2-py37_1003


Proceed ([y]/n)?

What's the use of this package? Seems like it's essential for Anaconda/Python on Windows.

@bmcfee
Copy link
Contributor

bmcfee commented Jan 16, 2020

Ah yikes! I guess it must be necessary for installing / compiling packages from source when there are C/C++ extensions involved (eg numpy or anything using cython).

This is very much outside my expertise, and I don't see how/why it should come up specifically for librosa. Our dependency stack has a few constraints, but it's nothing totally wild as far as I know.

At this point, some assistance from the conda-forge community would be very much appreciated!

@msarahan
Copy link
Member

@bmcfee what version of conda is your CI running? The fact that you can't create an environment at all with only librosa specified indicates that librosa has a conflict among its indirect or direct dependencies. I'm very confused as to why this works on your CI but not in general. Can you link me to an appveyor log that succeeded?

@bmcfee
Copy link
Contributor

bmcfee commented Jan 16, 2020

@bmcfee what version of conda is your CI running? The fact that you can't create an environment at all with only librosa specified indicates that librosa has a conflict among its indirect or direct dependencies.

To be clear, I was able to successfully create an environment with just librosa on my dev machine (ubuntu, latest conda) following your example:

$ conda create -n rosa --dry-run librosa==0.7.2 -c conda-forge
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /home/bmcfee/miniconda3/envs/py37/envs/py37/envs/py37/envs/py37/envs/py37/envs/py37/envs/rosa

  added / updated specs:
    - librosa==0.7.2


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _libgcc_mutex-0.1          |      conda_forge           3 KB  conda-forge
    _openmp_mutex-4.5          |            0_gnu         435 KB  conda-forge
    audioread-2.1.8            |           py38_1          32 KB  conda-forge
    bzip2-1.0.8                |       h516909a_2         396 KB  conda-forge
    ca-certificates-2019.11.28 |       hecc5488_0         145 KB  conda-forge
    certifi-2019.11.28         |           py38_0         148 KB  conda-forge
    cffi-1.13.2                |   py38h8022711_0         222 KB  conda-forge
    cycler-0.10.0              |             py_2           9 KB  conda-forge
    dbus-1.13.6                |       he372182_0         602 KB  conda-forge
    decorator-4.4.1            |             py_0          11 KB  conda-forge
    expat-2.2.5                |    he1b5a44_1004         191 KB  conda-forge
    fontconfig-2.13.1          |    h86ecdb6_1001         340 KB  conda-forge
    gettext-0.19.8.1           |    hc5be6a0_1002         3.6 MB  conda-forge
    glib-2.58.3                |py38h6f030ca_1002         3.3 MB  conda-forge
    gst-plugins-base-1.14.5    |       h0935bb2_0         6.8 MB  conda-forge
    gstreamer-1.14.5           |       h36ae1b5_0         4.5 MB  conda-forge
    icu-64.2                   |       he1b5a44_1        12.6 MB  conda-forge
    joblib-0.14.1              |             py_0         198 KB  conda-forge
    jpeg-9c                    |    h14c3975_1001         251 KB  conda-forge
    kiwisolver-1.1.0           |   py38hc9558a2_0          94 KB  conda-forge
    ld_impl_linux-64-2.33.1    |       h53a641e_7         653 KB  conda-forge
    libblas-3.8.0              |      14_openblas          10 KB  conda-forge
    libcblas-3.8.0             |      14_openblas          10 KB  conda-forge
    libclang-9.0.1             |default_hde54327_0        22.3 MB  conda-forge
    libflac-1.3.1              |    hf484d3e_1002         576 KB  conda-forge
    libgcc-ng-9.2.0            |       h24d8f2e_2         8.2 MB  conda-forge
    libgfortran-ng-7.3.0       |       hdf63c60_4         1.7 MB  conda-forge
    libgomp-9.2.0              |       h24d8f2e_2         816 KB  conda-forge
    liblapack-3.8.0            |      14_openblas          10 KB  conda-forge
    libllvm8-8.0.1             |       hc9558a2_0        23.2 MB  conda-forge
    libllvm9-9.0.1             |       hc9558a2_0        25.1 MB  conda-forge
    libogg-1.3.2               |    h14c3975_1001         204 KB  conda-forge
    libopenblas-0.3.7          |       h5ec1e0e_6         7.6 MB  conda-forge
    librosa-0.7.2              |             py_0         1.5 MB  conda-forge
    libsndfile-1.0.28          |    hf484d3e_1000         550 KB  conda-forge
    libstdcxx-ng-9.2.0         |       hdf63c60_2         4.5 MB  conda-forge
    libuuid-2.32.1             |    h14c3975_1000          26 KB  conda-forge
    libvorbis-1.3.5            |    h14c3975_1001         616 KB  conda-forge
    libxcb-1.13                |    h14c3975_1002         396 KB  conda-forge
    libxkbcommon-0.9.1         |       hebb1f50_0         472 KB  conda-forge
    libxml2-2.9.10             |       hee79883_0         1.3 MB  conda-forge
    llvmlite-0.31.0            |   py38h8b12597_0         338 KB  conda-forge
    matplotlib-3.1.2           |           py38_1           7 KB  conda-forge
    matplotlib-base-3.1.2      |   py38h250f245_1         6.7 MB  conda-forge
    nspr-4.24                  |       he1b5a44_0         1.6 MB  conda-forge
    nss-3.47                   |       he751ad9_0         1.9 MB  conda-forge
    numba-0.47.0               |   py38hb3f55d8_0         3.4 MB  conda-forge
    numpy-1.17.3               |   py38h95a1406_0         5.2 MB  conda-forge
    openssl-1.1.1d             |       h516909a_0         2.1 MB  conda-forge
    pcre-8.43                  |       he1b5a44_0         257 KB  conda-forge
    pip-19.3.1                 |           py38_0         1.9 MB  conda-forge
    pthread-stubs-0.4          |    h14c3975_1001           5 KB  conda-forge
    pycparser-2.19             |           py38_1         172 KB  conda-forge
    pyparsing-2.4.6            |             py_0          59 KB  conda-forge
    pyqt-5.12.3                |   py38hcca6a23_1         6.3 MB  conda-forge
    pysoundfile-0.10.2         |          py_1001          21 KB  conda-forge
    python-3.8.1               |       h357f687_1        58.1 MB  conda-forge
    python-dateutil-2.8.1      |             py_0         220 KB  conda-forge
    qt-5.12.5                  |       hd8c4c69_1        99.2 MB  conda-forge
    scikit-learn-0.22.1        |   py38hcdab131_1         7.2 MB  conda-forge
    scipy-1.4.1                |   py38h921218d_0        19.1 MB  conda-forge
    setuptools-45.0.0          |           py38_1         641 KB  conda-forge
    six-1.14.0                 |           py38_0          23 KB  conda-forge
    sqlite-3.30.1              |       hcee41ef_0         2.0 MB  conda-forge
    tk-8.6.10                  |       hed695b0_0         3.2 MB  conda-forge
    tornado-6.0.3              |   py38h516909a_0         645 KB  conda-forge
    wheel-0.33.6               |           py38_0          35 KB  conda-forge
    xorg-libxau-1.0.9          |       h14c3975_0          13 KB  conda-forge
    xorg-libxdmcp-1.1.3        |       h516909a_0          18 KB  conda-forge
    zlib-1.2.11                |    h516909a_1006         105 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       353.8 MB

The following NEW packages will be INSTALLED:

  _libgcc_mutex      conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge
  _openmp_mutex      conda-forge/linux-64::_openmp_mutex-4.5-0_gnu
  audioread          conda-forge/linux-64::audioread-2.1.8-py38_1
  bzip2              conda-forge/linux-64::bzip2-1.0.8-h516909a_2
  ca-certificates    conda-forge/linux-64::ca-certificates-2019.11.28-hecc5488_0
  certifi            conda-forge/linux-64::certifi-2019.11.28-py38_0
  cffi               conda-forge/linux-64::cffi-1.13.2-py38h8022711_0
  cycler             conda-forge/noarch::cycler-0.10.0-py_2
  dbus               conda-forge/linux-64::dbus-1.13.6-he372182_0
  decorator          conda-forge/noarch::decorator-4.4.1-py_0
  expat              conda-forge/linux-64::expat-2.2.5-he1b5a44_1004
  ffmpeg             conda-forge/linux-64::ffmpeg-4.2-h167e202_0
  fontconfig         conda-forge/linux-64::fontconfig-2.13.1-h86ecdb6_1001
  freetype           conda-forge/linux-64::freetype-2.10.0-he983fc9_1
  gettext            conda-forge/linux-64::gettext-0.19.8.1-hc5be6a0_1002
  glib               conda-forge/linux-64::glib-2.58.3-py38h6f030ca_1002
  gmp                conda-forge/linux-64::gmp-6.1.2-hf484d3e_1000
  gnutls             conda-forge/linux-64::gnutls-3.6.5-hd3a4fd2_1002
  gst-plugins-base   conda-forge/linux-64::gst-plugins-base-1.14.5-h0935bb2_0
  gstreamer          conda-forge/linux-64::gstreamer-1.14.5-h36ae1b5_0
  icu                conda-forge/linux-64::icu-64.2-he1b5a44_1
  joblib             conda-forge/noarch::joblib-0.14.1-py_0
  jpeg               conda-forge/linux-64::jpeg-9c-h14c3975_1001
  kiwisolver         conda-forge/linux-64::kiwisolver-1.1.0-py38hc9558a2_0
  lame               conda-forge/linux-64::lame-3.100-h14c3975_1001
  ld_impl_linux-64   conda-forge/linux-64::ld_impl_linux-64-2.33.1-h53a641e_7
  libblas            conda-forge/linux-64::libblas-3.8.0-14_openblas
  libcblas           conda-forge/linux-64::libcblas-3.8.0-14_openblas
  libclang           conda-forge/linux-64::libclang-9.0.1-default_hde54327_0
  libffi             conda-forge/linux-64::libffi-3.2.1-he1b5a44_1006
  libflac            conda-forge/linux-64::libflac-1.3.1-hf484d3e_1002
  libgcc-ng          conda-forge/linux-64::libgcc-ng-9.2.0-h24d8f2e_2
  libgfortran-ng     conda-forge/linux-64::libgfortran-ng-7.3.0-hdf63c60_4
  libgomp            conda-forge/linux-64::libgomp-9.2.0-h24d8f2e_2
  libiconv           conda-forge/linux-64::libiconv-1.15-h516909a_1005
  liblapack          conda-forge/linux-64::liblapack-3.8.0-14_openblas
  libllvm8           conda-forge/linux-64::libllvm8-8.0.1-hc9558a2_0
  libllvm9           conda-forge/linux-64::libllvm9-9.0.1-hc9558a2_0
  libogg             conda-forge/linux-64::libogg-1.3.2-h14c3975_1001
  libopenblas        conda-forge/linux-64::libopenblas-0.3.7-h5ec1e0e_6
  libpng             conda-forge/linux-64::libpng-1.6.37-hed695b0_0
  librosa            conda-forge/noarch::librosa-0.7.2-py_0
  libsndfile         conda-forge/linux-64::libsndfile-1.0.28-hf484d3e_1000
  libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-9.2.0-hdf63c60_2
  libuuid            conda-forge/linux-64::libuuid-2.32.1-h14c3975_1000
  libvorbis          conda-forge/linux-64::libvorbis-1.3.5-h14c3975_1001
  libxcb             conda-forge/linux-64::libxcb-1.13-h14c3975_1002
  libxkbcommon       conda-forge/linux-64::libxkbcommon-0.9.1-hebb1f50_0
  libxml2            conda-forge/linux-64::libxml2-2.9.10-hee79883_0
  llvmlite           conda-forge/linux-64::llvmlite-0.31.0-py38h8b12597_0
  matplotlib         conda-forge/linux-64::matplotlib-3.1.2-py38_1
  matplotlib-base    conda-forge/linux-64::matplotlib-base-3.1.2-py38h250f245_1
  ncurses            conda-forge/linux-64::ncurses-6.1-hf484d3e_1002
  nettle             conda-forge/linux-64::nettle-3.4.1-h1bed415_1002
  nspr               conda-forge/linux-64::nspr-4.24-he1b5a44_0
  nss                conda-forge/linux-64::nss-3.47-he751ad9_0
  numba              conda-forge/linux-64::numba-0.47.0-py38hb3f55d8_0
  numpy              conda-forge/linux-64::numpy-1.17.3-py38h95a1406_0
  openh264           conda-forge/linux-64::openh264-1.8.0-hdbcaa40_1000
  openssl            conda-forge/linux-64::openssl-1.1.1d-h516909a_0
  pcre               conda-forge/linux-64::pcre-8.43-he1b5a44_0
  pip                conda-forge/linux-64::pip-19.3.1-py38_0
  pthread-stubs      conda-forge/linux-64::pthread-stubs-0.4-h14c3975_1001
  pycparser          conda-forge/linux-64::pycparser-2.19-py38_1
  pyparsing          conda-forge/noarch::pyparsing-2.4.6-py_0
  pyqt               conda-forge/linux-64::pyqt-5.12.3-py38hcca6a23_1
  pysoundfile        conda-forge/noarch::pysoundfile-0.10.2-py_1001
  python             conda-forge/linux-64::python-3.8.1-h357f687_1
  python-dateutil    conda-forge/noarch::python-dateutil-2.8.1-py_0
  qt                 conda-forge/linux-64::qt-5.12.5-hd8c4c69_1
  readline           conda-forge/linux-64::readline-8.0-hf8c457e_0
  resampy            conda-forge/noarch::resampy-0.2.2-py_0
  scikit-learn       conda-forge/linux-64::scikit-learn-0.22.1-py38hcdab131_1
  scipy              conda-forge/linux-64::scipy-1.4.1-py38h921218d_0
  setuptools         conda-forge/linux-64::setuptools-45.0.0-py38_1
  six                conda-forge/linux-64::six-1.14.0-py38_0
  sqlite             conda-forge/linux-64::sqlite-3.30.1-hcee41ef_0
  tk                 conda-forge/linux-64::tk-8.6.10-hed695b0_0
  tornado            conda-forge/linux-64::tornado-6.0.3-py38h516909a_0
  wheel              conda-forge/linux-64::wheel-0.33.6-py38_0
  x264               conda-forge/linux-64::x264-1!152.20180806-h14c3975_0
  xorg-libxau        conda-forge/linux-64::xorg-libxau-1.0.9-h14c3975_0
  xorg-libxdmcp      conda-forge/linux-64::xorg-libxdmcp-1.1.3-h516909a_0
  xz                 conda-forge/linux-64::xz-5.2.4-h14c3975_1001
  zlib               conda-forge/linux-64::zlib-1.2.11-h516909a_1006



DryRunExit: Dry run. Exiting.

So I'm pretty confident that the problem is confined to the dependency chain on windows, and not the package itself (which is noarch anyway).

On our CI, we conda-install most of the dependencies, but obviously not the packaged librosa. Some of the dependencies are installed by pip on our appveyor instance, but here's a recent build log: https://ci.appveyor.com/project/bmcfee/librosa/builds/30077025

@msarahan
Copy link
Member

Sorry I wasn't clear. Yes, the problem is confined to windows.

The problem is in the pysoundfile package. It depends on libsndfile, but that package does not exist. All we have on windows is a different beast, m2w64-libsndfile. This is a different name because it is from a completely different compiler stack (mingw as opposed to visual studio). This kind of messes up the ability to make pysoundfile noarch, because selectors are not allowed (they take effect at build time, not run time). There could be a scheme to unify these using metapackages, though.

@bmcfee
Copy link
Contributor

bmcfee commented Jan 16, 2020

Aha, that makes total sense -- thanks for the sleuthing! 🕵️‍♂️

It does sound like a metapackage for pysoundfile is the way to go. I gather that's a long-term solution though, any suggestions for how to work around this for the time being?

@msarahan
Copy link
Member

Simplest is to just remove noarch from pysoundfile, add the selectors, bump the build number. I would then add an issue on the pysoundfile repo and also put a comment in the recipe as to why the selector is needed, and note the possibility of a metapackage to get noarch back.

There might also be something we can do to help the bot understand that the recipe can't be noarch, but the selectors should be enough.

@bmcfee
Copy link
Contributor

bmcfee commented Jan 16, 2020

Sounds like a plan. I'm not sure how to go about that (read: don't quite have the bandwidth to do it), but I can raise the issue over in the pysoundfile feedstock.

@Azerus13
Copy link

Hi,

I had the same issue on W10 : conda doesn't install the last version of librosa. I solved my problem simply by using pypi to install librosa 0.7.2 inside my conda env, and everything seems to work well.

@bmcfee bmcfee closed this as completed Jul 22, 2020
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

No branches or pull requests

4 participants