readthedocs / readthedocs.org

The source code that powers readthedocs.org
https://readthedocs.org/
MIT License
8.04k stars 3.58k forks source link

Command killed due to excessive memory consumption #6485

Closed mertyildiran closed 4 years ago

mertyildiran commented 4 years ago

Details

Expected Result

Successful build.

Actual Result

After this commit which aims to get rid of duplicate Python package dependency specifications by merging two requirements.txt into one, I started to get the Command killed due to excessive memory consumption error.

I enabled system_packages: true but the error persists. I use pip instead of conda just like it's advised in here

My .readthedocs.yml.

How can I fix this error without creating an additional requirements.txt under docs/? I want only one requirements.txt in my project since I have a lot of dependencies and I frequently update them.

/home/docs/checkouts/readthedocs.org/user_builds/dragonfire/envs/latest/bin/python -m pip install --exists-action=w --no-cache-dir -r requirements.txt
Collecting wikipedia==1.4.0
  Downloading https://files.pythonhosted.org/packages/67/35/25e68fbc99e672127cc6fbb14b8ec1ba3dfef035bf1e4c90f78f24a80b7d/wikipedia-1.4.0.tar.gz
Collecting PyUserInput==0.1.11
  Downloading https://files.pythonhosted.org/packages/d0/09/17fe0b16c7eeb52d6c14e904596ddde82503aeee268330120b595bf22d7b/PyUserInput-0.1.11.tar.gz
Collecting tinydb==3.9.0.post1
  Downloading https://files.pythonhosted.org/packages/bc/0e/a177660a4c334d2c67237f98f41585ebb0b6dcd69c0197f3f3a0d3f91573/tinydb-3.9.0.post1-py2.py3-none-any.whl
Collecting youtube_dl
  Downloading https://files.pythonhosted.org/packages/58/38/1215e2bae8cd0b1a52621740add46cebfa8bb988a48cd61cf7cccf7c09c6/youtube_dl-2019.11.28-py2.py3-none-any.whl (1.8MB)
Collecting spacy==2.1.3
  Downloading https://files.pythonhosted.org/packages/52/da/3a1c54694c2d2f40df82f38a19ae14c6eb24a5a1a0dae87205ebea7a84d8/spacy-2.1.3-cp36-cp36m-manylinux1_x86_64.whl (27.7MB)
Collecting pyowm==2.9.0
  Downloading https://files.pythonhosted.org/packages/28/ce/a2d6db7f6c6073e677a53e13c155d9faf1d9a6ef12f3b2c2db188552ab91/pyowm-2.9.0-py3-none-any.whl (3.7MB)
Collecting tensorflow==1.15.0
  Downloading https://files.pythonhosted.org/packages/3f/98/5a99af92fb911d7a88a0005ad55005f35b4c1ba8d75fba02df726cd936e6/tensorflow-1.15.0-cp36-cp36m-manylinux2010_x86_64.whl (412.3MB)
Collecting deepspeech==0.4.1
  Downloading https://files.pythonhosted.org/packages/7d/28/ba0b39d65d64b43777084d6c66ba387c75ca1c4a9a28577df13ce676db3b/deepspeech-0.4.1-cp36-cp36m-manylinux1_x86_64.whl (11.8MB)
Requirement already satisfied: requests>=2.20.0 in /home/docs/checkouts/readthedocs.org/user_builds/dragonfire/envs/latest/lib/python3.6/site-packages (from -r requirements.txt (line 9)) (2.22.0)
Collecting nltk
  Downloading https://files.pythonhosted.org/packages/f6/1d/d925cfb4f324ede997f6d47bea4d9babba51b49e87a767c170b77005889d/nltk-3.4.5.zip (1.5MB)
Collecting httplib2>=0.9.1
  Downloading https://files.pythonhosted.org/packages/be/83/5e006e25403871ffbbf587c7aa4650158c947d46e89f2d50dcaf018464de/httplib2-0.15.0-py3-none-any.whl (94kB)
Collecting tweepy==3.7.0
  Downloading https://files.pythonhosted.org/packages/d5/5f/daac4b4e9b30d7d2a6fdd16a880ff79f27918fe388e4dfc1983dec3a9876/tweepy-3.7.0-py2.py3-none-any.whl
Collecting metadata_parser==0.9.20
  Downloading https://files.pythonhosted.org/packages/a9/92/2e7a57244d966cd45b72fa9c12750f45ffc5e35572fcfcbdd7fe2a41b5aa/metadata_parser-0.9.20.tar.gz
Collecting hug==2.4.0
  Downloading https://files.pythonhosted.org/packages/03/69/4987f33c0327bc4550a91858fa7c737ea4516c315801878f48c88921f7a9/hug-2.4.0.tar.gz (68kB)
Collecting hug-middleware-cors==1.0.0
  Downloading https://files.pythonhosted.org/packages/c4/e2/46fbe122a5ca7f0dece1b46f7ce1a66cd6b01d9bdcda457600f32778dca7/hug_middleware_cors-1.0.0-py3-none-any.whl
