Bug #2767
conda gammalib conflicts with nlesc root
| Status: | New | Start date: | 12/10/2018 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned To: | - | % Done: | 0% | |
| Category: | - | |||
| Target version: | - | |||
| Duration: |
Description
I’ve got gammalib installed via conda, but when I try to install nlesc’s root, its in conflict.
$ conda install -c nlesc root Solving environment: failed UnsatisfiableError: The following specifications were found to be in conflict: - gammalib - root Use "conda info <package>" to see the dependencies for each package. $ conda list gammalib # packages in environment at /Users/nkelhos/Software/miniconda3: # # Name Version Build Channel gammalib 1.5.2 py36h6f99bf5_1 cta-observatory
I know anaconda provides sandboxed python environments, but it’d be nice if these two packages could play well together. I’d rather not have workflows that need to switch between different conda environments to work.
Recurrence
No recurrence.
History
#1
Updated by Knödlseder Jürgen almost 8 years ago
I would need more information about the reason for the conflict.
#2
Updated by Kelley-Hoskins Nathan almost 8 years ago
I think I’m going to downgrade this from 'conflict’ to 'restrictive dependency’. Basically, if I install gammalib, then installing root removes gammalib.
OSX system info:
$ uname -a Darwin s68dyn250.zeuthen.desy.de 18.0.0 Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64 x86_64 i386 MacBookPro11,1 Darwin
Steps to recreate:
$ conda create --name gamconf python=3 $ source activate gamconf $ conda install -c cta-observatory gammalib
Package list at this point:
$ conda list # packages in environment at /Users/nkelhos/Software/miniconda3/envs/gamconf: # # Name Version Build Channel ca-certificates 2018.03.07 0 anaconda certifi 2018.10.15 py36_0 anaconda cfitsio 3.430 hd130d23_1 conda-forge curl 7.62.0 ha441bb4_0 anaconda gammalib 1.5.2 py36h6f99bf5_1 cta-observatory libcurl 7.62.0 h051b688_0 anaconda libcxx 4.0.1 hcfea43d_1 anaconda libcxxabi 4.0.1 hcfea43d_1 anaconda libedit 3.1.20170329 hb402a30_2 anaconda libffi 3.2.1 h475c297_4 anaconda libgfortran 3.0.1 h93005f0_2 anaconda libssh2 1.8.0 ha12b0ac_4 anaconda ncurses 6.1 h0a44026_1 anaconda openssl 1.1.1 h1de35cc_0 anaconda pip 18.1 py36_0 anaconda python 3.6.7 haf84260_0 anaconda readline 7.0 h1de35cc_5 anaconda setuptools 40.6.2 py36_0 anaconda sqlite 3.25.3 ha441bb4_0 anaconda tk 8.6.8 ha441bb4_0 anaconda wheel 0.32.3 py36_0 anaconda xz 5.2.4 h1de35cc_4 anaconda zlib 1.2.11 h1de35cc_3 anaconda
Installing root:
$ conda install -c nlesc root
Solving environment: done
## Package Plan ##
environment location: /Users/nkelhos/Software/miniconda3/envs/gamconf
added / updated specs:
- root
The following packages will be downloaded:
package | build
---------------------------|-----------------
root-6.04 | py2.7_clang503 103.2 MB nlesc
libxml2-2.9.8 | hab757c2_1 1.9 MB anaconda
python-2.7.15 | h8f8e585_4 12.1 MB anaconda
certifi-2018.10.15 | py27_0 138 KB anaconda
pip-18.1 | py27_0 1.8 MB anaconda
wheel-0.32.3 | py27_0 34 KB anaconda
icu-58.2 | h4b95b61_1 22.3 MB anaconda
setuptools-40.6.2 | py27_0 619 KB anaconda
------------------------------------------------------------
Total: 142.1 MB
The following NEW packages will be INSTALLED:
fftw: 3.3.4-0 nlesc
freetype: 2.9.1-hb4e5f40_0 anaconda
gsl: 1.16-2 nlesc
icu: 58.2-h4b95b61_1 anaconda
krb5: 1.16.1-hddcf347_7 anaconda
libiconv: 1.15-hdd342a3_7 anaconda
libpng: 1.6.35-ha441bb4_0 anaconda
libxml2: 2.9.8-hab757c2_1 anaconda
pcre: 8.35-7 nlesc
root: 6.04-py2.7_clang503 nlesc
The following packages will be REMOVED:
gammalib: 1.5.2-py36h6f99bf5_1 cta-observatory
The following packages will be UPDATED:
certifi: 2018.10.15-py36_0 anaconda --> 2018.10.15-py27_0 anaconda
pip: 18.1-py36_0 anaconda --> 18.1-py27_0 anaconda
setuptools: 40.6.2-py36_0 anaconda --> 40.6.2-py27_0 anaconda
wheel: 0.32.3-py36_0 anaconda --> 0.32.3-py27_0 anaconda
The following packages will be DOWNGRADED:
python: 3.6.7-haf84260_0 anaconda --> 2.7.15-h8f8e585_4 anaconda
Proceed ([y]/n)?
So installing root tries to remove gammalib completely, and downgrades me to Python 2.7 as well.
The two packages that (I think) were in conflict:
$ conda info root
root 5.34.30 py3.4_clang503
---------------------------
file name : root-5.34.30-py3.4_clang503.tar.bz2
name : root
version : 5.34.30
build string: py3.4_clang503
build number: 39
channel : https://conda.anaconda.org/nlesc/osx-64
size : 52.2 MB
arch : x86_64
constrains : ()
license : LGPL v2.1
md5 : 31f008f242eccbecc6c0eab464dcd701
platform : darwin
subdir : osx-64
url : https://conda.anaconda.org/nlesc/osx-64/root-5.34.30-py3.4_clang503.tar.bz2
dependencies:
fftw
gsl 1.16
krb5
libxml2
openssl
pcre
python 3.4*
xz
root 6.04 py3.4_clang503
------------------------
file name : root-6.04-py3.4_clang503.tar.bz2
name : root
version : 6.04
build string: py3.4_clang503
build number: 39
channel : https://conda.anaconda.org/nlesc/osx-64
size : 103.2 MB
arch : x86_64
constrains : ()
license : LGPL v2.1
md5 : 7043f70e45d4fcb80cbfe89de7cfabf4
platform : darwin
subdir : osx-64
url : https://conda.anaconda.org/nlesc/osx-64/root-6.04-py3.4_clang503.tar.bz2
dependencies:
fftw
freetype
gsl 1.16
krb5
libxml2
openssl
pcre
python 3.4*
xz
root 5.34.32 py3.4_clang503
---------------------------
file name : root-5.34.32-py3.4_clang503.tar.bz2
name : root
version : 5.34.32
build string: py3.4_clang503
build number: 40
channel : https://conda.anaconda.org/nlesc/osx-64
size : 51.0 MB
arch : x86_64
constrains : ()
license : LGPL v2.1
md5 : cf9b6047a9c4f71a2e63a029d754fae7
platform : darwin
subdir : osx-64
url : https://conda.anaconda.org/nlesc/osx-64/root-5.34.32-py3.4_clang503.tar.bz2
dependencies:
fftw
freetype
gsl 1.16
krb5
libxml2
openssl
pcre
python 3.4*
sqlite
xz
root 5.34.32 py2.7_clang503
---------------------------
file name : root-5.34.32-py2.7_clang503.tar.bz2
name : root
version : 5.34.32
build string: py2.7_clang503
build number: 40
channel : https://conda.anaconda.org/nlesc/osx-64
size : 50.5 MB
arch : x86_64
constrains : ()
license : LGPL v2.1
md5 : f69e1fd28dcd747e442060d4f448a3ec
platform : darwin
subdir : osx-64
url : https://conda.anaconda.org/nlesc/osx-64/root-5.34.32-py2.7_clang503.tar.bz2
dependencies:
fftw
freetype
gsl 1.16
krb5
libxml2
openssl
pcre
python 2.7*
sqlite
xz
root 6.04 py2.7_clang503
------------------------
file name : root-6.04-py2.7_clang503.tar.bz2
name : root
version : 6.04
build string: py2.7_clang503
build number: 39
channel : https://conda.anaconda.org/nlesc/osx-64
size : 103.2 MB
arch : x86_64
constrains : ()
license : LGPL v2.1
md5 : 07bcb86c55414f2639ef1594feaf3dc7
platform : darwin
subdir : osx-64
url : https://conda.anaconda.org/nlesc/osx-64/root-6.04-py2.7_clang503.tar.bz2
dependencies:
fftw
freetype
gsl 1.16
krb5
libxml2
openssl
pcre
python 2.7*
xz
$ conda info gammalib
gammalib 1.5.1 py36h4218a00_1
-----------------------------
file name : gammalib-1.5.1-py36h4218a00_1.tar.bz2
name : gammalib
version : 1.5.1
build string: py36h4218a00_1
build number: 1
channel : https://conda.anaconda.org/cta-observatory/osx-64
size : 15.9 MB
arch : x86_64
constrains : ()
license : GPL3
md5 : 6df8cf02e29ba34bef5ee23b818ec9c8
platform : darwin
subdir : osx-64
timestamp : 1522112179897
url : https://conda.anaconda.org/cta-observatory/osx-64/gammalib-1.5.1-py36h4218a00_1.tar.bz2
dependencies:
cfitsio
ncurses >=6.0,<7.0a0
python >=3.6,<3.7.0a0
readline >=7.0,<8.0a0
gammalib 1.4.3 py36h9db3a82_1
-----------------------------
file name : gammalib-1.4.3-py36h9db3a82_1.tar.bz2
name : gammalib
version : 1.4.3
build string: py36h9db3a82_1
build number: 1
channel : https://conda.anaconda.org/cta-observatory/osx-64
size : 15.2 MB
arch : x86_64
constrains : ()
license : GPL3
md5 : 648168cb8849c387470d3fc8cfcf2666
platform : darwin
subdir : osx-64
timestamp : 1510290352604
url : https://conda.anaconda.org/cta-observatory/osx-64/gammalib-1.4.3 py36h9db3a82_1.tar.bz2
dependencies:
cfitsio
ncurses >=6.0,<7.0a0
python >=3.6,<3.7.0a0
readline >=7.0,<8.0a0
gammalib 1.5.0 py35h36bf99d_1
-----------------------------
file name : gammalib-1.5.0-py35h36bf99d_1.tar.bz2
name : gammalib
version : 1.5.0
build string: py35h36bf99d_1
build number: 1
channel : https://conda.anaconda.org/cta-observatory/osx-64
size : 15.9 MB
arch : x86_64
constrains : ()
license : GPL3
md5 : 6b49afdec25d98453e7642e4e07212cc
platform : darwin
subdir : osx-64
timestamp : 1517419761613
url : https://conda.anaconda.org/cta-observatory/osx-64/gammalib-1.5.0-py35h36bf99d_1.tar.bz2
dependencies:
cfitsio
ncurses >=6.0,<7.0a0
python >=3.5,<3.6.0a0
readline >=7.0,<8.0a0
gammalib 1.5.2 py35he3b910d_1
-----------------------------
file name : gammalib-1.5.2-py35he3b910d_1.tar.bz2
name : gammalib
version : 1.5.2
build string: py35he3b910d_1
build number: 1
channel : https://conda.anaconda.org/cta-observatory/osx-64
size : 15.9 MB
arch : x86_64
constrains : ()
license : GPL3
md5 : 76d1ba9dbc747751deb96f4fbb64dcee
platform : darwin
subdir : osx-64
timestamp : 1524948355838
url : https://conda.anaconda.org/cta-observatory/osx-64/gammalib-1.5.2-py35he3b910d_1.tar.bz2
dependencies:
cfitsio
ncurses >=6.0,<7.0a0
python >=3.5,<3.6.0a0
readline >=7.0,<8.0a0
gammalib 1.5.0 py27h706fc6e_1
-----------------------------
file name : gammalib-1.5.0-py27h706fc6e_1.tar.bz2
name : gammalib
version : 1.5.0
build string: py27h706fc6e_1
build number: 1
channel : https://conda.anaconda.org/cta-observatory/osx-64
size : 16.0 MB
arch : x86_64
constrains : ()
license : GPL3
md5 : 675db61cc6b47e987c4228b62c365d28
platform : darwin
subdir : osx-64
timestamp : 1517419505224
url : https://conda.anaconda.org/cta-observatory/osx-64/gammalib-1.5.0-py27h706fc6e_1.tar.bz2
dependencies:
cfitsio
ncurses >=6.0,<7.0a0
python >=2.7,<2.8.0a0
readline >=7.0,<8.0a0
gammalib 1.5.2 py36h6f99bf5_1
-----------------------------
file name : gammalib-1.5.2-py36h6f99bf5_1.tar.bz2
name : gammalib
version : 1.5.2
build string: py36h6f99bf5_1
build number: 1
channel : https://conda.anaconda.org/cta-observatory/osx-64
size : 15.9 MB
arch : x86_64
constrains : ()
license : GPL3
md5 : e35d5ec8401b6293ec169379fa3fc902
platform : darwin
subdir : osx-64
timestamp : 1524948064949
url : https://conda.anaconda.org/cta-observatory/osx-64/gammalib-1.5.2-py36h6f99bf5_1.tar.bz2
dependencies:
cfitsio
ncurses >=6.0,<7.0a0
python >=3.6,<3.7.0a0
readline >=7.0,<8.0a0
gammalib 1.4.3 py27h937712c_1
-----------------------------
file name : gammalib-1.4.3-py27h937712c_1.tar.bz2
name : gammalib
version : 1.4.3
build string: py27h937712c_1
build number: 1
channel : https://conda.anaconda.org/cta-observatory/osx-64
size : 15.2 MB
arch : x86_64
constrains : ()
license : GPL3
md5 : 2b2ae7acdb2d2b0aeba71cddf898ba57
platform : darwin
subdir : osx-64
timestamp : 1510290850384
url : https://conda.anaconda.org/cta-observatory/osx-64/gammalib-1.4.3-py27h937712c_1.tar.bz2
dependencies:
cfitsio
ncurses >=6.0,<7.0a0
python >=2.7,<2.8.0a0
readline >=7.0,<8.0a0
gammalib 1.5.1 py35h585b5c9_1
-----------------------------
file name : gammalib-1.5.1-py35h585b5c9_1.tar.bz2
name : gammalib
version : 1.5.1
build string: py35h585b5c9_1
build number: 1
channel : https://conda.anaconda.org/cta-observatory/osx-64
size : 15.9 MB
arch : x86_64
constrains : ()
license : GPL3
md5 : e3c74107c8be0a36cd3af6840dc436a8
platform : darwin
subdir : osx-64
timestamp : 1522112833879
url : https://conda.anaconda.org/cta-observatory/osx-64/gammalib-1.5.1-py35h585b5c9_1.tar.bz2
dependencies:
cfitsio
ncurses >=6.0,<7.0a0
python >=3.5,<3.6.0a0
readline >=7.0,<8.0a0
gammalib 1.5.0 py36h34772a5_1
-----------------------------
file name : gammalib-1.5.0-py36h34772a5_1.tar.bz2
name : gammalib
version : 1.5.0
build string: py36h34772a5_1
build number: 1
channel : https://conda.anaconda.org/cta-observatory/osx-64
size : 15.9 MB
arch : x86_64
constrains : ()
license : GPL3
md5 : bcc6942297824261f0a0001ac1a792be
platform : darwin
subdir : osx-64
timestamp : 1517420017782
url : https://conda.anaconda.org/cta-observatory/osx-64/gammalib-1.5.0-py36h34772a5_1.tar.bz2
dependencies:
cfitsio
ncurses >=6.0,<7.0a0
python >=3.6,<3.7.0a0
readline >=7.0,<8.0a0
gammalib 1.4.3 py35h3bd4561_1
-----------------------------
file name : gammalib-1.4.3-py35h3bd4561_1.tar.bz2
name : gammalib
version : 1.4.3
build string: py35h3bd4561_1
build number: 1
channel : https://conda.anaconda.org/cta-observatory/osx-64
size : 15.1 MB
arch : x86_64
constrains : ()
license : GPL3
md5 : 9d8f4668ace486d85efda8e941e8a128
platform : darwin
subdir : osx-64
timestamp : 1510290603283
url : https://conda.anaconda.org/cta-observatory/osx-64/gammalib-1.4.3-py35h3bd4561_1.tar.bz2
dependencies:
cfitsio
ncurses >=6.0,<7.0a0
python >=3.5,<3.6.0a0
readline >=7.0,<8.0a0
gammalib 1.5.1 py27h39383e3_1
-----------------------------
file name : gammalib-1.5.1-py27h39383e3_1.tar.bz2
name : gammalib
version : 1.5.1
build string: py27h39383e3_1
build number: 1
channel : https://conda.anaconda.org/cta-observatory/osx-64
size : 16.0 MB
arch : x86_64
constrains : ()
license : GPL3
md5 : 0db457d02d849a4c498de6db318ff0b6
platform : darwin
subdir : osx-64
timestamp : 1522112501254
url : https://conda.anaconda.org/cta-observatory/osx-64/gammalib-1.5.1-py27h39383e3_1.tar.bz2
dependencies:
cfitsio
ncurses >=6.0,<7.0a0
python >=2.7,<2.8.0a0
readline >=7.0,<8.0a0
gammalib 1.5.2 py27h02d9f87_1
-----------------------------
file name : gammalib-1.5.2-py27h02d9f87_1.tar.bz2
name : gammalib
version : 1.5.2
build string: py27h02d9f87_1
build number: 1
channel : https://conda.anaconda.org/cta-observatory/osx-64
size : 16.0 MB
arch : x86_64
constrains : ()
license : GPL3
md5 : d499f6d0860fdbaad82c56080d6c373c
platform : darwin
subdir : osx-64
timestamp : 1524947774018
url : https://conda.anaconda.org/cta-observatory/osx-64/gammalib-1.5.2-py27h02d9f87_1.tar.bz2
dependencies:
cfitsio
ncurses >=6.0,<7.0a0
python >=2.7,<2.8.0a0
readline >=7.0,<8.0a0
Doing the autopsy of this a day later, I’m still not sure where the problem is. It could very easily be in root, and not in gammalib.