Skip to content

Build script fails: version requirements incompatible #575

@gzuidhof

Description

@gzuidhof

It looks like there is a version conflict on master, the interesting bit:

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

  - mkl-service -> mkl[version='>=2019.4,<2020.0a0']
  - mkl_fft -> mkl[version='>=2019.3,<2020.0a0']
  - mkl_random -> mkl[version='>=2019.3,<2020.0a0']
  - pkgs/main/linux-64::bitarray==0.9.3=py36h7b6447c_0
  - pkgs/main/linux-64::lxml==4.3.0=py36hefd8a0e_0
  - pkgs/main/linux-64::mkl==2019.0=118
  - pkgs/main/linux-64::navigator-updater==0.2.1=py36_0
  - pkgs/main/linux-64::nltk==3.4.1=py36_0
  - pkgs/main/linux-64::pango==1.42.4=h049681c_0
  - pkgs/main/linux-64::sympy==1.4=py36_0
  - pkgs/main/noarch::openpyxl==2.6.2=py_0
  - pkgs/main/noarch::path.py==12.0.1=py_0
  - pkgs/main/noarch::xlsxwriter==1.1.8=py_0

Full step 11:

Step 11/37 : RUN apt-get install -y libfreetype6-dev &&     apt-get install -y libglib2.0-0 libxext6 libsm6 libxrender1 libfontconfig1 --fix-missing &&     pip install gensim &&     pip install textblob &&     pip install wordcloud &&     conda install -y -c conda-forge python-igraph &&     pip install xgboost &&     pip install lightgbm &&     pip install git+git://github.com/Lasagne/Lasagne.git &&     pip install keras &&     pip install keras-rl &&     pip install git+https://github.com/broadinstitute/keras-rcnn &&     pip install flake8==3.6.0 &&     cd /usr/local/src &&     git clone --depth 1 https://github.com/NervanaSystems/neon.git &&     cd neon && pip install . &&     cd /usr/local/src && mkdir nolearn && cd nolearn &&     git clone --depth 1 https://github.com/dnouri/nolearn.git && cd nolearn &&     echo "x" > README.rst && echo "x" > CHANGES.rst &&     python setup.py install &&     pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps &&     printf "[global]\nbase_compiledir = /tmp/.theano\n" > /.theanorc &&     cd /usr/local/src &&  git clone --depth 1 https://github.com/pybrain/pybrain &&     cd pybrain && python setup.py install &&     apt-get install -y libatlas-base-dev &&     cd /usr/local/src && git clone --depth 1 https://github.com/ztane/python-Levenshtein &&     cd python-Levenshtein && python setup.py install &&     pip install hep_ml &&     pip install chainer &&     mkdir -p /usr/share/nltk_data &&     yes | python -m nltk.downloader -d /usr/share/nltk_data abc alpino averaged_perceptron_tagger     basque_grammars biocreative_ppi bllip_wsj_no_aux     book_grammars brown brown_tei cess_cat cess_esp chat80 city_database cmudict     comtrans conll2000 conll2002 conll2007 crubadan dependency_treebank     europarl_raw floresta gazetteers genesis gutenberg     ieer inaugural indian jeita kimmo knbc large_grammars lin_thesaurus mac_morpho machado     masc_tagged maxent_ne_chunker maxent_treebank_pos_tagger moses_sample movie_reviews     mte_teip5 names nps_chat omw opinion_lexicon paradigms     pil pl196x porter_test ppattach problem_reports product_reviews_1 product_reviews_2 propbank     pros_cons ptb punkt qc reuters rslp rte sample_grammars semcor senseval sentence_polarity     sentiwordnet shakespeare sinica_treebank smultron snowball_data spanish_grammars     state_union stopwords subjectivity swadesh switchboard tagsets timit toolbox treebank     twitter_samples udhr2 udhr unicode_samples universal_tagset universal_treebanks_v20     vader_lexicon verbnet webtext word2vec_sample wordnet wordnet_ic words ycoe &&     pip install stop-words &&     pip install --upgrade scikit-image &&     /tmp/clean-layer.sh
 ---> Running in c72e3fd3034b
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpng-dev libpng-tools zlib1g-dev
The following NEW packages will be installed:
  libfreetype6-dev libpng-dev libpng-tools zlib1g-dev