Collecting waitress==1.4.0
  Downloading https://files.pythonhosted.org/packages/f7/52/c80d82c9053de4ad036e148bf47d52289032a43d2ecfa7fd6fd82f2e704f/waitress-1.4.0-py2.py3-none-any.whl (146kB)
Collecting SpeechRecognition
  Downloading https://files.pythonhosted.org/packages/26/e1/7f5678cd94ec1234269d23756dbdaa4c8cfaed973412f88ae8adf7893a50/SpeechRecognition-3.8.1-py2.py3-none-any.whl (32.8MB)
Collecting pyjwt==1.6.4
  Downloading https://files.pythonhosted.org/packages/93/d1/3378cc8184a6524dc92993090ee8b4c03847c567e298305d6cf86987e005/PyJWT-1.6.4-py2.py3-none-any.whl
Collecting SQLAlchemy>=1.3.0
  Downloading https://files.pythonhosted.org/packages/17/7f/35879c73859368ad19a952b69ee780aa97fc30350dabd45fb948d6a4e3ea/SQLAlchemy-1.3.12.tar.gz (6.0MB)
Collecting PyMySQL==0.8.1
  Downloading https://files.pythonhosted.org/packages/32/e8/222d9e1c7821f935d6dba8d4c60b9985124149b35a9f93a84f0b98afc219/PyMySQL-0.8.1-py2.py3-none-any.whl (81kB)
Collecting msgpack==0.5.6
  Downloading https://files.pythonhosted.org/packages/22/4e/dcf124fd97e5f5611123d6ad9f40ffd6eb979d1efdc1049e28a795672fcd/msgpack-0.5.6-cp36-cp36m-manylinux1_x86_64.whl (315kB)
Collecting neuralcoref==4.0
  Downloading https://files.pythonhosted.org/packages/ea/24/0ec7845a5b73b637aa691ff4d1b9b48f3a0f3369f4002a59ffd7a7462fdb/neuralcoref-4.0-cp36-cp36m-manylinux1_x86_64.whl (287kB)
Collecting deeppavlov==0.7.1
  Downloading https://files.pythonhosted.org/packages/d7/9d/453d101981b293441be889ba91d6983abdeeb2b3abc070b47a4044f6a64b/deeppavlov-0.7.1-py3-none-any.whl (735kB)
Collecting beautifulsoup4
  Downloading https://files.pythonhosted.org/packages/3b/c8/a55eb6ea11cd7e5ac4bacdf92bac4693b90d3ba79268be16527555e186f0/beautifulsoup4-4.8.1-py3-none-any.whl (101kB)
Collecting python-xlib
  Downloading https://files.pythonhosted.org/packages/ca/37/1e6d9cd3454a25d5d6a72c8528d4c9cde2b2252a9628aefeec083c58184c/python_xlib-0.26-py2.py3-none-any.whl (174kB)
Collecting jsonschema<3.0.0,>=2.6.0
  Downloading https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl
Collecting plac<1.0.0,>=0.9.6
  Downloading https://files.pythonhosted.org/packages/9e/9b/62c60d2f5bc135d2aa1d8c8a86aaf84edb719a59c7f11a4316259e61a298/plac-0.9.6-py2.py3-none-any.whl
Collecting cymem<2.1.0,>=2.0.2
  Downloading https://files.pythonhosted.org/packages/e7/b5/3e1714ebda8fd7c5859f9b216e381adc0a38b962f071568fd00d67e1b1ca/cymem-2.0.3-cp36-cp36m-manylinux1_x86_64.whl
Collecting thinc<7.1.0,>=7.0.2
  Downloading https://files.pythonhosted.org/packages/18/a5/9ace20422e7bb1bdcad31832ea85c52a09900cd4a7ce711246bfb92206ba/thinc-7.0.8-cp36-cp36m-manylinux1_x86_64.whl (2.1MB)
Collecting srsly<1.1.0,>=0.0.5
  Downloading https://files.pythonhosted.org/packages/d7/fb/34136c7b2ad04d4472dd9ea86536f5e9fb71fb0eb78edc8dad76a3f9edf2/srsly-0.2.0-cp36-cp36m-manylinux1_x86_64.whl (185kB)
Requirement already satisfied: numpy>=1.15.0 in /home/docs/.pyenv/versions/3.6.8/lib/python3.6/site-packages (from spacy==2.1.3->-r requirements.txt (line 5)) (1.16.3)
Collecting blis<0.3.0,>=0.2.2
  Downloading https://files.pythonhosted.org/packages/34/46/b1d0bb71d308e820ed30316c5f0a017cb5ef5f4324bcbc7da3cf9d3b075c/blis-0.2.4-cp36-cp36m-manylinux1_x86_64.whl (3.2MB)
Collecting murmurhash<1.1.0,>=0.28.0
  Downloading https://files.pythonhosted.org/packages/a6/e6/63f160a4fdf0e875d16b28f972083606d8d54f56cd30cb8929f9a1ee700e/murmurhash-1.0.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting wasabi<1.1.0,>=0.2.0
  Downloading https://files.pythonhosted.org/packages/ff/ef/e8266e158ed32bf5f723fac862b6518833d0b53ca183165a8718f212c0d5/wasabi-0.4.2-py3-none-any.whl
Collecting preshed<2.1.0,>=2.0.1
  Downloading https://files.pythonhosted.org/packages/20/93/f222fb957764a283203525ef20e62008675fd0a14ffff8cc1b1490147c63/preshed-2.0.1-cp36-cp36m-manylinux1_x86_64.whl (83kB)
Collecting geojson<2.4,>=2.3.0
  Downloading https://files.pythonhosted.org/packages/1c/59/5d8f40aa03591d68fa6bf99268810c66a0fbc82b9598e40822f3fd9149d2/geojson-2.3.0-py2.py3-none-any.whl
Collecting protobuf>=3.6.1
  Downloading https://files.pythonhosted.org/packages/ca/ac/838c8c8a5f33a58132dd2ad2a30329f6ae1614a9f56ffb79eaaf71a9d156/protobuf-3.11.2-cp36-cp36m-manylinux1_x86_64.whl (1.3MB)
Collecting gast==0.2.2
  Downloading https://files.pythonhosted.org/packages/4e/35/11749bf99b2d4e3cceb4d55ca22590b0d7c2c62b9de38ac4a4a7f4687421/gast-0.2.2.tar.gz
Collecting astor>=0.6.0
  Downloading https://files.pythonhosted.org/packages/c3/88/97eef84f48fa04fbd6750e62dcceafba6c63c81b7ac1420856c8dcc0a3f9/astor-0.8.1-py2.py3-none-any.whl
Collecting google-pasta>=0.1.6
  Downloading https://files.pythonhosted.org/packages/c3/fd/1e86bc4837cc9a3a5faf3db9b1854aa04ad35b5f381f9648fbe81a6f94e4/google_pasta-0.1.8-py3-none-any.whl (57kB)
Collecting opt-einsum>=2.3.2
  Downloading https://files.pythonhosted.org/packages/b8/83/755bd5324777875e9dff19c2e59daec837d0378c09196634524a3d7269ac/opt_einsum-3.1.0.tar.gz (69kB)
Collecting wrapt>=1.11.1
  Downloading https://files.pythonhosted.org/packages/23/84/323c2415280bc4fc880ac5050dddfb3c8062c2552b34c2e512eb4aa68f79/wrapt-1.11.2.tar.gz
Collecting termcolor>=1.1.0
  Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
Collecting tensorboard<1.16.0,>=1.15.0
  Downloading https://files.pythonhosted.org/packages/1e/e9/d3d747a97f7188f48aa5eda486907f3b345cd409f0a0850468ba867db246/tensorboard-1.15.0-py3-none-any.whl (3.8MB)
Collecting grpcio>=1.8.6
  Downloading https://files.pythonhosted.org/packages/17/8f/f79c5c174bebece41f824dd7b1ba98da45dc2d4c373b38ac6a7f6a5acb5e/grpcio-1.26.0-cp36-cp36m-manylinux2010_x86_64.whl (2.4MB)
Collecting keras-applications>=1.0.8
  Downloading https://files.pythonhosted.org/packages/71/e3/19762fdfc62877ae9102edf6342d71b28fbfd9dea3d2f96a882ce099b03f/Keras_Applications-1.0.8-py3-none-any.whl (50kB)
Collecting tensorflow-estimator==1.15.1
  Downloading https://files.pythonhosted.org/packages/de/62/2ee9cd74c9fa2fa450877847ba560b260f5d0fb70ee0595203082dafcc9d/tensorflow_estimator-1.15.1-py2.py3-none-any.whl (503kB)
Collecting absl-py>=0.7.0
  Downloading https://files.pythonhosted.org/packages/1a/53/9243c600e047bd4c3df9e69cfabc1e8004a82cac2e0c484580a78a94ba2a/absl-py-0.9.0.tar.gz (104kB)
Requirement already satisfied: wheel>=0.26 in /home/docs/checkouts/readthedocs.org/user_builds/dragonfire/envs/latest/lib/python3.6/site-packages (from tensorflow==1.15.0->-r requirements.txt (line 7)) (0.33.4)
Collecting keras-preprocessing>=1.0.5
  Downloading https://files.pythonhosted.org/packages/28/6a/8c1f62c37212d9fc441a7e26736df51ce6f0e38455816445471f10da4f0a/Keras_Preprocessing-1.1.0-py2.py3-none-any.whl (41kB)
Requirement already satisfied: six>=1.10.0 in /home/docs/checkouts/readthedocs.org/user_builds/dragonfire/envs/latest/lib/python3.6/site-packages (from tensorflow==1.15.0->-r requirements.txt (line 7)) (1.13.0)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/dragonfire/envs/latest/lib/python3.6/site-packages (from requests>=2.20.0->-r requirements.txt (line 9)) (1.25.7)
Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/dragonfire/envs/latest/lib/python3.6/site-packages (from requests>=2.20.0->-r requirements.txt (line 9)) (2019.11.28)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/dragonfire/envs/latest/lib/python3.6/site-packages (from requests>=2.20.0->-r requirements.txt (line 9)) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/dragonfire/envs/latest/lib/python3.6/site-packages (from requests>=2.20.0->-r requirements.txt (line 9)) (2.8)
Collecting PySocks>=1.5.7
  Downloading https://files.pythonhosted.org/packages/8d/59/b4572118e098ac8e46e399a1dd0f2d85403ce8bbaad9ec79373ed6badaf9/PySocks-1.7.1-py3-none-any.whl
Collecting requests-oauthlib>=0.7.0
  Downloading https://files.pythonhosted.org/packages/a3/12/b92740d845ab62ea4edf04d2f4164d82532b5a0b03836d4d4e71c6f3d379/requests_oauthlib-1.3.0-py2.py3-none-any.whl
Collecting falcon==1.4.1
  Downloading https://files.pythonhosted.org/packages/e8/d0/20bb807dee65f1f163754670557b128eafce1710f6c9c363a38e357f3783/falcon-1.4.1-py2.py3-none-any.whl (159kB)
Collecting boto3
  Downloading https://files.pythonhosted.org/packages/b5/27/d2fce3e49c992b180e7340dd41ed1f098f2b0370f4a0e17d36a76b32a23a/boto3-1.10.44-py2.py3-none-any.whl (128kB)
Collecting h5py==2.9.0
  Downloading https://files.pythonhosted.org/packages/30/99/d7d4fbf2d02bb30fb76179911a250074b55b852d34e98dd452a9f394ac06/h5py-2.9.0-cp36-cp36m-manylinux1_x86_64.whl (2.8MB)
Collecting tqdm==4.32.2
  Downloading https://files.pythonhosted.org/packages/9f/3d/7a6b68b631d2ab54975f3a4863f3c4e9b26445353264ef01f465dc9b0208/tqdm-4.32.2-py2.py3-none-any.whl (50kB)
Collecting scikit-learn==0.21.2
  Downloading https://files.pythonhosted.org/packages/85/04/49633f490f726da6e454fddc8e938bbb5bfed2001681118d3814c219b723/scikit_learn-0.21.2-cp36-cp36m-manylinux1_x86_64.whl (6.7MB)
Collecting scipy==1.3.0
  Downloading https://files.pythonhosted.org/packages/72/4c/5f81e7264b0a7a8bd570810f48cd346ba36faedbd2ba255c873ad556de76/scipy-1.3.0-cp36-cp36m-manylinux1_x86_64.whl (25.2MB)
Collecting overrides==1.9
  Downloading https://files.pythonhosted.org/packages/de/55/3100c6d14c1ed177492fcf8f07c4a7d2d6c996c0a7fc6a9a0a41308e7eec/overrides-1.9.tar.gz
Collecting pymorphy2==0.8
  Downloading https://files.pythonhosted.org/packages/a3/33/fff9675c68b5f6c63ec8c6e6ff57827dda28a1fa5b2c2d727dffff92dd47/pymorphy2-0.8-py2.py3-none-any.whl (46kB)
Collecting pyopenssl==19.0.0
  Downloading https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl (53kB)
Collecting uvicorn==0.9.0
  Downloading https://files.pythonhosted.org/packages/5a/a9/2ab492155d9b76cf109c2370e201822ba3c7f4aed85f5a1b4d22907e7206/uvicorn-0.9.0.tar.gz
Requirement already satisfied: pandas==0.24.2 in /home/docs/.pyenv/versions/3.6.8/lib/python3.6/site-packages (from deeppavlov==0.7.1->-r requirements.txt (line 23)) (0.24.2)
Collecting fuzzywuzzy==0.17.0
  Downloading https://files.pythonhosted.org/packages/d8/f1/5a267addb30ab7eaa1beab2b9323073815da4551076554ecc890a3595ec9/fuzzywuzzy-0.17.0-py2.py3-none-any.whl
Collecting keras==2.2.4
  Downloading https://files.pythonhosted.org/packages/5e/10/aa32dad071ce52b5502266b5c659451cfd6ffcbf14e6c8c4f16c0ff5aaab/Keras-2.2.4-py2.py3-none-any.whl (312kB)
Collecting pymorphy2-dicts-ru
  Downloading https://files.pythonhosted.org/packages/7c/9b/358faaff410f65a4ad159275e897b5956dcb20576c5b8e764b971c1634d7/pymorphy2_dicts_ru-2.4.404381.4453942-py2.py3-none-any.whl (8.0MB)
