timelesslounge / timelessis

35 stars 18 forks source link

Deploy errors while installing python requirements #218

Open vryazanov opened 5 years ago

vryazanov commented 5 years ago

Hey, I've opened Rultor logs from a few PRs that were merged recently. Here is what I saw:

Requirement already satisfied (use --upgrade to upgrade): setuptools in ./venv/lib/python3.6/site-packages (from pytest==4.1.1->-r requirements.txt (line 48))
Building wheels for collected packages: alembic, bcrypt, dodgy, Flask-Script, future, git-pylint-commit-hook, infinity, intervals, Mako, pycparser, pylint-celery, pylint-plugin-utils, python-editor, PyYAML, requirements-detector, setoptconf, SQLAlchemy, SQLAlchemy-Utils, validators, wrapt, WTForms-Alchemy, WTForms-Components
  Running setup.py bdist_wheel for alembic ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/alembic/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmp80tom4m1pip-wheel- --python-tag cp36:
  /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
    warnings.warn(msg)
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for alembic0m
?25h  Running setup.py clean for alembic
  Running setup.py bdist_wheel for bcrypt ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/bcrypt/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpleeou_x8pip-wheel- --python-tag cp36:

  Installed /tmp/pip-build-2029kytv/bcrypt/.eggs/cffi-1.11.5-py3.6-linux-x86_64.egg
  Searching for pycparser
  Reading https://pypi.python.org/simple/pycparser/
  Best match: pycparser 2.19
  Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz#sha256=a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3
  Processing pycparser-2.19.tar.gz
  Writing /tmp/easy_install-z8aal6ut/pycparser-2.19/setup.cfg
  Running pycparser-2.19/setup.py -q bdist_egg --dist-dir /tmp/easy_install-z8aal6ut/pycparser-2.19/egg-dist-tmp-ljw0zqma
  /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
    warnings.warn(msg)
  warning: no previously-included files found matching 'setup.pyc'
  warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
  warning: no previously-included files matching 'lextab.*' found under directory 'tests'
  warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
  warning: no previously-included files matching 'lextab.*' found under directory 'examples'
  zip_safe flag not set; analyzing archive contents...
  pycparser.ply.__pycache__.lex.cpython-36: module references __file__
  pycparser.ply.__pycache__.lex.cpython-36: module MAY be using inspect.getsourcefile
  pycparser.ply.__pycache__.ygen.cpython-36: module references __file__
  pycparser.ply.__pycache__.yacc.cpython-36: module references __file__
  pycparser.ply.__pycache__.yacc.cpython-36: module MAY be using inspect.getsourcefile
  pycparser.ply.__pycache__.yacc.cpython-36: module MAY be using inspect.stack
  creating /tmp/pip-build-2029kytv/bcrypt/.eggs/pycparser-2.19-py3.6.egg
  Extracting pycparser-2.19-py3.6.egg to /tmp/pip-build-2029kytv/bcrypt/.eggs

  Installed /tmp/pip-build-2029kytv/bcrypt/.eggs/pycparser-2.19-py3.6.egg
  /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
    warnings.warn(msg)
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for bcrypt0m
?25h  Running setup.py clean for bcrypt
  Running setup.py bdist_wheel for dodgy ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/dodgy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpok_onv3cpip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for dodgy0m
?25h  Running setup.py clean for dodgy
  Running setup.py bdist_wheel for Flask-Script ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/Flask-Script/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpzfrmzevppip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for Flask-Script0m
?25h  Running setup.py clean for Flask-Script
  Running setup.py bdist_wheel for future ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/future/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmphjdcrizcpip-wheel- --python-tag cp36:
  /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
    warnings.warn(msg)
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for future0m
?25h  Running setup.py clean for future
  Running setup.py bdist_wheel for git-pylint-commit-hook ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/git-pylint-commit-hook/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmp3nmddhjbpip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for git-pylint-commit-hook0m
?25h  Running setup.py clean for git-pylint-commit-hook
  Running setup.py bdist_wheel for infinity ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/infinity/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmppvpx74qipip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for infinity0m
?25h  Running setup.py clean for infinity
  Running setup.py bdist_wheel for intervals ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/intervals/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpmaxuq70ipip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for intervals0m
?25h  Running setup.py clean for intervals
  Running setup.py bdist_wheel for Mako ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/Mako/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpdr8ap_h6pip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for Mako0m
?25h  Running setup.py clean for Mako
  Running setup.py bdist_wheel for pycparser ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/pycparser/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpg9jg2gtgpip-wheel- --python-tag cp36:
  /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
    warnings.warn(msg)
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for pycparser0m
?25h  Running setup.py clean for pycparser
  Running setup.py bdist_wheel for pylint-celery ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/pylint-celery/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpza201afapip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for pylint-celery0m
?25h  Running setup.py clean for pylint-celery
  Running setup.py bdist_wheel for pylint-plugin-utils ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/pylint-plugin-utils/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpu8jo7bh_pip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for pylint-plugin-utils0m
?25h  Running setup.py clean for pylint-plugin-utils
  Running setup.py bdist_wheel for python-editor ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/python-editor/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmp_9zlm_c8pip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for python-editor0m
?25h  Running setup.py clean for python-editor
  Running setup.py bdist_wheel for PyYAML ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/PyYAML/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpkhezf6qkpip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for PyYAML0m
?25h  Running setup.py clean for PyYAML
  Running setup.py bdist_wheel for requirements-detector ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/requirements-detector/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpot2cm6kvpip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for requirements-detector0m
?25h  Running setup.py clean for requirements-detector
  Running setup.py bdist_wheel for setoptconf ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/setoptconf/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpt4m_fx3mpip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for setoptconf0m
?25h  Running setup.py clean for setoptconf
  Running setup.py bdist_wheel for SQLAlchemy ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/SQLAlchemy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmp6i1bksgbpip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for SQLAlchemy0m
?25h  Running setup.py clean for SQLAlchemy
  Running setup.py bdist_wheel for SQLAlchemy-Utils ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/SQLAlchemy-Utils/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpuv3k6o5jpip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for SQLAlchemy-Utils0m
?25h  Running setup.py clean for SQLAlchemy-Utils
  Running setup.py bdist_wheel for validators ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/validators/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmptxsm6ql6pip-wheel- --python-tag cp36:
  /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'build_requires'
    warnings.warn(msg)
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for validators0m
?25h  Running setup.py clean for validators
  Running setup.py bdist_wheel for wrapt ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/wrapt/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpypacg1cnpip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for wrapt0m
?25h  Running setup.py clean for wrapt
  Running setup.py bdist_wheel for WTForms-Alchemy ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/WTForms-Alchemy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpk1pmc716pip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for WTForms-Alchemy0m
?25h  Running setup.py clean for WTForms-Alchemy
  Running setup.py bdist_wheel for WTForms-Components ... ?25lerror
  Complete output from command /home/r/repo/venv/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2029kytv/WTForms-Components/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpp6vawkc4pip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
31m  Failed building wheel for WTForms-Components0m
?25h  Running setup.py clean for WTForms-Components
Failed to build alembic bcrypt dodgy Flask-Script future git-pylint-commit-hook infinity intervals Mako pycparser pylint-celery pylint-plugin-utils python-editor PyYAML requirements-detector setoptconf SQLAlchemy SQLAlchemy-Utils validators wrapt WTForms-Alchemy WTForms-Components
Installing collected packages: SQLAlchemy, MarkupSafe, Mako, python-editor, six, python-dateutil, alembic, wrapt, lazy-object-proxy, typed-ast, astroid, atomicwrites, attrs, pycparser, cffi, bcrypt, certifi, chardet, Click, urllib3, idna, requests, coverage, codecov, decorator, dodgy, text-unidecode, Faker, factory-boy, Jinja2, itsdangerous, Werkzeug, Flask, Flask-SQLAlchemy, Flask-Migrate, Flask-Script, WTForms, Flask-WTF, future, isort, mccabe, pylint, git-pylint-commit-hook, infinity, intervals, more-itertools, passlib, pep8-naming, pluggy, psycopg2, psycopg2-binary, py, pycodestyle, snowballstemmer, pydocstyle, pyflakes, pylint-plugin-utils, pylint-celery, pylint-django, pytest, pytest-cov, pytest-mock, pytest-flask-sqlalchemy, PyYAML, requirements-detector, setoptconf, SQLAlchemy-Utils, validators, flask-caching, redis, WTForms-Components, WTForms-Alchemy
  Running setup.py install for SQLAlchemy ... ?25ldone

Looks like we need to fix it.

0crat commented 5 years ago

@emilianodellacasa/z please, pay attention to this issue

emilianodellacasa commented 5 years ago

@vryazanov I have noticed that too, we will fix it as soon as we will be sure to meet the first deadline