Giter VIP home page Giter VIP logo

Comments (9)

wolfv avatar wolfv commented on May 18, 2024

It's your fault! ;)

This is the offending line:
https://github.com/conda-forge/pandas-feedstock/blob/35b6319c4180f1e89533fe543e540ed16c4c569c/recipe/meta.yaml#L29

I'm currently parsing this as >=2.5,<2.6 but apparently conda does do >=2.5

Mixing stars and relational operators should be forbidden. I'll try to push conda-forge's linter to disallow this.

from mamba.

wolfv avatar wolfv commented on May 18, 2024

We can change the behavior for the next release of mamba so that this behavior is backward-compatible!

Thanks for trying it out, by the way!

from mamba.

wolfv avatar wolfv commented on May 18, 2024

I fixed the first issue, but the parser needs to become a little smarter (supporting != and | statements as well)

from mamba.

wolfv avatar wolfv commented on May 18, 2024

Works with 0.0.3 (as far as I can tell!)

Let us know if you see other problems! :)

from mamba.

jorisvandenbossche avatar jorisvandenbossche commented on May 18, 2024

Tested again with 0.3, and indeed now working nicely (for this specific case)

It does however give a slightly different result compared to conda (but not sure if this is important / a problem, just noted it). The main difference seems to be that mamba is getting qt from the defaults channel, while conda gets it from conda-forge (in addition also pcre, gstreamer, gst-plugins-base, expat and dbus come from defaults instead of conda-forge).

$ mamba create -n mamba-geo-test python geopandas cartopy ipython
$  mamba create -n mamba-geo-test python geopandas cartopy ipython

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗ 
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝
                          
        Supported by @QuantStack
    
        Github:  https://github.com/QuantStack/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████

Getting  https://conda.anaconda.org/conda-forge/linux-64
Getting  https://conda.anaconda.org/conda-forge/noarch
Getting  https://repo.anaconda.com/pkgs/main/linux-64
Getting  https://repo.anaconda.com/pkgs/main/noarch
Getting  https://repo.anaconda.com/pkgs/free/linux-64
Getting  https://repo.anaconda.com/pkgs/free/noarch
Getting  https://repo.anaconda.com/pkgs/r/linux-64
Getting  https://repo.anaconda.com/pkgs/r/noarch


Looking for: ['python', 'geopandas', 'cartopy', 'ipython']


Parsing /home/joris/miniconda3/pkgs/cache/497deca9.json
60854 packages in https://conda.anaconda.org/conda-forge/linux-64
Parsing /home/joris/miniconda3/pkgs/cache/09cdf8bf.json
8976 packages in https://conda.anaconda.org/conda-forge/noarch
Parsing /home/joris/miniconda3/pkgs/cache/47929eba.json
12722 packages in https://repo.anaconda.com/pkgs/main/linux-64
Parsing /home/joris/miniconda3/pkgs/cache/3e39a7aa.json
468 packages in https://repo.anaconda.com/pkgs/main/noarch
Parsing /home/joris/miniconda3/pkgs/cache/98cb6fa3.json
13329 packages in https://repo.anaconda.com/pkgs/free/linux-64
Parsing /home/joris/miniconda3/pkgs/cache/d77296e0.json
29 packages in https://repo.anaconda.com/pkgs/free/noarch
Parsing /home/joris/miniconda3/pkgs/cache/2ce54b42.json
5072 packages in https://repo.anaconda.com/pkgs/r/linux-64
Parsing /home/joris/miniconda3/pkgs/cache/4ea078d6.json
1 packages in https://repo.anaconda.com/pkgs/r/noarch
Allowing downgrade: 1
Creating the solver...
Job: python
Job: geopandas
Job: cartopy
Job: ipython

Encountered 0 problems.