0 upgraded, 4 newly installed, 0 to remove and 33 not upgraded.
Need to get 6403 kB of archives.
After this operation, 10.5 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-5 [205 kB]
Get:2 http://security.debian.org/debian-security stretch/updates/main amd64 libpng-dev amd64 1.6.28-1+deb9u1 [250 kB]
Get:3 http://deb.debian.org/debian stretch/main amd64 libfreetype6-dev amd64 2.6.3-3.2 [5815 kB]
Get:4 http://security.debian.org/debian-security stretch/updates/main amd64 libpng-tools amd64 1.6.28-1+deb9u1 [133 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 6403 kB in 1s (3372 kB/s)
Selecting previously unselected package zlib1g-dev:amd64.
(Reading database ... 23795 files and directories currently installed.)
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-5_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ...
Selecting previously unselected package libpng-dev:amd64.
Preparing to unpack .../libpng-dev_1.6.28-1+deb9u1_amd64.deb ...
Unpacking libpng-dev:amd64 (1.6.28-1+deb9u1) ...
Selecting previously unselected package libfreetype6-dev.
Preparing to unpack .../libfreetype6-dev_2.6.3-3.2_amd64.deb ...
Unpacking libfreetype6-dev (2.6.3-3.2) ...
Selecting previously unselected package libpng-tools.
Preparing to unpack .../libpng-tools_1.6.28-1+deb9u1_amd64.deb ...
Unpacking libpng-tools (1.6.28-1+deb9u1) ...
Setting up libpng-tools (1.6.28-1+deb9u1) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ...
Setting up libpng-dev:amd64 (1.6.28-1+deb9u1) ...
Setting up libfreetype6-dev (2.6.3-3.2) ...
Reading package lists...
Building dependency tree...
Reading state information...
libfontconfig1 is already the newest version (2.11.0-6.7+b1).
libglib2.0-0 is already the newest version (2.50.3-2).
libsm6 is already the newest version (2:1.2.2-1+b3).
libxext6 is already the newest version (2:1.3.3-1+b2).
libxrender1 is already the newest version (1:0.9.10-1).
0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
Collecting gensim
  Downloading https://files.pythonhosted.org/packages/d3/4b/19eecdf07d614665fa889857dc56ac965631c7bd816c3476d2f0cac6ea3b/gensim-3.7.3-cp36-cp36m-manylinux1_x86_64.whl (24.2MB)
Requirement already satisfied: six>=1.5.0 in /opt/conda/lib/python3.6/site-packages (from gensim) (1.12.0)
Collecting smart-open>=1.7.0 (from gensim)
  Downloading https://files.pythonhosted.org/packages/37/c0/25d19badc495428dec6a4bf7782de617ee0246a9211af75b302a2681dea7/smart_open-1.8.4.tar.gz (63kB)
Requirement already satisfied: scipy>=0.18.1 in /opt/conda/lib/python3.6/site-packages (from gensim) (1.3.0)
Requirement already satisfied: numpy>=1.11.3 in /opt/conda/lib/python3.6/site-packages (from gensim) (1.16.4)
Requirement already satisfied: boto>=2.32 in /opt/conda/lib/python3.6/site-packages (from smart-open>=1.7.0->gensim) (2.49.0)
Requirement already satisfied: requests in /opt/conda/lib/python3.6/site-packages (from smart-open>=1.7.0->gensim) (2.22.0)
Collecting boto3 (from smart-open>=1.7.0->gensim)
  Downloading https://files.pythonhosted.org/packages/3b/6e/8189e561e15eb0def4f3155ab4addf231891b2df2216495fc58a5049af55/boto3-1.9.180-py2.py3-none-any.whl (128kB)
Requirement already satisfied: idna<2.9,>=2.5 in /opt/conda/lib/python3.6/site-packages (from requests->smart-open>=1.7.0->gensim) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /opt/conda/lib/python3.6/site-packages (from requests->smart-open>=1.7.0->gensim) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /opt/conda/lib/python3.6/site-packages (from requests->smart-open>=1.7.0->gensim) (1.24.2)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.6/site-packages (from requests->smart-open>=1.7.0->gensim) (2019.6.16)
Collecting s3transfer<0.3.0,>=0.2.0 (from boto3->smart-open>=1.7.0->gensim)
  Downloading https://files.pythonhosted.org/packages/16/8a/1fc3dba0c4923c2a76e1ff0d52b305c44606da63f718d14d3231e21c51b0/s3transfer-0.2.1-py2.py3-none-any.whl (70kB)
Collecting jmespath<1.0.0,>=0.7.1 (from boto3->smart-open>=1.7.0->gensim)
  Downloading https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl
Collecting botocore<1.13.0,>=1.12.180 (from boto3->smart-open>=1.7.0->gensim)
  Downloading https://files.pythonhosted.org/packages/3b/27/fa7da6feb20d1dfc0ab562226061b20da2d27ea18ca32dc764fe86704a99/botocore-1.12.180-py2.py3-none-any.whl (5.6MB)
Requirement already satisfied: docutils>=0.10 in /opt/conda/lib/python3.6/site-packages (from botocore<1.13.0,>=1.12.180->boto3->smart-open>=1.7.0->gensim) (0.14)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1; python_version >= "2.7" in /opt/conda/lib/python3.6/site-packages (from botocore<1.13.0,>=1.12.180->boto3->smart-open>=1.7.0->gensim) (2.8.0)
Building wheels for collected packages: smart-open
  Building wheel for smart-open (setup.py): started
  Building wheel for smart-open (setup.py): finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/5f/ea/fb/5b1a947b369724063b2617011f1540c44eb00e28c3d2ca8692
Successfully built smart-open
Installing collected packages: jmespath, botocore, s3transfer, boto3, smart-open, gensim
Successfully installed boto3-1.9.180 botocore-1.12.180 gensim-3.7.3 jmespath-0.9.4 s3transfer-0.2.1 smart-open-1.8.4
Collecting textblob
  Downloading https://files.pythonhosted.org/packages/60/f0/1d9bfcc8ee6b83472ec571406bd0dd51c0e6330ff1a51b2d29861d389e85/textblob-0.15.3-py2.py3-none-any.whl (636kB)
Requirement already satisfied: nltk>=3.1 in /opt/conda/lib/python3.6/site-packages (from textblob) (3.4.1)
Requirement already satisfied: six in /opt/conda/lib/python3.6/site-packages (from nltk>=3.1->textblob) (1.12.0)
Installing collected packages: textblob
Successfully installed textblob-0.15.3
Collecting wordcloud
  Downloading https://files.pythonhosted.org/packages/ae/af/849edf14d573eba9c8082db898ff0d090428d9485371cc4fe21a66717ad2/wordcloud-1.5.0-cp36-cp36m-manylinux1_x86_64.whl (361kB)
Requirement already satisfied: numpy>=1.6.1 in /opt/conda/lib/python3.6/site-packages (from wordcloud) (1.16.4)
Requirement already satisfied: pillow in /opt/conda/lib/python3.6/site-packages (from wordcloud) (5.4.1)
Installing collected packages: wordcloud
Successfully installed wordcloud-1.5.0
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... 
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:

  - defaults/linux-64::dask==0.19.1=py37_0
  - defaults/linux-64::datashape==0.5.4=py37_1
  - defaults/linux-64::scipy==1.1.0=py37hfa4b5c9_1
  - defaults/linux-64::pytest-doctestplus==0.1.3=py37_0
  - defaults/linux-64::statsmodels==0.9.0=py37h035aef0_0
  - defaults/linux-64::numpy-base==1.15.1=py37h81de0dd_0
  - defaults/linux-64::scikit-learn==0.19.2=py37h4989274_0
  - defaults/linux-64::patsy==0.5.0=py37_0
  - defaults/linux-64::h5py==2.8.0=py37h989c5e5_3
  - defaults/linux-64::mkl-service==1.1.2=py37h90e4bf4_5
  - defaults/linux-64::anaconda==5.3.0=py37_0
  - defaults/linux-64::pytest-arraydiff==0.2=py37h39e3cac_0
  - defaults/linux-64::mkl_fft==1.0.4=py37h4414c95_1
  - defaults/linux-64::numexpr==2.6.8=py37hd89afb7_0
  - defaults/linux-64::odo==0.5.1=py37_0
  - defaults/linux-64::seaborn==0.9.0=py37_0
  - defaults/linux-64::bkcharts==0.2=py37_0
  - defaults/linux-64::bokeh==0.13.0=py37_0
  - defaults/linux-64::pytest-astropy==0.4.0=py37_0
  - defaults/linux-64::mkl_random==1.0.1=py37h4414c95_1
  - defaults/linux-64::numba==0.39.0=py37h04863e7_0
  - defaults/linux-64::blaze==0.11.3=py37_0
  - defaults/linux-64::pywavelets==1.0.0=py37hdd07704_0
  - defaults/linux-64::pytables==3.4.4=py37ha205bf6_0
  - defaults/linux-64::pandas==0.23.4=py37h04863e7_0
  - defaults/linux-64::astropy==3.0.4=py37h14c3975_0
  - defaults/linux-64::scikit-image==0.14.0=py37hf484d3e_1
  - defaults/linux-64::bottleneck==1.2.1=py37h035aef0_1
  - defaults/linux-64::imageio==2.4.1=py37_0
  - defaults/linux-64::matplotlib==2.2.3=py37hb69df0a_0
  - defaults/linux-64::numpy==1.15.1=py37h1d66e8a_0
failed

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

  - mkl-service -> mkl[version='>=2019.4,<2020.0a0']
  - mkl_fft -> mkl[version='>=2019.3,<2020.0a0']
  - mkl_random -> mkl[version='>=2019.3,<2020.0a0']
  - pkgs/main/linux-64::bitarray==0.9.3=py36h7b6447c_0
  - pkgs/main/linux-64::lxml==4.3.0=py36hefd8a0e_0
  - pkgs/main/linux-64::mkl==2019.0=118
  - pkgs/main/linux-64::navigator-updater==0.2.1=py36_0
  - pkgs/main/linux-64::nltk==3.4.1=py36_0
  - pkgs/main/linux-64::pango==1.42.4=h049681c_0
  - pkgs/main/linux-64::sympy==1.4=py36_0
  - pkgs/main/noarch::openpyxl==2.6.2=py_0
  - pkgs/main/noarch::path.py==12.0.1=py_0
  - pkgs/main/noarch::xlsxwriter==1.1.8=py_0



The command '/bin/sh -c apt-get install -y libfreetype6-dev &&     apt-get install -y libglib2.0-0 libxext6 libsm6 libxrender1 libfontconfig1 --fix-missing &&     pip install gensim &&     pip install textblob &&     pip install wordcloud &&     conda install -y -c conda-forge python-igraph &&     pip install xgboost &&     pip install lightgbm &&     pip install git+git://github.com/Lasagne/Lasagne.git &&     pip install keras &&     pip install keras-rl &&     pip install git+https://github.com/broadinstitute/keras-rcnn &&     pip install flake8==3.6.0 &&     cd /usr/local/src &&     git clone --depth 1 https://github.com/NervanaSystems/neon.git &&     cd neon && pip install . &&     cd /usr/local/src && mkdir nolearn && cd nolearn &&     git clone --depth 1 https://github.com/dnouri/nolearn.git && cd nolearn &&     echo "x" > README.rst && echo "x" > CHANGES.rst &&     python setup.py install &&     pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps &&     printf "[global]\nbase_compiledir = /tmp/.theano\n" > /.theanorc &&     cd /usr/local/src &&  git clone --depth 1 https://github.com/pybrain/pybrain &&     cd pybrain && python setup.py install &&     apt-get install -y libatlas-base-dev &&     cd /usr/local/src && git clone --depth 1 https://github.com/ztane/python-Levenshtein &&     cd python-Levenshtein && python setup.py install &&     pip install hep_ml &&     pip install chainer &&     mkdir -p /usr/share/nltk_data &&     yes | python -m nltk.downloader -d /usr/share/nltk_data abc alpino averaged_perceptron_tagger     basque_grammars biocreative_ppi bllip_wsj_no_aux     book_grammars brown brown_tei cess_cat cess_esp chat80 city_database cmudict     comtrans conll2000 conll2002 conll2007 crubadan dependency_treebank     europarl_raw floresta gazetteers genesis gutenberg     ieer inaugural indian jeita kimmo knbc large_grammars lin_thesaurus mac_morpho machado     masc_tagged maxent_ne_chunker maxent_treebank_pos_tagger moses_sample movie_reviews     mte_teip5 names nps_chat omw opinion_lexicon paradigms     pil pl196x porter_test ppattach problem_reports product_reviews_1 product_reviews_2 propbank     pros_cons ptb punkt qc reuters rslp rte sample_grammars semcor senseval sentence_polarity     sentiwordnet shakespeare sinica_treebank smultron snowball_data spanish_grammars     state_union stopwords subjectivity swadesh switchboard tagsets timit toolbox treebank     twitter_samples udhr2 udhr unicode_samples universal_tagset universal_treebanks_v20     vader_lexicon verbnet webtext word2vec_sample wordnet wordnet_ic words ycoe &&     pip install stop-words &&     pip install --upgrade scikit-image &&     /tmp/clean-layer.sh' returned a non-zero code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions