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

Package uninstallable as of v2.0.2 due to dependency conflicts #76

Closed
sphuber opened this issue Oct 4, 2022 · 12 comments · Fixed by #78 or #85
Closed

Package uninstallable as of v2.0.2 due to dependency conflicts #76

sphuber opened this issue Oct 4, 2022 · 12 comments · Fixed by #78 or #85
Assignees

Comments

@sphuber
Copy link
Contributor

sphuber commented Oct 4, 2022

Installing aiida-core with aiida-core.services for v2.0.2 fails, whereas it works for v2.0.1.

$ conda create -n aiida -c conda-forge aiida-core==2.0.2 aiida-core.services==2.0.2
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
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:

Output in format: Requested package -> Available versions

Package openssl conflicts for:
aiida-core.services==2.0.2 -> postgresql[version='>=9.6'] -> openssl[version='1.0.*|>=1.0.2o,<1.0.3a|>=1.0.2p,<1.0.3a|>=1.1.1a,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1o,<1.1.2a|>=1.1.1q,<1.1.2a|>=3.0.5,<4.0a0|>=3.0.3,<4.0a0|>=3.0.0,<4.0a0|>=1.1.1b,<1.1.2a|>=1.0.2m,<1.0.3a|>=1.0.2l,<1.0.3a']
aiida-core==2.0.2 -> python~=3.8 -> openssl[version='>=1.1.1a,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1n,<1.1.2a|>=1.1.1o,<1.1.2a|>=1.1.1q,<1.1.2a|>=3.0.5,<4.0a0|>=3.0.3,<4.0a0|>=3.0.2,<4.0a0|>=3.0.0,<4.0a0|>=1.1.1m,<1.1.2a']

Package python conflicts for:
aiida-core==2.0.2 -> aio-pika~=6.6 -> python[version='2.7.*|>=3.5|>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.5|>=3.6,<3.7.0a0|>=3.6|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.8|>=3.7|>=3|>=2.7']
aiida-core==2.0.2 -> python~=3.8

The recipe was changed significantly between v2.0.1 and v2.0.2 so problem is probably due to that diff
diff-v2.0.1-v2.0.2.txt

@ltalirz
Copy link
Member

ltalirz commented Nov 8, 2022

To provide more detail:

  • while it works for 2.0.1, it is broken for 2.0.2, 2.0.3, 2.0.4
  • the conflict is between aiida-core and aiida-core.services. installing aiida-core in isolation works fine (see below), as does installing aiida-core.services in isolation.

Looking at the output, it seems the conflict is in the openssl version - aiida-core installs 3.0.7, while aiida-core.services installes 1.1.1

$ mamba create -n aiida202 -c conda-forge aiida-core==2.0.2
conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache
pkgs/main/linux-64                                          Using cache
pkgs/main/noarch                                            Using cache
pkgs/r/linux-64                                             Using cache
pkgs/r/noarch                                               Using cache
Transaction

  Prefix: /anfhome/a-ctalirz/.conda/envs/aiida202

  Updating specs:

   - aiida-core==2.0.2


  Package                               Version  Build                Channel                    Size
───────────────────────────────────────────────────────────────────────────────────────────────────────
  Install:
───────────────────────────────────────────────────────────────────────────────────────────────────────

  + _libgcc_mutex                           0.1  conda_forge          conda-forge/linux-64     Cached

  Package                               Version  Build                Channel                    Size
───────────────────────────────────────────────────────────────────────────────────────────────────────
  Install:
───────────────────────────────────────────────────────────────────────────────────────────────────────

  + _libgcc_mutex                           0.1  conda_forge          conda-forge/linux-64     Cached
  + _openmp_mutex                           4.5  2_gnu                conda-forge/linux-64     Cached
  + aiida-core                            2.0.2  pyh6c4a22f_0         conda-forge/noarch        710kB
  + aio-pika                              6.8.1  pyh6c4a22f_0         conda-forge/noarch         34kB
  + aiormq                                3.3.1  py_0                 conda-forge/noarch         25kB
  + alembic                               1.8.1  pyhd8ed1ab_0         conda-forge/noarch        140kB
  + archive-path                          0.4.1  pyhd8ed1ab_0         conda-forge/noarch         18kB
  + async_generator                        1.10  py_0                 conda-forge/noarch         18kB
  + atk-1.0                              2.38.0  hd4edc92_1           conda-forge/linux-64      552kB
  + attrs                                22.1.0  pyh71513ae_1         conda-forge/noarch       Cached
  + backcall                              0.2.0  pyh9f0ad1d_0         conda-forge/noarch       Cached
  + backports                               1.0  py_2                 conda-forge/noarch       Cached
  + backports.functools_lru_cache         1.6.4  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + bcrypt                                3.2.2  py39hb9d737c_1       conda-forge/linux-64       46kB
  + bzip2                                 1.0.8  h7f98852_4           conda-forge/linux-64     Cached
  + ca-certificates                   2022.9.24  ha878542_0           conda-forge/linux-64     Cached
  + cairo                                1.16.0  ha61ee94_1014        conda-forge/linux-64        2MB
  + cffi                                 1.15.1  py39he91dace_2       conda-forge/linux-64      235kB
  + circus                               0.17.1  pyhd8ed1ab_5         conda-forge/noarch        119kB
  + click                                 8.1.3  unix_pyhd8ed1ab_2    conda-forge/noarch         76kB
  + click-config-file                     0.6.0  pyhd8ed1ab_1         conda-forge/noarch          9kB
  + click-spinner                        0.1.10  pyh9f0ad1d_0         conda-forge/noarch          8kB
  + colorama                              0.4.6  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + configobj                             5.0.6  py_0                 conda-forge/noarch         32kB
  + cryptography                         38.0.3  py39h3ccb8fc_0       conda-forge/linux-64        2MB
  + decorator                             5.1.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + deprecation                           2.1.0  pyh9f0ad1d_0         conda-forge/noarch         14kB
  + disk-objectstore                      0.6.0  pyhd8ed1ab_0         conda-forge/noarch         54kB
  + expat                                 2.5.0  h27087fc_0           conda-forge/linux-64      194kB
  + font-ttf-dejavu-sans-mono              2.37  hab24e00_0           conda-forge/noarch       Cached
  + font-ttf-inconsolata                  3.000  h77eed37_0           conda-forge/noarch       Cached
  + font-ttf-source-code-pro              2.038  h77eed37_0           conda-forge/noarch       Cached
  + font-ttf-ubuntu                        0.83  hab24e00_0           conda-forge/noarch       Cached
  + fontconfig                           2.14.1  hc2a2eb6_0           conda-forge/linux-64      374kB
  + fonts-conda-ecosystem                     1  0                    conda-forge/noarch       Cached
  + fonts-conda-forge                         1  0                    conda-forge/noarch       Cached
  + freetype                             2.12.1  hca18f0e_0           conda-forge/linux-64     Cached
  + fribidi                              1.0.10  h36c2ea0_0           conda-forge/linux-64      114kB
  + gdk-pixbuf                           2.42.8  hff1cb4f_1           conda-forge/linux-64      612kB
  + gettext                              0.21.1  h27087fc_0           conda-forge/linux-64     Cached
  + giflib                                5.2.1  h36c2ea0_2           conda-forge/linux-64       79kB
  + graphite2                            1.3.13  h58526e2_1001        conda-forge/linux-64      105kB
  + graphviz                              6.0.1  h5abf519_0           conda-forge/linux-64        3MB
  + greenlet                              2.0.1  py39h5a03fae_0       conda-forge/linux-64      190kB
  + gtk2                                2.24.33  h90689f9_2           conda-forge/linux-64        8MB
  + gts                                   0.7.6  h64030ff_2           conda-forge/linux-64      421kB
  + harfbuzz                              5.3.0  h418a68e_0           conda-forge/linux-64        2MB
  + icu                                    70.1  h27087fc_0           conda-forge/linux-64     Cached
  + idna                                    3.4  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + importlib-metadata                   4.11.4  py39hf3d152e_0       conda-forge/linux-64     Cached
  + importlib_resources                  5.10.0  pyhd8ed1ab_0         conda-forge/noarch         30kB
  + ipython                              7.33.0  py39hf3d152e_0       conda-forge/linux-64        1MB
  + jedi                                 0.18.1  pyhd8ed1ab_2         conda-forge/noarch       Cached
  + jinja2                                3.1.2  pyhd8ed1ab_1         conda-forge/noarch       Cached
  + jpeg                                     9e  h166bdaf_2           conda-forge/linux-64     Cached
  + jsonschema                            3.2.0  pyhd8ed1ab_3         conda-forge/noarch         46kB
  + keyutils                              1.6.1  h166bdaf_0           conda-forge/linux-64     Cached
  + kiwipy                                0.7.6  pyh6c4a22f_0         conda-forge/noarch         26kB
  + krb5                                 1.19.3  h08a2579_0           conda-forge/linux-64     Cached
  + ld_impl_linux-64                       2.39  hc81fddc_0           conda-forge/linux-64     Cached
  + lerc                                  4.0.0  h27087fc_0           conda-forge/linux-64     Cached
  + libblas                               3.9.0  16_linux64_openblas  conda-forge/linux-64     Cached
  + libcblas                              3.9.0  16_linux64_openblas  conda-forge/linux-64     Cached
  + libdeflate                             1.14  h166bdaf_0           conda-forge/linux-64     Cached
  + libedit                        3.1.20191231  he28a2e2_2           conda-forge/linux-64     Cached
  + libffi                                3.4.2  h7f98852_5           conda-forge/linux-64     Cached
  + libgcc-ng                            12.2.0  h65d4601_19          conda-forge/linux-64     Cached
  + libgd                                 2.3.3  h18fbbfe_3           conda-forge/linux-64      272kB
  + libgfortran-ng                       12.2.0  h69a702a_19          conda-forge/linux-64       23kB
  + libgfortran5                         12.2.0  h337968e_19          conda-forge/linux-64        2MB
  + libglib                              2.74.1  h606061b_1           conda-forge/linux-64        3MB
  + libgomp                              12.2.0  h65d4601_19          conda-forge/linux-64     Cached
  + libiconv                               1.17  h166bdaf_0           conda-forge/linux-64     Cached
  + liblapack                             3.9.0  16_linux64_openblas  conda-forge/linux-64     Cached
  + libnsl                                2.0.0  h7f98852_0           conda-forge/linux-64     Cached
  + libopenblas                          0.3.21  pthreads_h78a6416_3  conda-forge/linux-64     Cached
  + libpng                               1.6.38  h753d276_0           conda-forge/linux-64     Cached
  + libpq                                  14.5  he2d8382_1           conda-forge/linux-64        3MB
  + librsvg                              2.54.4  h7abd40a_0           conda-forge/linux-64        7MB
  + libsodium                            1.0.18  h36c2ea0_1           conda-forge/linux-64     Cached
  + libsqlite                            3.39.4  h753d276_0           conda-forge/linux-64     Cached
  + libstdcxx-ng                         12.2.0  h46fd767_19          conda-forge/linux-64     Cached
  + libtiff                               4.4.0  h55922b4_4           conda-forge/linux-64     Cached
  + libtool                               2.4.6  h9c3ff4c_1008        conda-forge/linux-64     Cached
  + libuuid                              2.32.1  h7f98852_1000        conda-forge/linux-64     Cached
  + libwebp                               1.2.4  h522a892_0           conda-forge/linux-64       90kB
  + libwebp-base                          1.2.4  h166bdaf_0           conda-forge/linux-64     Cached
  + libxcb                                 1.13  h7f98852_1004        conda-forge/linux-64     Cached
  + libxml2                              2.10.3  h7463322_0           conda-forge/linux-64     Cached
  + libzlib                              1.2.13  h166bdaf_4           conda-forge/linux-64     Cached
  + mako                                  1.2.3  pyhd8ed1ab_0         conda-forge/noarch         62kB
  + markupsafe                            2.1.1  py39hb9d737c_2       conda-forge/linux-64       23kB
  + matplotlib-inline                     0.1.6  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + multidict                             6.0.2  py39hb9d737c_2       conda-forge/linux-64       53kB
  + ncurses                                 6.3  h27087fc_1           conda-forge/linux-64     Cached
  + nest-asyncio                          1.5.6  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + numpy                                1.23.4  py39h3d75532_1       conda-forge/linux-64        7MB
  + openssl                               3.0.7  h166bdaf_0           conda-forge/linux-64        3MB
  + packaging                              21.3  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pamqp                                 2.3.0  py_0                 conda-forge/noarch         27kB
  + pango                               1.50.11  h382ae3d_0           conda-forge/linux-64      467kB
  + paramiko                             2.12.0  pyhd8ed1ab_0         conda-forge/noarch        144kB
  + parso                                 0.8.3  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pcre2                                 10.40  hc3806b6_0           conda-forge/linux-64        2MB
  + pexpect                               4.8.0  pyh1a96a4e_2         conda-forge/noarch         49kB
  + pgsu                                  0.2.2  pyhd8ed1ab_0         conda-forge/noarch         12kB
  + pickleshare                           0.7.5  py_1003              conda-forge/noarch       Cached
  + pip                                  22.3.1  pyhd8ed1ab_0         conda-forge/noarch          2MB
  + pixman                               0.40.0  h36c2ea0_0           conda-forge/linux-64      643kB
  + plumpy                               0.21.0  pyhd8ed1ab_2         conda-forge/noarch         64kB
  + prompt-toolkit                       3.0.32  pyha770c72_0         conda-forge/noarch        260kB
  + psutil                                5.9.4  py39hb9d737c_0       conda-forge/linux-64      358kB
  + psycopg2                              2.9.3  py39hb9d737c_1       conda-forge/linux-64      185kB
  + psycopg2-binary                       2.9.3  pyhd8ed1ab_1         conda-forge/noarch          8kB
  + pthread-stubs                           0.4  h36c2ea0_1001        conda-forge/linux-64     Cached
  + ptyprocess                            0.7.0  pyhd3deb0d_0         conda-forge/noarch       Cached
  + pycparser                              2.21  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pygments                             2.13.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pynacl                                1.5.0  py39hb9d737c_2       conda-forge/linux-64        1MB
  + pyparsing                             3.0.9  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + pyrsistent                           0.19.2  py39hb9d737c_0       conda-forge/linux-64       96kB
  + python                               3.9.13  h2660328_0_cpython   conda-forge/linux-64     Cached
  + python-graphviz                      0.20.1  pyh22cad53_0         conda-forge/noarch         36kB
  + python_abi                              3.9  2_cp39               conda-forge/linux-64     Cached
  + pytray                                0.3.4  pyhd8ed1ab_0         conda-forge/noarch         25kB
  + pytz                                 2021.3  pyhd8ed1ab_0         conda-forge/noarch        248kB
  + pyyaml                                5.4.1  py39hb9d737c_3       conda-forge/linux-64      190kB
  + pyzmq                                24.0.1  py39headdf64_1       conda-forge/linux-64      499kB
  + readline                              8.1.2  h0f457ee_0           conda-forge/linux-64     Cached
  + setuptools                           65.5.1  pyhd8ed1ab_0         conda-forge/noarch        748kB
  + shortuuid                             1.0.9  pyha770c72_1         conda-forge/noarch         14kB
  + six                                  1.16.0  pyh6c4a22f_0         conda-forge/noarch       Cached
  + sqlalchemy                           1.4.43  py39hb9d737c_0       conda-forge/linux-64        2MB
  + sqlite                               3.39.4  h4ff8645_0           conda-forge/linux-64     Cached
  + tabulate                             0.8.10  pyhd8ed1ab_0         conda-forge/noarch         30kB
  + tk                                   8.6.12  h27826a3_0           conda-forge/linux-64     Cached
  + tornado                                 6.2  py39hb9d737c_1       conda-forge/linux-64      674kB
  + tqdm                                 4.64.1  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + traitlets                             5.5.0  pyhd8ed1ab_0         conda-forge/noarch       Cached
  + typing-extensions                     4.4.0  hd8ed1ab_0           conda-forge/noarch          9kB
  + typing_extensions                     4.4.0  pyha770c72_0         conda-forge/noarch         30kB
  + tzdata                                2022f  h191b570_0           conda-forge/noarch        121kB
  + upf_to_json                           0.9.2  py_0                 conda-forge/noarch         11kB
  + wcwidth                               0.2.5  pyh9f0ad1d_2         conda-forge/noarch       Cached
  + wheel                                0.38.2  pyhd8ed1ab_0         conda-forge/noarch         32kB
  + wrapt                                1.11.2  py39h07f9747_1       conda-forge/linux-64       48kB
  + xorg-kbproto                          1.0.7  h7f98852_1002        conda-forge/linux-64     Cached
  + xorg-libice                          1.0.10  h7f98852_0           conda-forge/linux-64     Cached
  + xorg-libsm                            1.2.3  hd9c2040_1000        conda-forge/linux-64     Cached
  + xorg-libx11                           1.7.2  h7f98852_0           conda-forge/linux-64     Cached
  + xorg-libxau                           1.0.9  h7f98852_0           conda-forge/linux-64     Cached
  + xorg-libxdmcp                         1.1.3  h7f98852_0           conda-forge/linux-64     Cached
  + xorg-libxext                          1.3.4  h7f98852_1           conda-forge/linux-64     Cached
  + xorg-libxrender                      0.9.10  h7f98852_1003        conda-forge/linux-64     Cached
  + xorg-renderproto                     0.11.1  h7f98852_1002        conda-forge/linux-64     Cached
  + xorg-xextproto                        7.3.0  h7f98852_1002        conda-forge/linux-64     Cached
  + xorg-xproto                          7.0.31  h7f98852_1007        conda-forge/linux-64     Cached
  + xz                                    5.2.6  h166bdaf_0           conda-forge/linux-64     Cached
  + yaml                                  0.2.5  h7f98852_2           conda-forge/linux-64     Cached
  + yarl                                  1.8.1  py39hb9d737c_0       conda-forge/linux-64       92kB
  + zeromq                                4.3.4  h9c3ff4c_1           conda-forge/linux-64     Cached
  + zipp                                 3.10.0  pyhd8ed1ab_0         conda-forge/noarch         14kB
  + zlib                                 1.2.13  h166bdaf_4           conda-forge/linux-64     Cached
  + zstd                                  1.5.2  h6239696_4           conda-forge/linux-64     Cached

~$ mamba create -n aiida202 -c conda-forge aiida-core.services==2.0.2

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (0.27.0) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

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


Looking for: ['aiida-core.services==2.0.2']

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache
pkgs/main/linux-64                                            No change
pkgs/main/noarch                                              No change
pkgs/r/linux-64                                               No change
pkgs/r/noarch                                                 No change
Transaction

  Prefix: /anfhome/a-ctalirz/.conda/envs/aiida202

  Updating specs:

   - aiida-core.services==2.0.2


  Package                     Version  Build             Channel                    Size
──────────────────────────────────────────────────────────────────────────────────────────
  Install:
──────────────────────────────────────────────────────────────────────────────────────────

  + _libgcc_mutex                 0.1  conda_forge       conda-forge/linux-64     Cached
  + _openmp_mutex                 4.5  2_gnu             conda-forge/linux-64     Cached
  + aiida-core.services         2.0.2  hd8ed1ab_0        conda-forge/noarch          6kB
  + ca-certificates         2022.9.24  ha878542_0        conda-forge/linux-64     Cached
  + erlang                  23.3.4.10  pl5321hb6651ff_0  conda-forge/linux-64       44MB
  + gettext                    0.21.1  h27087fc_0        conda-forge/linux-64     Cached
  + icu                          70.1  h27087fc_0        conda-forge/linux-64     Cached
  + keyutils                    1.6.1  h166bdaf_0        conda-forge/linux-64     Cached
  + krb5                       1.19.3  h3790be6_0        conda-forge/linux-64     Cached
  + libedit              3.1.20191231  he28a2e2_2        conda-forge/linux-64     Cached
  + libgcc-ng                  12.2.0  h65d4601_19       conda-forge/linux-64     Cached
  + libgfortran-ng             12.2.0  h69a702a_19       conda-forge/linux-64       23kB
  + libgfortran5               12.2.0  h337968e_19       conda-forge/linux-64        2MB
  + libgomp                    12.2.0  h65d4601_19       conda-forge/linux-64     Cached
  + libiconv                     1.17  h166bdaf_0        conda-forge/linux-64     Cached
  + libnsl                      2.0.0  h7f98852_0        conda-forge/linux-64     Cached
  + libpq                        14.5  hd77ab85_1        conda-forge/linux-64        3MB
  + libstdcxx-ng               12.2.0  h46fd767_19       conda-forge/linux-64     Cached
  + libxml2                    2.10.3  h7463322_0        conda-forge/linux-64     Cached
  + libzlib                    1.2.13  h166bdaf_4        conda-forge/linux-64     Cached
  + ncurses                       6.3  h27087fc_1        conda-forge/linux-64     Cached
  + openssl                    1.1.1s  h166bdaf_0        conda-forge/linux-64        2MB
  + perl                       5.32.1  2_h7f98852_perl5  conda-forge/linux-64       15MB
  + postgresql                   14.5  hdeef612_1        conda-forge/linux-64        6MB
  + rabbitmq-server            3.8.14  ha770c72_0        conda-forge/linux-64       24MB
  + readline                    8.1.2  h0f457ee_0        conda-forge/linux-64     Cached
  + tzcode                      2022f  h166bdaf_0        conda-forge/linux-64       74kB
  + tzdata                      2022f  h191b570_0        conda-forge/noarch        121kB
  + xz                          5.2.6  h166bdaf_0        conda-forge/linux-64     Cached
  + zlib                       1.2.13  h166bdaf_4        conda-forge/linux-64     Cached

  Summary:

  Install: 30 packages

  Total download: 97MB

@ltalirz
Copy link
Member

ltalirz commented Nov 8, 2022

One of the changes between 2.0.1 and 2.0.2 was in particular

-        - rabbitmq-server >=3.7
+        - rabbitmq-server >=3.7,<3.8.15

Perhaps that's what is requiring the old openssl version?

@ltalirz ltalirz mentioned this issue Nov 8, 2022
3 tasks
@ltalirz
Copy link
Member

ltalirz commented Nov 10, 2022

Perhaps that's what is requiring the old openssl version?

Just confirmed this:

$ conda create -n test-rmq -c conda-forge rabbitmq-server==3.8.14
/home/leopold/miniconda3/lib/python3.9/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (5.0.0)/charset_normalizer (2.0.4) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.12.0
  latest version: 22.9.0

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: /home/leopold/miniconda3/envs/test-rmq

  added / updated specs:
    - rabbitmq-server==3.8.14


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2022.9.24  |       ha878542_0         150 KB  conda-forge
    erlang-23.3.4.10           | pl5321hb6651ff_0        42.2 MB  conda-forge
    gettext-0.21.1             |       h27087fc_0         4.1 MB  conda-forge
    libgcc-ng-12.2.0           |      h65d4601_19         931 KB  conda-forge
    libgfortran-ng-12.2.0      |      h69a702a_19          22 KB  conda-forge
    libgfortran5-12.2.0        |      h337968e_19         1.8 MB  conda-forge
    libgomp-12.2.0             |      h65d4601_19         455 KB  conda-forge
    libstdcxx-ng-12.2.0        |      h46fd767_19         4.3 MB  conda-forge
    libzlib-1.2.13             |       h166bdaf_4          64 KB  conda-forge
    openssl-1.1.1s             |       h166bdaf_0         2.1 MB  conda-forge
    perl-5.32.1                | 2_h7f98852_perl5        14.4 MB  conda-forge
    rabbitmq-server-3.8.14     |       ha770c72_0        22.9 MB  conda-forge
    zlib-1.2.13                |       h166bdaf_4          92 KB  conda-forge
    ------------------------------------------------------------
                                           Total:        93.4 MB

It does not come directly from rabbitmq-server but I guess indirectly from the erlang dependency
https://github.com/conda-forge/rabbitmq-server-feedstock/blob/9a35807a918f66635d5d688c334472816c94344c/recipe/meta.yaml#L27

There are basically two options:

  1. Ask people to install aiida-core.services into a separate conda environment from aiida-core
  2. Relax the upper version constraint in rabbitmq-server

In my view, we probably prefer people running an up-to-date version of rabbitmq (they then just need to adapt the timeout).
I'll open a PR for this.

@ltalirz ltalirz linked a pull request Nov 10, 2022 that will close this issue
5 tasks
@sphuber
Copy link
Contributor Author

sphuber commented Nov 10, 2022

In my view, we probably prefer people running an up-to-date version of rabbitmq (they then just need to adapt the timeout).
I'll open a PR for this.

Do we know how this is done when RabbitMQ is installed through conda?

@ltalirz
Copy link
Member

ltalirz commented Feb 13, 2023

Unfortunately, our fix in the end did not resolve the issue and it is still not possible to install aiida-core and aiida-core.services into the same environment.

This is the error message from mamba:

$ mamba install -c conda-forge aiida-core.services==2.2.2 aiida-core==2.2.2

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (1.3.1) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

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


Looking for: ['aiida-core.services==2.2.2', 'aiida-core==2.2.2']

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache
pkgs/main/linux-64                                          Using cache
pkgs/main/noarch                                            Using cache
pkgs/r/linux-64                                             Using cache
pkgs/r/noarch                                               Using cache

Pinned packages:
  - python 3.9.*


Could not solve for environment specs
Encountered problems while solving:
  - package aiida-core-2.2.2-pyh1a96a4e_0 has constraint aiida-core.services 2.2.2 0 conflicting with aiida-core.services-2.2.2-hd8ed1ab_0

The environment can't be solved, aborting the operation

@chrisjsewell Is it possible that this constraint is too rigid?

run_constrained:
- {{ pin_subpackage(aiidaservice, exact=True) }}

@ltalirz ltalirz reopened this Feb 13, 2023
@ltalirz
Copy link
Member

ltalirz commented Feb 13, 2023

Or this one

requirements:
run:
- {{ pin_subpackage(aiidacore, exact=True) }}
- {{ pin_subpackage(aiidaservice, exact=True) }}

Also installing the meta-package fails

$ mamba install -c conda-forge aiida==2.2.2

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (1.3.1) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

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


Looking for: ['aiida==2.2.2']

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache
pkgs/main/linux-64                                            No change
pkgs/r/linux-64                                               No change
pkgs/r/noarch                                                 No change
pkgs/main/noarch                                              No change

Pinned packages:
  - python 3.9.*


Could not solve for environment specs
Encountered problems while solving:
  - package aiida-2.2.2-hd8ed1ab_0 requires aiida-core.services 2.2.2 hd8ed1ab_0, but none of the providers can be installed