140 installed packages:
  - asn1crypto-0.24.0.1003-py37_1003.<NULL>
  - attrs-19.1.0.0-py_0.<NULL>
  - backcall-0.1.0.0-py_0.<NULL>
  - boost-cpp-1.68.0.1000-h11c811c_1000.<NULL>
  - bzip2-1.0.6.1002-h14c3975_1002.<NULL>
  - ca-certificates-2019.3.9.0-hecc5488_0.<NULL>
  - cairo-1.14.12.1005-h80bd089_1005.<NULL>
  - cartopy-0.17.0.1004-py37h0aa2c8f_1004.<NULL>
  - certifi-2019.3.9.0-py37_0.<NULL>
  - cffi-1.12.2.1-py37hf0e25f4_1.<NULL>
  - chardet-3.0.4.1003-py37_1003.<NULL>
  - click-7.0.0.0-py_0.<NULL>
  - click-plugins-1.0.4.0-py_0.<NULL>
  - cligj-0.5.0.0-py_0.<NULL>
  - cryptography-2.6.1.0-py37h72c5cf5_0.<NULL>
  - curl-7.64.0.2-h646f8bb_2.<NULL>
  - cycler-0.10.0.1-py_1.<NULL>
  - dbus-1.13.6.0-h746ee38_0.<NULL>
  - decorator-4.4.0.0-py_0.<NULL>
  - descartes-1.1.0.2-py_2.<NULL>
  - expat-2.2.6.0-he6710b0_0.<NULL>
  - fiona-1.8.6.2-py37hf242f0b_2.<NULL>
  - fontconfig-2.13.1.1000-he4413a7_1000.<NULL>
  - freetype-2.10.0.0-he983fc9_0.<NULL>
  - freexl-1.0.5.1002-h14c3975_1002.<NULL>
  - gdal-2.4.1.0-py37hf242f0b_0.<NULL>
  - geopandas-0.4.1.1-py_1.<NULL>
  - geos-3.7.1.1000-hf484d3e_1000.<NULL>
  - geotiff-1.4.3.1000-h1105359_1000.<NULL>
  - gettext-0.19.8.1.1002-hc5be6a0_1002.<NULL>
  - giflib-5.1.7.1-h516909a_1.<NULL>
  - glib-2.56.2.1001-had28632_1001.<NULL>
  - gst-plugins-base-1.14.0.1-hbbd80ab_1.<NULL>
  - gstreamer-1.14.0.1-hb453b48_1.<NULL>
  - hdf4-4.2.13.1002-h9a582f1_1002.<NULL>
  - hdf5-1.10.4.1106-nompi_h3c11f04_1106.<NULL>
  - icu-58.2.0.1000-hf484d3e_1000.<NULL>
  - idna-2.8.0.1000-py37_1000.<NULL>
  - ipython-7.4.0.0-py37h24bf2e0_0.<NULL>
  - ipython_genutils-0.2.0.1-py_1.<NULL>
  - jedi-0.13.3.0-py37_0.<NULL>
  - jpeg-9c.0.0.1001-h14c3975_1001.<NULL>
  - json-c-0.13.1.1001-h14c3975_1001.<NULL>
  - kealib-1.4.10.1003-h1978553_1003.<NULL>
  - kiwisolver-1.0.1.1002-py37h6bb024c_1002.<NULL>
  - krb5-1.16.3.1001-h05b26f9_1001.<NULL>
  - libblas-3.8.0.4-4_openblas.<NULL>
  - libcblas-3.8.0.4-4_openblas.<NULL>
  - libcurl-7.64.0.2-h541490c_2.<NULL>
  - libdap4-3.19.1.1000-hd48c02d_1000.<NULL>
  - libedit-3.1.20170329.1001-hf8c457e_1001.<NULL>
  - libffi-3.2.1.1006-he1b5a44_1006.<NULL>
  - libgcc-ng-8.2.0.1-hdf63c60_1.<NULL>
  - libgdal-2.4.1.0-hdb8f723_0.<NULL>
  - libgfortran-ng-7.3.0.0-hdf63c60_0.<NULL>
  - libiconv-1.15.0.1005-h516909a_1005.<NULL>
  - libkml-1.3.0.1009-h328b03d_1009.<NULL>
  - liblapack-3.8.0.4-4_openblas.<NULL>
  - libnetcdf-4.6.2.1001-hbdf4f91_1001.<NULL>
  - libpng-1.6.36.1000-h84994c4_1000.<NULL>
  - libpq-11.2.0.0-h4770945_0.<NULL>
  - libspatialindex-1.9.0.0-he1b5a44_0.<NULL>
  - libspatialite-4.3.0a.1026-hb5ec416_1026.<NULL>
  - libssh2-1.8.2.0-h22169c7_0.<NULL>
  - libstdcxx-ng-8.2.0.1-hdf63c60_1.<NULL>
  - libtiff-4.0.10.1002-h9022e91_1002.<NULL>
  - libuuid-2.32.1.1000-h14c3975_1000.<NULL>
  - libxcb-1.13.0.1002-h14c3975_1002.<NULL>
  - libxml2-2.9.8.1005-h143f9aa_1005.<NULL>
  - libxslt-1.1.32.1002-h4785a14_1002.<NULL>
  - lxml-4.3.2.0-py37h23eabaa_0.<NULL>
  - mapclassify-2.0.1.0-py_0.<NULL>
  - matplotlib-3.0.3.0-py37_0.<NULL>
  - matplotlib-base-3.0.3.0-py37h167e16e_0.<NULL>
  - munch-2.3.2.0-py_0.<NULL>
  - ncurses-6.1.0.1002-hf484d3e_1002.<NULL>
  - numpy-1.16.2.1-py37h8b7e671_1.<NULL>
  - olefile-0.46.0.0-py_0.<NULL>
  - openblas-0.3.5.1001-h9ac9557_1001.<NULL>
  - openjpeg-2.3.0.1003-hf38bd82_1003.<NULL>
  - openssl-1.1.1b.1-h14c3975_1.<NULL>
  - owslib-0.17.1.0-py_0.<NULL>
  - pandas-0.24.2.0-py37hf484d3e_0.<NULL>
  - parso-0.3.4.0-py_0.<NULL>
  - pcre-8.43.0.0-he6710b0_0.<NULL>
  - pexpect-4.6.0.1000-py37_1000.<NULL>
  - pickleshare-0.7.5.1000-py37_1000.<NULL>
  - pillow-5.4.1.1000-py37h00a061d_1000.<NULL>
  - pixman-0.34.0.1003-h14c3975_1003.<NULL>
  - poppler-0.67.0.1002-h2fc8fa2_1002.<NULL>
  - poppler-data-0.4.9.0-0.<NULL>
  - postgresql-11.2.0.0-h61314c7_0.<NULL>
  - proj4-5.2.0.1001-h14c3975_1001.<NULL>
  - prompt_toolkit-2.0.9.0-py_0.<NULL>
  - pthread-stubs-0.4.0.1001-h14c3975_1001.<NULL>
  - ptyprocess-0.6.0.1000-py37_1000.<NULL>
  - pycparser-2.19.0.1-py37_1.<NULL>
  - pyepsg-0.4.0.0-py_0.<NULL>
  - pygments-2.3.1.0-py_0.<NULL>
  - pykdtree-1.3.1.1002-py37h3010b51_1002.<NULL>
  - pyopenssl-19.0.0.0-py37_0.<NULL>
  - pyparsing-2.3.1.0-py_0.<NULL>
  - pyproj-1.9.6.1000-py37hc0953d3_1000.<NULL>
  - pyqt-5.6.0.1008-py37h13b7fb3_1008.<NULL>
  - pyshp-2.1.0.0-py_0.<NULL>
  - pysocks-1.6.8.1002-py37_1002.<NULL>
  - python-3.7.2.0-h381d211_0.<NULL>
  - python-dateutil-2.8.0.0-py_0.<NULL>
  - pytz-2018.9.0.0-py_0.<NULL>
  - qt-5.6.3.3-h8bf5577_3.<NULL>
  - readline-7.0.0.1001-hf8c457e_1001.<NULL>
  - requests-2.21.0.1000-py37_1000.<NULL>
  - rtree-0.8.3.1002-py37h666c49c_1002.<NULL>
  - scipy-1.2.1.1-py37h09a28d5_1.<NULL>
  - setuptools-40.8.0.0-py37_0.<NULL>
  - shapely-1.6.4.1003-py37h2afed24_1003.<NULL>
  - sip-4.18.1.1000-py37hf484d3e_1000.<NULL>
  - six-1.12.0.1000-py37_1000.<NULL>
  - sqlite-3.26.0.1001-h67949de_1001.<NULL>
  - tk-8.6.9.1000-h84994c4_1000.<NULL>
  - tornado-6.0.2.0-py37h516909a_0.<NULL>
  - traitlets-4.3.2.1000-py37_1000.<NULL>
  - tzcode-2018g.0.0.1001-h14c3975_1001.<NULL>
  - urllib3-1.24.1.1000-py37_1000.<NULL>
  - wcwidth-0.1.7.1-py_1.<NULL>
  - xerces-c-3.2.2.1001-hac72e42_1001.<NULL>
  - xorg-kbproto-1.0.7.1002-h14c3975_1002.<NULL>
  - xorg-libice-1.0.9.1004-h516909a_1004.<NULL>
  - xorg-libsm-1.2.3.1000-h84519dc_1000.<NULL>
  - xorg-libx11-1.6.7.1000-h14c3975_1000.<NULL>
  - xorg-libxau-1.0.9.0-h14c3975_0.<NULL>
  - xorg-libxdmcp-1.1.3.0-h516909a_0.<NULL>
  - xorg-libxext-1.3.4.0-h516909a_0.<NULL>
  - xorg-libxrender-0.9.10.1002-h516909a_1002.<NULL>
  - xorg-renderproto-0.11.1.1002-h14c3975_1002.<NULL>
  - xorg-xextproto-7.3.0.1002-h14c3975_1002.<NULL>
  - xorg-xproto-7.0.31.1007-h14c3975_1007.<NULL>
  - xz-5.2.4.1001-h14c3975_1001.<NULL>
  - zlib-1.2.11.1004-h14c3975_1004.<NULL>
  - zstd-1.3.3.1-1.<NULL>

Solution: 


## Package Plan ##

  environment location: /home/joris/miniconda3/envs/mamba-geo-test

  added / updated specs:
    - cartopy
    - geopandas
    - ipython
    - python


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    cairo-1.14.12              |    h80bd089_1005         1.4 MB  conda-forge
    cryptography-2.6.1         |   py37h72c5cf5_0         607 KB  conda-forge
    curl-7.64.0                |       h646f8bb_2         143 KB  conda-forge
    dbus-1.13.6                |       h746ee38_0         587 KB
    expat-2.2.6                |       he6710b0_0         187 KB
    fiona-1.8.6                |   py37hf242f0b_2         1.1 MB  conda-forge
    gdal-2.4.1                 |   py37hf242f0b_0         1.4 MB  conda-forge
    glib-2.56.2                |    had28632_1001         4.7 MB  conda-forge
    gst-plugins-base-1.14.0    |       hbbd80ab_1         6.3 MB
    gstreamer-1.14.0           |       hb453b48_1         3.8 MB
    hdf5-1.10.4                |nompi_h3c11f04_1106         5.3 MB  conda-forge
    kealib-1.4.10              |    h1978553_1003         172 KB  conda-forge
    krb5-1.16.3                |    h05b26f9_1001         1.4 MB  conda-forge
    libcurl-7.64.0             |       h541490c_2         573 KB  conda-forge
    libgdal-2.4.1              |       hdb8f723_0        18.3 MB  conda-forge
    libpq-11.2                 |       h4770945_0         2.4 MB  conda-forge
    libssh2-1.8.2              |       h22169c7_0         242 KB  conda-forge
    pcre-8.43                  |       he6710b0_0         260 KB
    poppler-0.67.0             |    h2fc8fa2_1002         8.8 MB  conda-forge
    poppler-data-0.4.9         |                0         3.5 MB  conda-forge
    postgresql-11.2            |       h61314c7_0         4.9 MB  conda-forge
    qt-5.6.3                   |       h8bf5577_3        45.7 MB
    tornado-6.0.2              |   py37h516909a_0         635 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       112.4 MB

The following NEW packages will be INSTALLED:

  asn1crypto         conda-forge/linux-64::asn1crypto-0.24.0-py37_1003
  attrs              conda-forge/noarch::attrs-19.1.0-py_0
  backcall           conda-forge/noarch::backcall-0.1.0-py_0
  boost-cpp          conda-forge/linux-64::boost-cpp-1.68.0-h11c811c_1000
  bzip2              conda-forge/linux-64::bzip2-1.0.6-h14c3975_1002
  ca-certificates    conda-forge/linux-64::ca-certificates-2019.3.9-hecc5488_0
  cairo              conda-forge/linux-64::cairo-1.14.12-h80bd089_1005
  cartopy            conda-forge/linux-64::cartopy-0.17.0-py37h0aa2c8f_1004
  certifi            conda-forge/linux-64::certifi-2019.3.9-py37_0
  cffi               conda-forge/linux-64::cffi-1.12.2-py37hf0e25f4_1
  chardet            conda-forge/linux-64::chardet-3.0.4-py37_1003
  click              conda-forge/noarch::click-7.0-py_0
  click-plugins      conda-forge/noarch::click-plugins-1.0.4-py_0
  cligj              conda-forge/noarch::cligj-0.5.0-py_0
  cryptography       conda-forge/linux-64::cryptography-2.6.1-py37h72c5cf5_0
  curl               conda-forge/linux-64::curl-7.64.0-h646f8bb_2
  cycler             conda-forge/noarch::cycler-0.10.0-py_1
  dbus               pkgs/main/linux-64::dbus-1.13.6-h746ee38_0
  decorator          conda-forge/noarch::decorator-4.4.0-py_0
  descartes          conda-forge/noarch::descartes-1.1.0-py_2
  expat              pkgs/main/linux-64::expat-2.2.6-he6710b0_0
  fiona              conda-forge/linux-64::fiona-1.8.6-py37hf242f0b_2
  fontconfig         conda-forge/linux-64::fontconfig-2.13.1-he4413a7_1000
  freetype           conda-forge/linux-64::freetype-2.10.0-he983fc9_0
  freexl             conda-forge/linux-64::freexl-1.0.5-h14c3975_1002
  gdal               conda-forge/linux-64::gdal-2.4.1-py37hf242f0b_0
  geopandas          conda-forge/noarch::geopandas-0.4.1-py_1
  geos               conda-forge/linux-64::geos-3.7.1-hf484d3e_1000
  geotiff            conda-forge/linux-64::geotiff-1.4.3-h1105359_1000
  gettext            conda-forge/linux-64::gettext-0.19.8.1-hc5be6a0_1002
  giflib             conda-forge/linux-64::giflib-5.1.7-h516909a_1
  glib               conda-forge/linux-64::glib-2.56.2-had28632_1001
  gst-plugins-base   pkgs/main/linux-64::gst-plugins-base-1.14.0-hbbd80ab_1
  gstreamer          pkgs/main/linux-64::gstreamer-1.14.0-hb453b48_1
  hdf4               conda-forge/linux-64::hdf4-4.2.13-h9a582f1_1002
  hdf5               conda-forge/linux-64::hdf5-1.10.4-nompi_h3c11f04_1106
  icu                conda-forge/linux-64::icu-58.2-hf484d3e_1000
  idna               conda-forge/linux-64::idna-2.8-py37_1000
  ipython            conda-forge/linux-64::ipython-7.4.0-py37h24bf2e0_0
  ipython_genutils   conda-forge/noarch::ipython_genutils-0.2.0-py_1
  jedi               conda-forge/linux-64::jedi-0.13.3-py37_0
  jpeg               conda-forge/linux-64::jpeg-9c-h14c3975_1001
  json-c             conda-forge/linux-64::json-c-0.13.1-h14c3975_1001
  kealib             conda-forge/linux-64::kealib-1.4.10-h1978553_1003
  kiwisolver         conda-forge/linux-64::kiwisolver-1.0.1-py37h6bb024c_1002
  krb5               conda-forge/linux-64::krb5-1.16.3-h05b26f9_1001
  libblas            conda-forge/linux-64::libblas-3.8.0-4_openblas
  libcblas           conda-forge/linux-64::libcblas-3.8.0-4_openblas
  libcurl            conda-forge/linux-64::libcurl-7.64.0-h541490c_2
  libdap4            conda-forge/linux-64::libdap4-3.19.1-hd48c02d_1000
  libedit            conda-forge/linux-64::libedit-3.1.20170329-hf8c457e_1001
  libffi             conda-forge/linux-64::libffi-3.2.1-he1b5a44_1006
  libgcc-ng          pkgs/main/linux-64::libgcc-ng-8.2.0-hdf63c60_1
  libgdal            conda-forge/linux-64::libgdal-2.4.1-hdb8f723_0
  libgfortran-ng     pkgs/main/linux-64::libgfortran-ng-7.3.0-hdf63c60_0
  libiconv           conda-forge/linux-64::libiconv-1.15-h516909a_1005
  libkml             conda-forge/linux-64::libkml-1.3.0-h328b03d_1009
  liblapack          conda-forge/linux-64::liblapack-3.8.0-4_openblas
  libnetcdf          conda-forge/linux-64::libnetcdf-4.6.2-hbdf4f91_1001
  libpng             conda-forge/linux-64::libpng-1.6.36-h84994c4_1000
  libpq              conda-forge/linux-64::libpq-11.2-h4770945_0
  libspatialindex    conda-forge/linux-64::libspatialindex-1.9.0-he1b5a44_0
  libspatialite      conda-forge/linux-64::libspatialite-4.3.0a-hb5ec416_1026
  libssh2            conda-forge/linux-64::libssh2-1.8.2-h22169c7_0
  libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-8.2.0-hdf63c60_1
  libtiff            conda-forge/linux-64::libtiff-4.0.10-h9022e91_1002
  libuuid            conda-forge/linux-64::libuuid-2.32.1-h14c3975_1000
  libxcb             conda-forge/linux-64::libxcb-1.13-h14c3975_1002
  libxml2            conda-forge/linux-64::libxml2-2.9.8-h143f9aa_1005
  libxslt            conda-forge/linux-64::libxslt-1.1.32-h4785a14_1002
  lxml               conda-forge/linux-64::lxml-4.3.2-py37h23eabaa_0
  mapclassify        conda-forge/noarch::mapclassify-2.0.1-py_0
  matplotlib         conda-forge/linux-64::matplotlib-3.0.3-py37_0
  matplotlib-base    conda-forge/linux-64::matplotlib-base-3.0.3-py37h167e16e_0
  munch              conda-forge/noarch::munch-2.3.2-py_0
  ncurses            conda-forge/linux-64::ncurses-6.1-hf484d3e_1002
  numpy              conda-forge/linux-64::numpy-1.16.2-py37h8b7e671_1
  olefile            conda-forge/noarch::olefile-0.46-py_0
  openblas           conda-forge/linux-64::openblas-0.3.5-h9ac9557_1001
  openjpeg           conda-forge/linux-64::openjpeg-2.3.0-hf38bd82_1003
  openssl            conda-forge/linux-64::openssl-1.1.1b-h14c3975_1
  owslib             conda-forge/noarch::owslib-0.17.1-py_0
  pandas             conda-forge/linux-64::pandas-0.24.2-py37hf484d3e_0
  parso              conda-forge/noarch::parso-0.3.4-py_0
  pcre               pkgs/main/linux-64::pcre-8.43-he6710b0_0
  pexpect            conda-forge/linux-64::pexpect-4.6.0-py37_1000
  pickleshare        conda-forge/linux-64::pickleshare-0.7.5-py37_1000
  pillow             conda-forge/linux-64::pillow-5.4.1-py37h00a061d_1000
  pixman             conda-forge/linux-64::pixman-0.34.0-h14c3975_1003
  poppler            conda-forge/linux-64::poppler-0.67.0-h2fc8fa2_1002
  poppler-data       conda-forge/linux-64::poppler-data-0.4.9-0
  postgresql         conda-forge/linux-64::postgresql-11.2-h61314c7_0
  proj4              conda-forge/linux-64::proj4-5.2.0-h14c3975_1001
  prompt_toolkit     conda-forge/noarch::prompt_toolkit-2.0.9-py_0
  pthread-stubs      conda-forge/linux-64::pthread-stubs-0.4-h14c3975_1001
  ptyprocess         conda-forge/linux-64::ptyprocess-0.6.0-py37_1000
  pycparser          conda-forge/linux-64::pycparser-2.19-py37_1
  pyepsg             conda-forge/noarch::pyepsg-0.4.0-py_0
  pygments           conda-forge/noarch::pygments-2.3.1-py_0
  pykdtree           conda-forge/linux-64::pykdtree-1.3.1-py37h3010b51_1002
  pyopenssl          conda-forge/linux-64::pyopenssl-19.0.0-py37_0
  pyparsing          conda-forge/noarch::pyparsing-2.3.1-py_0
  pyproj             conda-forge/linux-64::pyproj-1.9.6-py37hc0953d3_1000
  pyqt               conda-forge/linux-64::pyqt-5.6.0-py37h13b7fb3_1008
  pyshp              conda-forge/noarch::pyshp-2.1.0-py_0
  pysocks            conda-forge/linux-64::pysocks-1.6.8-py37_1002
  python             conda-forge/linux-64::python-3.7.2-h381d211_0
  python-dateutil    conda-forge/noarch::python-dateutil-2.8.0-py_0
  pytz               conda-forge/noarch::pytz-2018.9-py_0
  qt                 pkgs/main/linux-64::qt-5.6.3-h8bf5577_3
  readline           conda-forge/linux-64::readline-7.0-hf8c457e_1001
  requests           conda-forge/linux-64::requests-2.21.0-py37_1000
  rtree              conda-forge/linux-64::rtree-0.8.3-py37h666c49c_1002
  scipy              conda-forge/linux-64::scipy-1.2.1-py37h09a28d5_1
  setuptools         conda-forge/linux-64::setuptools-40.8.0-py37_0
  shapely            conda-forge/linux-64::shapely-1.6.4-py37h2afed24_1003
  sip                conda-forge/linux-64::sip-4.18.1-py37hf484d3e_1000
  six                conda-forge/linux-64::six-1.12.0-py37_1000
  sqlite             conda-forge/linux-64::sqlite-3.26.0-h67949de_1001
  tk                 conda-forge/linux-64::tk-8.6.9-h84994c4_1000
  tornado            conda-forge/linux-64::tornado-6.0.2-py37h516909a_0
  traitlets          conda-forge/linux-64::traitlets-4.3.2-py37_1000
  tzcode             conda-forge/linux-64::tzcode-2018g-h14c3975_1001
  urllib3            conda-forge/linux-64::urllib3-1.24.1-py37_1000
  wcwidth            conda-forge/noarch::wcwidth-0.1.7-py_1
  xerces-c           conda-forge/linux-64::xerces-c-3.2.2-hac72e42_1001
  xorg-kbproto       conda-forge/linux-64::xorg-kbproto-1.0.7-h14c3975_1002
  xorg-libice        conda-forge/linux-64::xorg-libice-1.0.9-h516909a_1004
  xorg-libsm         conda-forge/linux-64::xorg-libsm-1.2.3-h84519dc_1000
  xorg-libx11        conda-forge/linux-64::xorg-libx11-1.6.7-h14c3975_1000
  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
  xorg-libxext       conda-forge/linux-64::xorg-libxext-1.3.4-h516909a_0
  xorg-libxrender    conda-forge/linux-64::xorg-libxrender-0.9.10-h516909a_1002
  xorg-renderproto   conda-forge/linux-64::xorg-renderproto-0.11.1-h14c3975_1002
  xorg-xextproto     conda-forge/linux-64::xorg-xextproto-7.3.0-h14c3975_1002
  xorg-xproto        conda-forge/linux-64::xorg-xproto-7.0.31-h14c3975_1007
  xz                 conda-forge/linux-64::xz-5.2.4-h14c3975_1001
  zlib               conda-forge/linux-64::zlib-1.2.11-h14c3975_1004
  zstd               conda-forge/linux-64::zstd-1.3.3-1


