-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Concretizing failure between python and py-matplotlib #11659
Copy link
Copy link
Closed
Labels
Description
Spack will not concretize py-matplotlib and python together without explicit version constraints. Recent versions of matplotlib require python 3.5+, but it seems to conflict with a non-existing constraint "spec asked for 2.7.16".
Changing the python dependency to [email protected]: fixes the issue, but I feel like this should not be necessary.
Steps to reproduce the issue
Here is the minimal package file I tested.
from spack import *
class TestPackage(Package):
git = "http://github.com/codeandkey/dotfiles"
version('develop', branch='master')
depends_on('python')
depends_on('py-matplotlib')Error Message
==> Error: An unsatisfiable version constraint has been detected for spec:
[email protected]%[email protected]+bz2+ctypes+dbm+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter~ucs4~uuid+zlib arch=linux-rhel7-x86_64
^[email protected]%[email protected]+shared arch=linux-rhel7-x86_64
^[email protected]%[email protected] arch=linux-rhel7-x86_64
^expat
^gdbm
^readline
^ncurses
^[email protected]%[email protected] arch=linux-rhel7-x86_64
^libffi
^openssl
^[email protected]:
^[email protected]%[email protected]+optimize+pic+shared arch=linux-rhel7-x86_64
^[email protected]:
while trying to concretize the partial spec:
[email protected]%[email protected]~animation+image~ipython~latex~qt+tk arch=linux-rhel7-x86_64
^[email protected]%[email protected] arch=linux-rhel7-x86_64
^[email protected]%[email protected]+shared arch=linux-rhel7-x86_64
^[email protected]%[email protected] arch=linux-rhel7-x86_64
^[email protected]%[email protected] arch=linux-rhel7-x86_64
^[email protected]%[email protected]+optimize+pic+shared arch=linux-rhel7-x86_64 [21/760]
^[email protected]%[email protected] arch=linux-rhel7-x86_64
^pil
^[email protected]%[email protected] arch=linux-rhel7-x86_64
^[email protected]%[email protected] arch=linux-rhel7-x86_64
^[email protected]%[email protected]+bz2+ctypes+dbm+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter~ucs4~uuid+zlib arch=linux-rhel7-x86_64
^expat
^gdbm
^readline
^ncurses
^libffi
^openssl
^[email protected]:
^[email protected]:
^py-setuptools-scm
^[email protected]%[email protected] arch=linux-rhel7-x86_64
^[email protected]%[email protected] arch=linux-rhel7-x86_64
^[email protected]%[email protected] arch=linux-rhel7-x86_64
^[email protected]%[email protected] build_type=RelWithDebInfo arch=linux-rhel7-x86_64
^[email protected]%[email protected]~doc+ncurses+openssl+ownlibs~qt arch=linux-rhel7-x86_64
^[email protected]%[email protected]+guile+zlib arch=linux-rhel7-x86_64
^[email protected]%[email protected]+bzip2+curses+git~libunistring+libxml2+tar+xz arch=linux-rhel7-x86_64
^libxml2
^libiconv
^xz
^tar
^guile
^[email protected]:
^[email protected]:
^autoconf
^[email protected]:
^automake
^[email protected]:
^[email protected]:
^[email protected]:
^[email protected]:
^libx11
^inputproto
^util-macros
^kbproto
^[email protected]:
^libpthread-stubs
^[email protected]:
^[email protected]:
^libxdmcp
^xcb-proto
^xextproto
^xtrans
^[email protected]:
py-matplotlib requires python version 3.5:, but spec asked for 2.7.16Reactions are currently unavailable