Collecting pytelegrambotapi==3.6.6
  Downloading https://files.pythonhosted.org/packages/25/5e/9711642455c4e17b1202d4f6403ede0fef37fc145038aee7193f3b24445e/pyTelegramBotAPI-3.6.6.tar.gz (49kB)
Collecting Cython==0.29.12
  Downloading https://files.pythonhosted.org/packages/58/2f/b08ad77c639040baafc891621f0cfdb209e2266404ca13c3167970a6f6d6/Cython-0.29.12-cp36-cp36m-manylinux1_x86_64.whl (2.1MB)
Collecting rusenttokenize==0.0.5
  Downloading https://files.pythonhosted.org/packages/25/4c/a2f00be5def774a3df2e5387145f1cb54e324607ec4a7e23f573645946e7/rusenttokenize-0.0.5-py3-none-any.whl
Collecting fastapi==0.38.1
  Downloading https://files.pythonhosted.org/packages/37/59/1a42dde38f1ae2a7a318947e54fabd1fc02ac423ecc91957c417065e7cc6/fastapi-0.38.1-py3-none-any.whl (160kB)
Collecting soupsieve>=1.2
  Downloading https://files.pythonhosted.org/packages/81/94/03c0f04471fc245d08d0a99f7946ac228ca98da4fa75796c507f61e688c2/soupsieve-1.9.5-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/dragonfire/envs/latest/lib/python3.6/site-packages (from protobuf>=3.6.1->tensorflow==1.15.0->-r requirements.txt (line 7)) (41.0.1)
Collecting markdown>=2.6.8
  Downloading https://files.pythonhosted.org/packages/c0/4e/fd492e91abdc2d2fcb70ef453064d980688762079397f779758e055f6575/Markdown-3.1.1-py2.py3-none-any.whl (87kB)
Collecting werkzeug>=0.11.15
  Downloading https://files.pythonhosted.org/packages/ce/42/3aeda98f96e85fd26180534d36570e4d18108d62ae36f87694b476b83d6f/Werkzeug-0.16.0-py2.py3-none-any.whl (327kB)
Collecting oauthlib>=3.0.0
  Downloading https://files.pythonhosted.org/packages/05/57/ce2e7a8fa7c0afb54a0581b14a65b56e62b5759dbc98e80627142b8a3704/oauthlib-3.1.0-py2.py3-none-any.whl (147kB)
Collecting python-mimeparse>=1.5.2
  Downloading https://files.pythonhosted.org/packages/26/2e/03bce213a9bf02a2750dcb04e761785e9c763fc11071edc4b447eacbb842/python_mimeparse-1.6.0-py2.py3-none-any.whl
Collecting botocore<1.14.0,>=1.13.44
  Downloading https://files.pythonhosted.org/packages/6f/7c/d39d8dd612cd1631a86f2901538621482e8fd97f1dc1c73b1260f535d976/botocore-1.13.44-py2.py3-none-any.whl (5.8MB)
Collecting jmespath<1.0.0,>=0.7.1
  Downloading https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl
Collecting s3transfer<0.3.0,>=0.2.0
  Downloading https://files.pythonhosted.org/packages/16/8a/1fc3dba0c4923c2a76e1ff0d52b305c44606da63f718d14d3231e21c51b0/s3transfer-0.2.1-py2.py3-none-any.whl (70kB)
Collecting joblib>=0.11
  Downloading https://files.pythonhosted.org/packages/28/5c/cf6a2b65a321c4a209efcdf64c2689efae2cb62661f8f6f4bb28547cf1bf/joblib-0.14.1-py2.py3-none-any.whl (294kB)
Collecting pymorphy2-dicts<3.0,>=2.4
  Downloading https://files.pythonhosted.org/packages/02/51/2465fd4f72328ab50877b54777764d928da8cb15b74e2680fc1bd8cb3173/pymorphy2_dicts-2.4.393442.3710985-py2.py3-none-any.whl (7.1MB)
Collecting docopt>=0.6
  Downloading https://files.pythonhosted.org/packages/a2/55/8f8cab2afd404cf578136ef2cc5dfb50baa1761b68c9da1fb1e4eed343c9/docopt-0.6.2.tar.gz
Collecting dawg-python>=0.7
  Downloading https://files.pythonhosted.org/packages/6a/84/ff1ce2071d4c650ec85745766c0047ccc3b5036f1d03559fd46bb38b5eeb/DAWG_Python-0.7.2-py2.py3-none-any.whl
Collecting cryptography>=2.3
  Downloading https://files.pythonhosted.org/packages/ca/9a/7cece52c46546e214e10811b36b2da52ce1ea7fa203203a629b8dfadad53/cryptography-2.8-cp34-abi3-manylinux2010_x86_64.whl (2.3MB)
Collecting click==7.*
  Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
Collecting h11==0.8.*
  Downloading https://files.pythonhosted.org/packages/f9/f3/8e4cf5fa1a3d8bda942a0b1cf92f87815494216fd439f82eb99073141ba0/h11-0.8.1-py2.py3-none-any.whl (55kB)
Collecting websockets==8.*
  Downloading https://files.pythonhosted.org/packages/bb/d9/856af84843912e2853b1b6e898ac8b802989fcf9ecf8e8445a1da263bf3b/websockets-8.1-cp36-cp36m-manylinux2010_x86_64.whl (78kB)
Collecting httptools==0.0.13
  Downloading https://files.pythonhosted.org/packages/1b/03/215969db11abe8741e9c266a4cbe803a372bd86dd35fa0084c4df6d4bd00/httptools-0.0.13.tar.gz (104kB)
Collecting uvloop==0.*
  Downloading https://files.pythonhosted.org/packages/41/48/586225bbb02d3bdca475b17e4be5ce5b3f09da2d6979f359916c1592a687/uvloop-0.14.0-cp36-cp36m-manylinux2010_x86_64.whl (3.9MB)
Requirement already satisfied: pytz>=2011k in /home/docs/checkouts/readthedocs.org/user_builds/dragonfire/envs/latest/lib/python3.6/site-packages (from pandas==0.24.2->deeppavlov==0.7.1->-r requirements.txt (line 23)) (2019.3)
Requirement already satisfied: python-dateutil>=2.5.0 in /home/docs/.pyenv/versions/3.6.8/lib/python3.6/site-packages (from pandas==0.24.2->deeppavlov==0.7.1->-r requirements.txt (line 23)) (2.8.0)
Collecting pyyaml
  Downloading https://files.pythonhosted.org/packages/8d/c9/e5be955a117a1ac548cdd31e37e8fd7b02ce987f9655f5c7563c656d5dcb/PyYAML-5.2.tar.gz (265kB)
Collecting pydantic<=0.32.2,>=0.32.2
  Downloading https://files.pythonhosted.org/packages/86/78/2edcc6e65ec020403ac6ba6deb54c1cf227c49232ce9d98a1ae7ebdfa3a1/pydantic-0.32.2-cp36-cp36m-manylinux1_x86_64.whl (5.1MB)
Collecting starlette<=0.12.8,>=0.11.1
  Downloading https://files.pythonhosted.org/packages/97/4a/90a6a8685fcbdcf544a2293d0d0211ecba3cd7f309b831499d5c895383cb/starlette-0.12.8.tar.gz (45kB)
Requirement already satisfied: docutils<0.16,>=0.10 in /home/docs/checkouts/readthedocs.org/user_builds/dragonfire/envs/latest/lib/python3.6/site-packages (from botocore<1.14.0,>=1.13.44->boto3->neuralcoref==4.0->-r requirements.txt (line 22)) (0.14)
Collecting cffi!=1.11.3,>=1.8
  Downloading https://files.pythonhosted.org/packages/49/72/0d42f94fe94afa8030350c26e9d787219f3f008ec9bf6b86c66532b29236/cffi-1.13.2-cp36-cp36m-manylinux1_x86_64.whl (397kB)
Collecting dataclasses>=0.6; python_version < "3.7"
  Downloading https://files.pythonhosted.org/packages/e1/d2/6f02df2616fd4016075f60157c7a0452b38d8f7938ae94343911e0fb0b09/dataclasses-0.7-py3-none-any.whl
Collecting pycparser
  Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
Building wheels for collected packages: wikipedia, PyUserInput, nltk, metadata-parser, hug, SQLAlchemy, gast, opt-einsum, wrapt, termcolor, absl-py, overrides, uvicorn, pytelegrambotapi, docopt, httptools, pyyaml, starlette, pycparser
  Building wheel for wikipedia (setup.py): started
  Building wheel for wikipedia (setup.py): finished with status 'done'
  Created wheel for wikipedia: filename=wikipedia-1.4.0-cp36-none-any.whl size=11685 sha256=bdbaa8e3a1491d23dae270ce172d1ce30d283e67191ae645045e9aeacc20ea1b
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/87/2a/18/4e471fd96d12114d16fe4a446d00c3b38fb9efcb744bd31f4a
  Building wheel for PyUserInput (setup.py): started
  Building wheel for PyUserInput (setup.py): finished with status 'done'
  Created wheel for PyUserInput: filename=PyUserInput-0.1.11-cp36-none-any.whl size=37185 sha256=aa5d78d391e01aa70c11be2a709d2d22fa434d9aafb67f237184e123a5c4fa82
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/69/0e/a6/020f0a3bb3a1fc4307c5a2aab327e5671ec3826884116010f8
  Building wheel for nltk (setup.py): started
  Building wheel for nltk (setup.py): finished with status 'done'
  Created wheel for nltk: filename=nltk-3.4.5-cp36-none-any.whl size=1449903 sha256=b9cecdbb44eb03bd24dc82149b648822c97aa6078155c1e3f404d22ed318fca9
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/96/86/f6/68ab24c23f207c0077381a5e3904b2815136b879538a24b483
  Building wheel for metadata-parser (setup.py): started
  Building wheel for metadata-parser (setup.py): finished with status 'done'
  Created wheel for metadata-parser: filename=metadata_parser-0.9.20-cp36-none-any.whl size=35705 sha256=e67ed83d3a3aa0fba24569dc7d59a8f20f5db6174c7ddfb27fd7e319d58b97d2
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/6f/b4/13/ed4dc88e979872a6bc28cadefbf883fdbdc75bdd35bf632e4a
  Building wheel for hug (setup.py): started
  Building wheel for hug (setup.py): finished with status 'done'
  Created wheel for hug: filename=hug-2.4.0-py2.py3-none-any.whl size=65851 sha256=7f22a462b0fd75a43297cb337c7862c622f35b01c67779329eab0105fa63ec9a
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/e3/d6/93/0ca0faf795854b7e4807518a072194d362da7e76c9cc448b16
  Building wheel for SQLAlchemy (setup.py): started
  Building wheel for SQLAlchemy (setup.py): finished with status 'done'
  Created wheel for SQLAlchemy: filename=SQLAlchemy-1.3.12-cp36-cp36m-linux_x86_64.whl size=1215402 sha256=c11524ea9003811f1a9f5ffb2d4debc08cbabe1c3c7e1f9621a469b4ce1704f2
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/ee/33/44/0788a6e806866ae2e246d5cd841d07498a46bcb3f3c42ea5a4
  Building wheel for gast (setup.py): started
  Building wheel for gast (setup.py): finished with status 'done'
  Created wheel for gast: filename=gast-0.2.2-cp36-none-any.whl size=7541 sha256=1a2c79be1665eed2e2b33acc648a6fa45e5f765ed3af4c5ad13ab1576f5d7037
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/5c/2e/7e/a1d4d4fcebe6c381f378ce7743a3ced3699feb89bcfbdadadd
  Building wheel for opt-einsum (setup.py): started
  Building wheel for opt-einsum (setup.py): finished with status 'done'
  Created wheel for opt-einsum: filename=opt_einsum-3.1.0-cp36-none-any.whl size=61682 sha256=edb2b88b1d1592e9cc615163d294fd5c7aad172c78f083df5747a10172f46e7a
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/2c/b1/94/43d03e130b929aae7ba3f8d15cbd7bc0d1cb5bb38a5c721833
  Building wheel for wrapt (setup.py): started
  Building wheel for wrapt (setup.py): finished with status 'done'
  Created wheel for wrapt: filename=wrapt-1.11.2-cp36-cp36m-linux_x86_64.whl size=69782 sha256=2de6cd3f945c5bc0626d2757cd8b3907ebe3393443087c73e41d9d1184799205
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/d7/de/2e/efa132238792efb6459a96e85916ef8597fcb3d2ae51590dfd
  Building wheel for termcolor (setup.py): started
  Building wheel for termcolor (setup.py): finished with status 'done'
  Created wheel for termcolor: filename=termcolor-1.1.0-cp36-none-any.whl size=4833 sha256=e2a90d0df3ab586e253053a6a9d4df0c52e66ff614f5b99a719e2d467e706ea3
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/7c/06/54/bc84598ba1daf8f970247f550b175aaaee85f68b4b0c5ab2c6
  Building wheel for absl-py (setup.py): started
  Building wheel for absl-py (setup.py): finished with status 'done'
  Created wheel for absl-py: filename=absl_py-0.9.0-cp36-none-any.whl size=121933 sha256=8b240bcee1bdc0ee4888c189d91533295b8d0c28c7609d60562815d7f635bccc
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/8e/28/49/fad4e7f0b9a1227708cbbee4487ac8558a7334849cb81c813d
  Building wheel for overrides (setup.py): started
  Building wheel for overrides (setup.py): finished with status 'done'
  Created wheel for overrides: filename=overrides-1.9-cp36-none-any.whl size=4213 sha256=f30300c1b9616703009f6c989b5f558e065af889ee1d8ee6bf469fcb65548404
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/8d/52/86/e5a83b1797e7d263b458d2334edd2704c78508b3eea9323718
  Building wheel for uvicorn (setup.py): started
  Building wheel for uvicorn (setup.py): finished with status 'done'
  Created wheel for uvicorn: filename=uvicorn-0.9.0-cp36-none-any.whl size=37117 sha256=84eba7782b85effb1817a0cba387c23c5703213ac57236c308151162be2933c5
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/19/e5/d1/a50d405d3bb18fac538ef9606ed9b6cd5efb6e06b6de834507
  Building wheel for pytelegrambotapi (setup.py): started
  Building wheel for pytelegrambotapi (setup.py): finished with status 'done'
  Created wheel for pytelegrambotapi: filename=pyTelegramBotAPI-3.6.6-cp36-none-any.whl size=44857 sha256=b0553a80af45c4b04abb06d8733df815136e92225e45ccac7c7f17307690f587
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/ae/69/d7/26f1fb04ac4d4c95bff643cea765a8e91c4348da25b4744e08
  Building wheel for docopt (setup.py): started
  Building wheel for docopt (setup.py): finished with status 'done'
  Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13704 sha256=fe03943b2cb08537dfa8758c4f8870719068df4f8380000ecace6100b38479a7
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/9b/04/dd/7daf4150b6d9b12949298737de9431a324d4b797ffd63f526e
  Building wheel for httptools (setup.py): started
  Building wheel for httptools (setup.py): finished with status 'done'
  Created wheel for httptools: filename=httptools-0.0.13-cp36-cp36m-linux_x86_64.whl size=212682 sha256=49c1cd7ecef844ab0391453cc3fff513a5393a01c26746868e3a706c2a515bf6
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/e8/3e/2e/013f99b42efc25cf3589730cf380738e46b1e5edaf2f78d525
  Building wheel for pyyaml (setup.py): started
  Building wheel for pyyaml (setup.py): finished with status 'done'
  Created wheel for pyyaml: filename=PyYAML-5.2-cp36-cp36m-linux_x86_64.whl size=44210 sha256=c628399c1527395f9fc3678b0d9cab7f6f748e9bb9d5f7669293fdc7947f8200
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/54/b7/c7/2ada654ee54483c9329871665aaf4a6056c3ce36f29cf66e67
  Building wheel for starlette (setup.py): started
  Building wheel for starlette (setup.py): finished with status 'done'
  Created wheel for starlette: filename=starlette-0.12.8-cp36-none-any.whl size=56911 sha256=ba145444a71ca36ea775b973167624ef9e5e28054fc287dffd1d6a5d17d87324
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/fd/a0/1d/17eb20c5742e3236799a7883e56325823d57fcd8ce2a0c9348
  Building wheel for pycparser (setup.py): started
  Building wheel for pycparser (setup.py): finished with status 'done'
  Created wheel for pycparser: filename=pycparser-2.19-py2.py3-none-any.whl size=111031 sha256=6f8d575194d8550874ca4235650dc4fc86b46819065158e048589f3bb1d302e6
  Stored in directory: /tmp/pip-ephem-wheel-cache-vnw1fd8n/wheels/f2/9a/90/de94f8556265ddc9d9c8b271b0f63e57b26fb1d67a45564511
Successfully built wikipedia PyUserInput nltk metadata-parser hug SQLAlchemy gast opt-einsum wrapt termcolor absl-py overrides uvicorn pytelegrambotapi docopt httptools pyyaml starlette pycparser
ERROR: deeppavlov 0.7.1 has requirement nltk==3.2.5, but you'll have nltk 3.4.5 which is incompatible.
ERROR: deeppavlov 0.7.1 has requirement numpy==1.16.4, but you'll have numpy 1.16.3 which is incompatible.
Installing collected packages: soupsieve, beautifulsoup4, wikipedia, python-xlib, PyUserInput, tinydb, youtube-dl, jsonschema, plac, cymem, preshed, srsly, blis, murmurhash, tqdm, wasabi, thinc, spacy, geojson, pyowm, protobuf, gast, astor, google-pasta, opt-einsum, wrapt, termcolor, markdown, grpcio, werkzeug, absl-py, tensorboard, h5py, keras-applications, tensorflow-estimator, keras-preprocessing, tensorflow, deepspeech, nltk, httplib2, PySocks, oauthlib, requests-oauthlib, tweepy, metadata-parser, python-mimeparse, falcon, hug, hug-middleware-cors, waitress, SpeechRecognition, pyjwt, SQLAlchemy, PyMySQL, msgpack, jmespath, botocore, s3transfer, boto3, neuralcoref, joblib, scipy, scikit-learn, overrides, pymorphy2-dicts, docopt, dawg-python, pymorphy2, pycparser, cffi, cryptography, pyopenssl, click, h11, websockets, httptools, uvloop, uvicorn, fuzzywuzzy, pyyaml, keras, pymorphy2-dicts-ru, pytelegrambotapi, Cython, rusenttokenize, dataclasses, pydantic, starlette, fastapi, deeppavlov
Killed

Command killed due to excessive memory consumption
Command time: 72s Return: 137
humitos commented 4 years ago

It seems your are installing a ton of dependencies. Some of them are heavy and are compiled each time a build is triggered, which is causing the memory issue.

I suggest you to not install any dependency that it's not needed to build your documentation: I suppose that nltk, for example, is not needed --among others. Usually, it's a good practice to have a separate requirements.txt file only for documentation.

no-response[bot] commented 4 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. Thanks!