The environment can't be solved, aborting the operation

@ltalirz
Copy link
Member

ltalirz commented Feb 13, 2023

It seems to me we may need to remove the exact=True from most of the pins

The exact pin requires not just the version but also the build string to be identical.

It appears the build strings are not identical

https://anaconda.org/conda-forge/aiida-core/files
https://anaconda.org/conda-forge/aiida-core.services/files
https://anaconda.org/conda-forge/aiida-core.atomic_tools/files

I'll open a PR

@chrisjsewell
Copy link
Contributor

It seems to me we may need to remove the exact=True from most of the pins

How will this fix the conflict though?

If the dependencies listed in aiida-core, conflict with the dependencies listed for aiida-core.services, in the same build.
Then why would using a different build for each fix this?

@ltalirz ltalirz linked a pull request Feb 13, 2023 that will close this issue
5 tasks
@chrisjsewell
Copy link
Contributor

chrisjsewell commented Feb 13, 2023

have you tried simply installing aiida-core==2.2.2 "postgresql>=9.6" "rabbitmq-server>=3.7", i.e. bypassing the aiida-core.services meta package. Does this work?

@ltalirz
Copy link
Member

ltalirz commented Feb 13, 2023

If the dependencies listed in aiida-core, conflict with the dependencies listed for aiida-core.services, in the same build.
Then why would using a different build for each fix this?

The conflict arises because of the pin you introduced that requires the build string of the package to be identical. It is not because of the package dependencies.

have you tried simply installing aiida-core==2.2.2 "postgresql>=9.6" "rabbitmq-server>=3.7", i.e. bypassing the aiida-core.services meta package. Does this work?

Yep, that works fine