Proceed ([y]/n)? n


Exiting.
$ conda create -n mamba-geo-test python geopandas cartopy ipython
$ conda create -n mamba-geo-test python geopandas cartopy ipython
Collecting package metadata: done
Solving environment: done

## Package Plan ##

  environment location: /home/joris/miniconda3/envs/mamba-geo-test

  added / updated specs:
    - cartopy
    - geopandas
    - ipython
    - python


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    hdf5-1.10.4                |nompi_h3c11f04_1106         5.3 MB  conda-forge
    kealib-1.4.10              |    h1978553_1003         172 KB  conda-forge
    tornado-6.0.2              |   py37h516909a_0         635 KB  conda-forge
    ------------------------------------------------------------
                                           Total:         6.1 MB

The following NEW packages will be INSTALLED:

  asn1crypto         conda-forge/linux-64::asn1crypto-0.24.0-py37_1003
  atk                conda-forge/linux-64::atk-2.25.90-hb9dd440_1002
  attrs              conda-forge/noarch::attrs-19.1.0-py_0
  backcall           conda-forge/noarch::backcall-0.1.0-py_0
  boost-cpp          conda-forge/linux-64::boost-cpp-1.68.0-h11c811c_1000
  bzip2              conda-forge/linux-64::bzip2-1.0.6-h14c3975_1002
  ca-certificates    conda-forge/linux-64::ca-certificates-2019.3.9-hecc5488_0
  cairo              conda-forge/linux-64::cairo-1.16.0-ha4e643d_1000
  cartopy            conda-forge/linux-64::cartopy-0.17.0-py37h0aa2c8f_1004
  certifi            conda-forge/linux-64::certifi-2019.3.9-py37_0
  cffi               conda-forge/linux-64::cffi-1.12.2-py37hf0e25f4_1
  chardet            conda-forge/linux-64::chardet-3.0.4-py37_1003
  click              conda-forge/noarch::click-7.0-py_0
  click-plugins      conda-forge/noarch::click-plugins-1.0.4-py_0
  cligj              conda-forge/noarch::cligj-0.5.0-py_0
  cryptography       conda-forge/linux-64::cryptography-2.5-py37hb7f436b_1
  curl               conda-forge/linux-64::curl-7.64.0-h646f8bb_0
  cycler             conda-forge/noarch::cycler-0.10.0-py_1
  dbus               conda-forge/linux-64::dbus-1.13.0-h4e0c4b3_1000
  decorator          conda-forge/noarch::decorator-4.4.0-py_0
  descartes          conda-forge/noarch::descartes-1.1.0-py_2
  expat              conda-forge/linux-64::expat-2.2.5-hf484d3e_1002
  fiona              conda-forge/linux-64::fiona-1.8.6-py37hf242f0b_0
  fontconfig         conda-forge/linux-64::fontconfig-2.13.1-he4413a7_1000
  freetype           conda-forge/linux-64::freetype-2.10.0-he983fc9_0
  freexl             conda-forge/linux-64::freexl-1.0.5-h14c3975_1002
  gdal               conda-forge/linux-64::gdal-2.4.0-py37h1c6dbfb_1002
  gdk-pixbuf         conda-forge/linux-64::gdk-pixbuf-2.36.12-h49783d7_1002
  geopandas          conda-forge/noarch::geopandas-0.4.1-py_1
  geos               conda-forge/linux-64::geos-3.7.1-hf484d3e_1000
  geotiff            conda-forge/linux-64::geotiff-1.4.3-h1105359_1000
  gettext            conda-forge/linux-64::gettext-0.19.8.1-hc5be6a0_1002
  giflib             conda-forge/linux-64::giflib-5.1.7-h516909a_1
  glib               conda-forge/linux-64::glib-2.58.3-hf63aee3_1001
  gobject-introspec~ conda-forge/linux-64::gobject-introspection-1.58.2-py37h2da5eee_1000
  graphite2          conda-forge/linux-64::graphite2-1.3.13-hf484d3e_1000
  gstreamer          conda-forge/linux-64::gstreamer-1.14.4-h66beb1c_1001
  gtk2               conda-forge/linux-64::gtk2-2.24.31-hb68c50a_1001
  harfbuzz           conda-forge/linux-64::harfbuzz-2.3.1-h6824563_0
  hdf4               conda-forge/linux-64::hdf4-4.2.13-h9a582f1_1002
  hdf5               conda-forge/linux-64::hdf5-1.10.4-nompi_h3c11f04_1106
  icu                conda-forge/linux-64::icu-58.2-hf484d3e_1000
  idna               conda-forge/linux-64::idna-2.8-py37_1000
  ipython            conda-forge/linux-64::ipython-7.4.0-py37h24bf2e0_0
  ipython_genutils   conda-forge/noarch::ipython_genutils-0.2.0-py_1
  jedi               conda-forge/linux-64::jedi-0.13.3-py37_0
  jpeg               conda-forge/linux-64::jpeg-9c-h14c3975_1001
  json-c             conda-forge/linux-64::json-c-0.13.1-h14c3975_1001
  kealib             conda-forge/linux-64::kealib-1.4.10-h1978553_1003
  kiwisolver         conda-forge/linux-64::kiwisolver-1.0.1-py37h6bb024c_1002
  krb5               conda-forge/linux-64::krb5-1.16.3-hc83ff2d_1000
  libblas            conda-forge/linux-64::libblas-3.8.0-4_openblas
  libcblas           conda-forge/linux-64::libcblas-3.8.0-4_openblas
  libcurl            conda-forge/linux-64::libcurl-7.64.0-h01ee5af_0
  libdap4            conda-forge/linux-64::libdap4-3.19.1-hd48c02d_1000
  libedit            conda-forge/linux-64::libedit-3.1.20170329-hf8c457e_1001
  libffi             conda-forge/linux-64::libffi-3.2.1-he1b5a44_1006
  libgcc-ng          pkgs/main/linux-64::libgcc-ng-8.2.0-hdf63c60_1
  libgdal            conda-forge/linux-64::libgdal-2.4.0-h982c1cc_1002
  libgfortran-ng     pkgs/main/linux-64::libgfortran-ng-7.3.0-hdf63c60_0
  libiconv           conda-forge/linux-64::libiconv-1.15-h516909a_1005
  libkml             conda-forge/linux-64::libkml-1.3.0-h328b03d_1009
  liblapack          conda-forge/linux-64::liblapack-3.8.0-4_openblas
  libnetcdf          conda-forge/linux-64::libnetcdf-4.6.2-hbdf4f91_1001
  libpng             conda-forge/linux-64::libpng-1.6.36-h84994c4_1000
  libpq              conda-forge/linux-64::libpq-10.6-h13b8bad_1000
  libspatialindex    conda-forge/linux-64::libspatialindex-1.9.0-he1b5a44_0
  libspatialite      conda-forge/linux-64::libspatialite-4.3.0a-hb5ec416_1026
  libssh2            conda-forge/linux-64::libssh2-1.8.0-h1ad7b7a_1003
  libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-8.2.0-hdf63c60_1
  libtiff            conda-forge/linux-64::libtiff-4.0.10-h9022e91_1002
  libuuid            conda-forge/linux-64::libuuid-2.32.1-h14c3975_1000
  libxcb             conda-forge/linux-64::libxcb-1.13-h14c3975_1002
  libxml2            conda-forge/linux-64::libxml2-2.9.8-h143f9aa_1005
  libxslt            conda-forge/linux-64::libxslt-1.1.32-h4785a14_1002
  lxml               conda-forge/linux-64::lxml-4.3.2-py37h23eabaa_0
  mapclassify        conda-forge/noarch::mapclassify-2.0.1-py_0
  matplotlib         conda-forge/linux-64::matplotlib-3.0.3-py37_0
  matplotlib-base    conda-forge/linux-64::matplotlib-base-3.0.3-py37h167e16e_0
  munch              conda-forge/noarch::munch-2.3.2-py_0
  ncurses            conda-forge/linux-64::ncurses-6.1-hf484d3e_1002
  numpy              conda-forge/linux-64::numpy-1.16.2-py37h8b7e671_1
  olefile            conda-forge/noarch::olefile-0.46-py_0
  openblas           conda-forge/linux-64::openblas-0.3.5-h9ac9557_1001
  openjpeg           conda-forge/linux-64::openjpeg-2.3.0-hf38bd82_1003
  openssl            conda-forge/linux-64::openssl-1.0.2r-h14c3975_0
  owslib             conda-forge/noarch::owslib-0.17.1-py_0
  pandas             conda-forge/linux-64::pandas-0.24.2-py37hf484d3e_0
  pango              conda-forge/linux-64::pango-1.40.14-h4ea9474_1004
  parso              conda-forge/noarch::parso-0.3.4-py_0
  pcre               conda-forge/linux-64::pcre-8.41-hf484d3e_1003
  pexpect            conda-forge/linux-64::pexpect-4.6.0-py37_1000
  pickleshare        conda-forge/linux-64::pickleshare-0.7.5-py37_1000
  pillow             conda-forge/linux-64::pillow-5.4.1-py37h00a061d_1000
  pip                conda-forge/linux-64::pip-19.0.3-py37_0
  pixman             conda-forge/linux-64::pixman-0.34.0-h14c3975_1003
  poppler            conda-forge/linux-64::poppler-0.67.0-h2ad7f00_6
  poppler-data       conda-forge/noarch::poppler-data-0.4.9-1
  postgresql         conda-forge/linux-64::postgresql-10.6-h66cca7a_1000
  proj4              conda-forge/linux-64::proj4-5.2.0-h14c3975_1001
  prompt_toolkit     conda-forge/noarch::prompt_toolkit-2.0.9-py_0
  pthread-stubs      conda-forge/linux-64::pthread-stubs-0.4-h14c3975_1001
  ptyprocess         conda-forge/linux-64::ptyprocess-0.6.0-py37_1000
  pycparser          conda-forge/linux-64::pycparser-2.19-py37_1
  pyepsg             conda-forge/noarch::pyepsg-0.4.0-py_0
  pygments           conda-forge/noarch::pygments-2.3.1-py_0
  pykdtree           conda-forge/linux-64::pykdtree-1.3.1-py37h3010b51_1002
  pyopenssl          conda-forge/linux-64::pyopenssl-19.0.0-py37_0
  pyparsing          conda-forge/noarch::pyparsing-2.3.1-py_0
  pyproj             conda-forge/linux-64::pyproj-1.9.6-py37hc0953d3_1000
  pyqt               conda-forge/linux-64::pyqt-5.6.0-py37h13b7fb3_1008
  pyshp              conda-forge/noarch::pyshp-2.1.0-py_0
  pysocks            conda-forge/linux-64::pysocks-1.6.8-py37_1002
  python             conda-forge/linux-64::python-3.7.1-hd21baee_1001
  python-dateutil    conda-forge/noarch::python-dateutil-2.8.0-py_0
  pytz               conda-forge/noarch::pytz-2018.9-py_0
  qt                 conda-forge/linux-64::qt-5.6.2-hce4f676_1013
  readline           conda-forge/linux-64::readline-7.0-hf8c457e_1001
  requests           conda-forge/linux-64::requests-2.21.0-py37_1000
  rtree              conda-forge/linux-64::rtree-0.8.3-py37h666c49c_1002
  scipy              conda-forge/linux-64::scipy-1.2.1-py37h09a28d5_1
  setuptools         conda-forge/linux-64::setuptools-40.8.0-py37_0
  shapely            conda-forge/linux-64::shapely-1.6.4-py37h2afed24_1003
  sip                conda-forge/linux-64::sip-4.18.1-py37hf484d3e_1000
  six                conda-forge/linux-64::six-1.12.0-py37_1000
  sqlite             conda-forge/linux-64::sqlite-3.26.0-h67949de_1001
  tk                 conda-forge/linux-64::tk-8.6.9-h84994c4_1000
  tornado            conda-forge/linux-64::tornado-6.0.2-py37h516909a_0
  traitlets          conda-forge/linux-64::traitlets-4.3.2-py37_1000
  tzcode             conda-forge/linux-64::tzcode-2018g-h14c3975_1001
  urllib3            conda-forge/linux-64::urllib3-1.24.1-py37_1000
  wcwidth            conda-forge/noarch::wcwidth-0.1.7-py_1
  wheel              conda-forge/linux-64::wheel-0.33.1-py37_0
  xerces-c           conda-forge/linux-64::xerces-c-3.2.2-hac72e42_1001
  xorg-kbproto       conda-forge/linux-64::xorg-kbproto-1.0.7-h14c3975_1002
  xorg-libice        conda-forge/linux-64::xorg-libice-1.0.9-h516909a_1004
  xorg-libsm         conda-forge/linux-64::xorg-libsm-1.2.3-h84519dc_1000
  xorg-libx11        conda-forge/linux-64::xorg-libx11-1.6.7-h14c3975_1000
  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
  xorg-libxext       conda-forge/linux-64::xorg-libxext-1.3.4-h516909a_0
  xorg-libxrender    conda-forge/linux-64::xorg-libxrender-0.9.10-h516909a_1002
  xorg-libxt         conda-forge/linux-64::xorg-libxt-1.1.5-h14c3975_1002
  xorg-renderproto   conda-forge/linux-64::xorg-renderproto-0.11.1-h14c3975_1002
  xorg-xextproto     conda-forge/linux-64::xorg-xextproto-7.3.0-h14c3975_1002
  xorg-xproto        conda-forge/linux-64::xorg-xproto-7.0.31-h14c3975_1007
  xz                 conda-forge/linux-64::xz-5.2.4-h14c3975_1001
  zlib               conda-forge/linux-64::zlib-1.2.11-h14c3975_1004
  zstd               conda-forge/linux-64::zstd-1.3.3-1


Proceed ([y]/n)? n


Exiting.

from mamba.

jorisvandenbossche avatar jorisvandenbossche commented on May 18, 2024

Actually, up to now I only looked at what mamba proposed, but now trying to actually create the environment, I get an error for the example above:

...
Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(568): An error occurred while installing package 'conda-forge::attrs-19.1.0-py_0'.
FileNotFoundError(2, "No such file or directory: '/home/joris/miniconda3/envs/mamba-geo-test/bin/python3.7'")
Attempting to roll back.

Rolling back transaction: done

[Errno 2] No such file or directory: '/home/joris/miniconda3/envs/mamba-geo-test/bin/python3.7': '/home/joris/miniconda3/envs/mamba-geo-test/bin/python3.7'

And the rolling back also didn't fully succeed, as the envs/mamba-geo-test dir still has a conda-meta subdir with the file asn1crypto-0.24.0-py37_1003.json in it.

Doing the same with conda properly creates the environment.

from mamba.

wolfv avatar wolfv commented on May 18, 2024

Hi Joris, great! Happy to hear that :)

Indeed, I think it's due to how I implemented version comparison that sometimes the default channel "wins" where conda-forge should win. Luckily the guys over at libsolv have already implemented a special version comparison function for conda: openSUSE/libsolv@67d113f which will definitely help getting the same results!

from mamba.

wolfv avatar wolfv commented on May 18, 2024

hmm interesting! I didn't observe that specific problem yet. One idea I have is that we need to install pip (which I think is something that conda automatically adds). Otherwise I wouldn't know what the difference between conda and mamba at this stage is...

from mamba.

jorisvandenbossche avatar jorisvandenbossche commented on May 18, 2024

I get the same error when explicitly adding pip to the required packages (mamba create -n mamba-geo-test python geopandas cartopy ipython pip

I have a add_pip_as_python_dependency config set to True, so that is the reason that the conda version also installs pip (and mamba does not yet follow that config)

from mamba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.