$ mamba install -c conda-forge aiida-core==2.2.2 "postgresql>=9.6" "rabbitmq-server>=3.7"

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (1.3.1) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

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


Looking for: ['aiida-core==2.2.2', "postgresql[version='>=9.6']", "rabbitmq-server[version='>=3.7']"]

pkgs/main/linux-64                                            No change
pkgs/r/linux-64                                               No change
pkgs/main/noarch                                              No change
conda-forge/linux-64                                          No change
conda-forge/noarch                                            No change
pkgs/r/noarch                                                 No change

Pinned packages:
  - python 3.9.*


Transaction

  Prefix: /home/leopold/miniconda3/envs/aiida-test

  Updating specs:

   - aiida-core==2.2.2
   - postgresql[version='>=9.6']
   - rabbitmq-server[version='>=3.7']
   - ca-certificates
   - certifi
   - openssl


  Package            Version  Build             Channel                   Size
────────────────────────────────────────────────────────────────────────────────
  Install:
────────────────────────────────────────────────────────────────────────────────

  + erlang            25.2.2  pl5321h187a391_0  conda-forge/linux-64      42MB
  + perl              5.32.1  2_h7f98852_perl5  conda-forge/linux-64      15MB
  + postgresql          15.2  h3248436_0        conda-forge/linux-64       5MB
  + rabbitmq-server   3.11.8  ha770c72_0        conda-forge/linux-64      18MB
  + socat            1.7.4.3  hcf15d07_0        conda-forge/linux-64     224kB
  + tzcode             2022g  h166bdaf_0        conda-forge/linux-64      67kB

  Summary:

  Install: 6 packages

  Total download: 81MB

────────────────────────────────────────────────────────────────────────────────


Confirm changes: [Y/n]

@ltalirz
Copy link
Member

ltalirz commented Feb 13, 2023

By the way, mamba would even be happy to install

mamba install -c conda-forge aiida-core==2.2.2 "postgresql>=9.6" "rabbitmq-server>=3.7,<3.8.15"

so I will reintroduce this upper bound.

@ltalirz
Copy link
Member

ltalirz commented Feb 13, 2023

Hooray

$ mamba install -c conda-forge aiida==2.2.2

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (1.3.1) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

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


Looking for: ['aiida==2.2.2']

pkgs/main/linux-64                                            No change
pkgs/r/linux-64                                               No change
pkgs/main/noarch                                              No change
pkgs/r/noarch                                                 No change
conda-forge/noarch                                  11.2MB @   1.6MB/s  7.2s
conda-forge/linux-64                                29.6MB @   1.9MB/s 16.0s

Pinned packages:
  - python 3.9.*


Transaction

  Prefix: /home/leopold/miniconda3/envs/aiida-test

  Updating specs:

   - aiida==2.2.2
   - ca-certificates
   - certifi
   - openssl


  Package                Version  Build             Channel                   Size
────────────────────────────────────────────────────────────────────────────────────
  Install:
────────────────────────────────────────────────────────────────────────────────────

  + aiida                  2.2.2  pyh1a96a4e_1      conda-forge/noarch         7kB
  + aiida-core.services    2.2.2  hd8ed1ab_0        conda-forge/noarch         7kB
  + erlang                25.2.2  pl5321h187a391_0  conda-forge/linux-64      42MB
  + perl                  5.32.1  2_h7f98852_perl5  conda-forge/linux-64      15MB
  + postgresql              15.2  h3248436_0        conda-forge/linux-64       5MB
  + rabbitmq-server       3.11.8  ha770c72_0        conda-forge/linux-64      18MB
  + socat                1.7.4.3  hcf15d07_0        conda-forge/linux-64     224kB
  + tzcode                 2022g  h166bdaf_0        conda-forge/linux-64      67kB

  Change:
────────────────────────────────────────────────────────────────────────────────────

  - aiida-core             2.2.2  pyh1a96a4e_0      conda-forge
  + aiida-core             2.2.2  pyh1a96a4e_1      conda-forge/noarch       700kB

  Summary:

  Install: 8 packages
  Change: 1 packages

  Total download: 81MB

────────────────────────────────────────────────────────────────────────────────────


Confirm changes: [Y/n]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants