question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pip 19 seems to break home-assistant-cli build

See original GitHub issue

Environment

  • pip version: 19.0.1
  • Python version: 3.5-3.7
  • OS: OSX

Description

I’ve been building https://github.com/home-assistant/home-assistant-cli just fine for months but recently I keep having this weird error that seem to be have been introduced in 19 in https://github.com/pypa/pip/pull/5743/files/817ef1a4cb7faed6539b2b2f57ba7dc8a0f93200

  removing build/bdist.macosx-10.14-x86_64/wheel
  Traceback (most recent call last):
    File "/Users/max/code/home-assistant-cli/.tox/typing/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
      main()
    File "/Users/max/code/home-assistant-cli/.tox/typing/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/Users/max/code/home-assistant-cli/.tox/typing/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 141, in build_wheel
      metadata_directory)
    File "/private/tmp/pip-build-env-p6ew6nvj/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 178, in build_wheel
      return _file_with_extension(wheel_directory, '.whl')
    File "/private/tmp/pip-build-env-p6ew6nvj/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 94, in _file_with_extension
      file, = matching
  ValueError: too many values to unpack (expected 1)

  ----------------------------------------
  Failed building wheel for homeassistant-cli
  Running setup.py clean for homeassistant-cli
Failed to build homeassistant-cli
Could not build wheels for {} which use PEP 517 and cannot be installed directly

Expected behavior

That what could build in 18.0 can still build on 19.0

note: I don’t know much about PEP 517 but can say that I only have a pyproject.toml to configure black, and it is weird to me that the build error is just {} as if there actually are no build failures.

How to Reproduce

  1. git clone https://github.com/home-assistant/home-assistant-cli
  2. Then run ‘tox -e pylint’
  3. The error occurs.

Output

tox -e typing                                                                                                                                               ✘ 2 deviceregistry ✭ ✚ ✱ ◼
GLOB sdist-make: /Users/max/code/home-assistant-cli/setup.py
typing create: /Users/max/code/home-assistant-cli/.tox/typing
typing installdeps: -r/Users/max/code/home-assistant-cli/requirements_test_all.txt
ERROR: invocation failed (exit code 1), logfile: /Users/max/code/home-assistant-cli/.tox/typing/log/typing-1.log
ERROR: actionid: typing
msg: getenv
cmdargs: '/usr/bin/env LANG=C.UTF-8 pip install -r/Users/max/code/home-assistant-cli/requirements_test_all.txt'

Processing /Users/max/code/home-assistant-cli
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
Collecting requests==2.21.0 (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl
Collecting click==7.0 (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
Collecting dateparser==0.7.0 (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/ac/9e/1aa87c0c59f9731820bfd20a8b148d97b315530c2c92d1fb300328c8c42f/dateparser-0.7.0-py2.py3-none-any.whl
Collecting click-log==0.3.2 (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/38/52/a9dbb622f40ceeb09df141d855062cc9fbb38011f0ad8caee0cd840f399c/click_log-0.3.2-py2.py3-none-any.whl
Collecting jsonpath-rw==1.4.0 (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
Collecting tabulate==0.8.3 (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
Collecting netdisco==2.3.0 (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/14/5f/18fdf13b85fc3c31f6c28f900494a9308aadcdefd2a29959a6ec5c7d719b/netdisco-2.3.0-py3-none-any.whl
Collecting ruamel.yaml==0.15.85 (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/e6/2f/73de0f854c4fdae878403400e3c557ca1ffbef1f0b86ad4ee6842ff739a9/ruamel.yaml-0.15.85-cp37-cp37m-macosx_10_9_x86_64.whl
Collecting jinja2>=2.10 (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl
Collecting aiohttp==3.5.4 (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/16/60/c6ac986c2caeab6d3bae1e0b3400ab49df3aff23a8e37c543be68780d014/aiohttp-3.5.4-cp37-cp37m-macosx_10_13_x86_64.whl
Collecting regex==2019.01.24 (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
Collecting requests-mock==1.5.2; extra == "test" (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/f3/5b/7fc2615e6ae2d229214fd4d7617dd28475d728124c5f3d0653663113ac85/requests_mock-1.5.2-py2.py3-none-any.whl
Collecting black==18.9b0; python_version > "3.6" and extra == "test" (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/2a/34/9938749f260a861cdd8427d63899e08f9a2a041159a26c2615b02828c973/black-18.9b0-py36-none-any.whl
Collecting pylint==2.2.2; extra == "test" (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/a5/06/ecef826f319055e6b231716730d7f9047dd7524ffda224b521d989f085b6/pylint-2.2.2-py3-none-any.whl
Collecting flake8==3.6.0; extra == "test" (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/34/a6/49e2849a0e5464e1b5d621f63bc8453066f0f367bb3b744a33fca0bc1ddd/flake8-3.6.0-py2.py3-none-any.whl
Collecting mock-open==1.3.1; extra == "test" (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
Collecting pydocstyle==2.1.1; extra == "test" (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/43/8a/f1141af0c8406788a5c38ad5001d4163d903b5384a6517239d2ac42734c8/pydocstyle-2.1.1-py3-none-any.whl
Requirement already satisfied: wheel==0.32.3; extra == "test" in ./.tox/typing/lib/python3.7/site-packages (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3)) (0.32.3)
Collecting pytest==4.1.1; extra == "test" (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/9e/bf/2974be45c498a0ebc2708bfada25d5d1874ab3315a4e76ce7d38e29724fa/pytest-4.1.1-py2.py3-none-any.whl
Collecting coveralls==1.2.0; extra == "test" (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/7e/26/7a820800615866b624cb5612f7f661405f713b2292cd94ace8b648705747/coveralls-1.2.0-py2.py3-none-any.whl
Collecting mypy==0.660; extra == "test" (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/fc/4b/b2376fffd1416b76da0708dd8c8ab46c80cd2364c42212059587ae92f1d8/mypy-0.660-py3-none-any.whl
Collecting flake8-docstrings==1.3.0; extra == "test" (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/4e/ab/927dada116644e776c2668175d35545786f8a5120a9bdbfaaba2aab71687/flake8_docstrings-1.3.0-py2.py3-none-any.whl
Collecting pytest-cov==2.6.1; extra == "test" (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/7d/b5/92f32674ab954f80499ac73347bfeb815545ea295439c12b0ef3ac8f0975/pytest_cov-2.6.1-py2.py3-none-any.whl
Collecting pytest-timeout==1.3.3; extra == "test" (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/58/92/f60ea2e27074d6f97c8aaf21e34d1f838eb623e4b8070680846c65318a10/pytest_timeout-1.3.3-py2.py3-none-any.whl
Collecting pytest-sugar==0.9.2; extra == "test" (from homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/da/3b/f1e3c8830860c1df8f0e0f6713932475141210cfa021e362ca2774d2bf02/pytest_sugar-0.9.2-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests==2.21.0->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests==2.21.0->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/9f/e0/accfc1b56b57e9750eba272e24c4dddeac86852c2bebd1236674d7887e8a/certifi-2018.11.29-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests==2.21.0->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting urllib3<1.25,>=1.21.1 (from requests==2.21.0->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl
Collecting python-dateutil (from dateparser==0.7.0->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl
Collecting tzlocal (from dateparser==0.7.0->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
Collecting pytz (from dateparser==0.7.0->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/61/28/1d3920e4d1d50b19bc5d24398a7cd85cc7b9a75a490570d5a30c57622d34/pytz-2018.9-py2.py3-none-any.whl
Collecting ply (from jsonpath-rw==1.4.0->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/a3/58/35da89ee790598a0700ea49b2a66594140f44dec458c07e8e3d4979137fc/ply-3.11-py2.py3-none-any.whl
Collecting six (from jsonpath-rw==1.4.0->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting decorator (from jsonpath-rw==1.4.0->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/f1/cd/7c8240007e9716b14679bc217a1baefa4432aa30394f7e2ec40a52b1a708/decorator-4.3.2-py2.py3-none-any.whl
Collecting zeroconf>=0.21.0 (from netdisco==2.3.0->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/d2/4e/3e751bc1f33d0368bdba509a140cb9f2e54cd1cfb8ebcf4ebd8a5eef794b/zeroconf-0.21.3-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from jinja2>=2.10->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/96/52/eef455862764cb6d6c136aa52c7f9fc4e7c1c644790a7107b1244a2b8a53/MarkupSafe-1.1.0-cp37-cp37m-macosx_10_6_intel.whl
Collecting multidict<5.0,>=4.0 (from aiohttp==3.5.4->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/0e/64/39b167d63e292cc2336d09c4d3577089db82cd7886ed535b6100fc7c7966/multidict-4.5.2-cp37-cp37m-macosx_10_12_intel.macosx_10_12_x86_64.macosx_10_13_intel.macosx_10_13_x86_64.whl
Collecting attrs>=17.3.0 (from aiohttp==3.5.4->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/3a/e1/5f9023cc983f1a628a8c2fd051ad19e76ff7b142a0faf329336f9a62a514/attrs-18.2.0-py2.py3-none-any.whl
Collecting yarl<2.0,>=1.0 (from aiohttp==3.5.4->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
Collecting async-timeout<4.0,>=3.0 (from aiohttp==3.5.4->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl
Collecting toml>=0.9.4 (from black==18.9b0; python_version > "3.6" and extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/a2/12/ced7105d2de62fa7c8fb5fce92cc4ce66b57c95fb875e9318dba7f8c5db0/toml-0.10.0-py2.py3-none-any.whl
Collecting appdirs (from black==18.9b0; python_version > "3.6" and extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl
Collecting isort>=4.2.5 (from pylint==2.2.2; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/1f/2c/22eee714d7199ae0464beda6ad5fedec8fee6a2f7ffd1e8f1840928fe318/isort-4.3.4-py3-none-any.whl
Collecting astroid>=2.0.0 (from pylint==2.2.2; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/fc/53/8809bc008bad0300897281a7b320b286dc0e84e836396c0cff6279841e8a/astroid-2.1.0-py3-none-any.whl
Collecting mccabe (from pylint==2.2.2; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=30 in ./.tox/typing/lib/python3.7/site-packages (from flake8==3.6.0; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3)) (40.6.3)
Collecting pyflakes<2.1.0,>=2.0.0 (from flake8==3.6.0; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/44/98/af7a72c9a543b1487d92813c648cb9b9adfbc96faef5455d60f4439aa99b/pyflakes-2.0.0-py2.py3-none-any.whl
Collecting pycodestyle<2.5.0,>=2.4.0 (from flake8==3.6.0; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/e5/c6/ce130213489969aa58610042dff1d908c25c731c9575af6935c2dfad03aa/pycodestyle-2.4.0-py2.py3-none-any.whl
Collecting snowballstemmer (from pydocstyle==2.1.1; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/d4/6c/8a935e2c7b54a37714656d753e4187ee0631988184ed50c0cf6476858566/snowballstemmer-1.2.1-py2.py3-none-any.whl
Collecting py>=1.5.0 (from pytest==4.1.1; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/3e/c7/3da685ef117d42ac8d71af525208759742dd235f8094221fdaafcd3dba8f/py-1.7.0-py2.py3-none-any.whl
Collecting more-itertools>=4.0.0 (from pytest==4.1.1; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/a4/a6/42f17d065bda1fac255db13afc94c93dbfb64393eae37c749b4cb0752fc7/more_itertools-5.0.0-py3-none-any.whl
Collecting pluggy>=0.7 (from pytest==4.1.1; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/2d/60/f58d9e8197f911f9405bf7e02227b43a2acc2c2f1a8cbb1be5ecf6bfd0b8/pluggy-0.8.1-py2.py3-none-any.whl
Collecting atomicwrites>=1.0 (from pytest==4.1.1; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/52/90/6155aa926f43f2b2a22b01be7241be3bfd1ceaf7d0b3267213e8127d41f4/atomicwrites-1.3.0-py2.py3-none-any.whl
Collecting coverage>=3.6 (from coveralls==1.2.0; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/be/88/7e5e548329eda1f003b3ff34e57ba6b2b1f8b8983043e99a0ecf58ae0a06/coverage-4.5.2-cp37-cp37m-macosx_10_13_x86_64.whl
Collecting docopt>=0.6.1 (from coveralls==1.2.0; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
Collecting mypy-extensions<0.5.0,>=0.4.0 (from mypy==0.660; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/4d/72/8d54e2b296631b9b14961d583e56e90d9d7fba8a240d5ce7f1113cc5e887/mypy_extensions-0.4.1-py2.py3-none-any.whl
Collecting typed-ast<1.3.0,>=1.2.0 (from mypy==0.660; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/ac/50/d9609a2346acaa17d175c64457f98ee556d12914e583cd4f6bd92c18ec66/typed_ast-1.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
Collecting flake8-polyfill (from flake8-docstrings==1.3.0; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/86/b5/a43fed6fd0193585d17d6faa7b85317d4461f694aaed546098c69f856579/flake8_polyfill-1.0.2-py2.py3-none-any.whl
Collecting termcolor>=1.1.0 (from pytest-sugar==0.9.2; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
Collecting packaging>=14.1 (from pytest-sugar==0.9.2; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/91/32/58bc30e646e55eab8b21abf89e353f59c0cc02c417e42929f4a9546e1b1d/packaging-19.0-py2.py3-none-any.whl
Collecting ifaddr (from zeroconf>=0.21.0->netdisco==2.3.0->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
Collecting wrapt (from astroid>=2.0.0->pylint==2.2.2; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
Collecting lazy-object-proxy (from astroid>=2.0.0->pylint==2.2.2; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
Collecting pyparsing>=2.0.2 (from packaging>=14.1->pytest-sugar==0.9.2; extra == "test"->homeassistant-cli==0.5.0.dev0->-r /Users/max/code/home-assistant-cli/requirements_test_all.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/de/0a/001be530836743d8be6c2d85069f46fecf84ac6c18c7f5fb8125ee11d854/pyparsing-2.3.1-py2.py3-none-any.whl
Building wheels for collected packages: homeassistant-cli
  Building wheel for homeassistant-cli (PEP 517): started
  Building wheel for homeassistant-cli (PEP 517): finished with status 'error'
  Complete output from command /Users/max/code/home-assistant-cli/.tox/typing/bin/python3 /Users/max/code/home-assistant-cli/.tox/typing/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpqcg0t89z:
  running bdist_wheel
  running build
  running build_py
  copying homeassistant_cli/config.py -> build/lib/homeassistant_cli
  copying homeassistant_cli/remote.py -> build/lib/homeassistant_cli
  copying homeassistant_cli/hassconst.py -> build/lib/homeassistant_cli
  copying homeassistant_cli/yaml.py -> build/lib/homeassistant_cli
  copying homeassistant_cli/autocompletion.py -> build/lib/homeassistant_cli
  copying homeassistant_cli/cli.py -> build/lib/homeassistant_cli
  copying homeassistant_cli/helper.py -> build/lib/homeassistant_cli
  copying homeassistant_cli/exceptions.py -> build/lib/homeassistant_cli
  copying homeassistant_cli/const.py -> build/lib/homeassistant_cli
  running egg_info
  writing homeassistant_cli.egg-info/PKG-INFO
  writing dependency_links to homeassistant_cli.egg-info/dependency_links.txt
  writing entry points to homeassistant_cli.egg-info/entry_points.txt
  writing requirements to homeassistant_cli.egg-info/requires.txt
  writing top-level names to homeassistant_cli.egg-info/top_level.txt
  reading manifest file 'homeassistant_cli.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'homeassistant_cli.egg-info/SOURCES.txt'
  copying homeassistant_cli/.DS_Store -> build/lib/homeassistant_cli
  copying homeassistant_cli/package_constraints.txt -> build/lib/homeassistant_cli
  copying homeassistant_cli/plugins/area.py -> build/lib/homeassistant_cli/plugins
  copying homeassistant_cli/plugins/config.py -> build/lib/homeassistant_cli/plugins
  copying homeassistant_cli/plugins/device.py -> build/lib/homeassistant_cli/plugins
  copying homeassistant_cli/plugins/entity.py -> build/lib/homeassistant_cli/plugins
  copying homeassistant_cli/plugins/event.py -> build/lib/homeassistant_cli/plugins
  copying homeassistant_cli/plugins/info.py -> build/lib/homeassistant_cli/plugins
  copying homeassistant_cli/plugins/service.py -> build/lib/homeassistant_cli/plugins
  copying homeassistant_cli/plugins/template.py -> build/lib/homeassistant_cli/plugins
  installing to build/bdist.macosx-10.14-x86_64/wheel
  running install
  running install_lib
  creating build/bdist.macosx-10.14-x86_64/wheel
  creating build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli
  copying build/lib/homeassistant_cli/.DS_Store -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli
  copying build/lib/homeassistant_cli/config.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli
  copying build/lib/homeassistant_cli/package_constraints.txt -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli
  copying build/lib/homeassistant_cli/remote.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli
  creating build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli/plugins
  copying build/lib/homeassistant_cli/plugins/service.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli/plugins
  copying build/lib/homeassistant_cli/plugins/system.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli/plugins
  copying build/lib/homeassistant_cli/plugins/event.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli/plugins
  copying build/lib/homeassistant_cli/plugins/config.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli/plugins
  copying build/lib/homeassistant_cli/plugins/completion.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli/plugins
  copying build/lib/homeassistant_cli/plugins/raw.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli/plugins
  copying build/lib/homeassistant_cli/plugins/device.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli/plugins
  copying build/lib/homeassistant_cli/plugins/discover.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli/plugins
  copying build/lib/homeassistant_cli/plugins/map.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli/plugins
  copying build/lib/homeassistant_cli/plugins/template.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli/plugins
  copying build/lib/homeassistant_cli/plugins/entity.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli/plugins
  copying build/lib/homeassistant_cli/plugins/info.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli/plugins
  copying build/lib/homeassistant_cli/plugins/area.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli/plugins
  copying build/lib/homeassistant_cli/hassconst.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli
  copying build/lib/homeassistant_cli/__init__.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli
  copying build/lib/homeassistant_cli/yaml.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli
  copying build/lib/homeassistant_cli/autocompletion.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli
  copying build/lib/homeassistant_cli/cli.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli
  copying build/lib/homeassistant_cli/helper.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli
  copying build/lib/homeassistant_cli/exceptions.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli
  copying build/lib/homeassistant_cli/const.py -> build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli
  running install_egg_info
  Copying homeassistant_cli.egg-info to build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli-0.5.0.dev0-py3.7.egg-info
  running install_scripts
  creating build/bdist.macosx-10.14-x86_64/wheel/homeassistant_cli-0.5.0.dev0.dist-info/WHEEL
  creating 'dist/homeassistant_cli-0.5.0.dev0-py3-none-any.whl' and adding 'build/bdist.macosx-10.14-x86_64/wheel' to it
  adding 'homeassistant_cli/.DS_Store'
  adding 'homeassistant_cli/__init__.py'
  adding 'homeassistant_cli/autocompletion.py'
  adding 'homeassistant_cli/cli.py'
  adding 'homeassistant_cli/config.py'
  adding 'homeassistant_cli/const.py'
  adding 'homeassistant_cli/exceptions.py'
  adding 'homeassistant_cli/hassconst.py'
  adding 'homeassistant_cli/helper.py'
  adding 'homeassistant_cli/package_constraints.txt'
  adding 'homeassistant_cli/remote.py'
  adding 'homeassistant_cli/yaml.py'
  adding 'homeassistant_cli/plugins/area.py'
  adding 'homeassistant_cli/plugins/completion.py'
  adding 'homeassistant_cli/plugins/config.py'
  adding 'homeassistant_cli/plugins/device.py'
  adding 'homeassistant_cli/plugins/discover.py'
  adding 'homeassistant_cli/plugins/entity.py'
  adding 'homeassistant_cli/plugins/event.py'
  adding 'homeassistant_cli/plugins/info.py'
  adding 'homeassistant_cli/plugins/map.py'
  adding 'homeassistant_cli/plugins/raw.py'
  adding 'homeassistant_cli/plugins/service.py'
  adding 'homeassistant_cli/plugins/system.py'
  adding 'homeassistant_cli/plugins/template.py'
  adding 'homeassistant_cli-0.5.0.dev0.dist-info/LICENSE.md'
  adding 'homeassistant_cli-0.5.0.dev0.dist-info/METADATA'
  adding 'homeassistant_cli-0.5.0.dev0.dist-info/WHEEL'
  adding 'homeassistant_cli-0.5.0.dev0.dist-info/entry_points.txt'
  adding 'homeassistant_cli-0.5.0.dev0.dist-info/top_level.txt'
  adding 'homeassistant_cli-0.5.0.dev0.dist-info/RECORD'
  removing build/bdist.macosx-10.14-x86_64/wheel
  Traceback (most recent call last):
    File "/Users/max/code/home-assistant-cli/.tox/typing/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
      main()
    File "/Users/max/code/home-assistant-cli/.tox/typing/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/Users/max/code/home-assistant-cli/.tox/typing/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 141, in build_wheel
      metadata_directory)
    File "/private/tmp/pip-build-env-mgq8amp4/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 178, in build_wheel
      return _file_with_extension(wheel_directory, '.whl')
    File "/private/tmp/pip-build-env-mgq8amp4/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 94, in _file_with_extension
      file, = matching
  ValueError: too many values to unpack (expected 1)

  ----------------------------------------
  Failed building wheel for homeassistant-cli
  Running setup.py clean for homeassistant-cli
Failed to build homeassistant-cli
Could not build wheels for {} which use PEP 517 and cannot be installed directly

ERROR: could not install deps [-r/Users/max/code/home-assistant-cli/requirements_test_all.txt]; v = InvocationError('/usr/bin/env LANG=C.UTF-8 pip install -r/Users/max/code/home-assistant-cli/requirements_test_all.txt (see /Users/max/code/home-assistant-cli/.tox/typing/log/typing-1.log)', 1)
_________________________________________________________________________________________________________ summary __________________________________________________________________________________________________________
ERROR:   typing: could not install deps [-r/Users/max/code/home-assistant-cli/requirements_test_all.txt]; v = InvocationError('/usr/bin/env LANG=C.UTF-8 pip install -r/Users/max/code/home-assistant-cli/requirements_test_all.txt (see /Users/max/code/home-assistant-cli/.tox/typing/log/typing-1.log)', 1)

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
pradyunsgcommented, Feb 8, 2019

@RonnyPfannschmidt Thanks! You do some awesome work too. 😃


@maxandersen pip 19.1 isn’t released yet; I’ve gone ahead an taken the liberty of updating the description to say 19.0.1, which is probably what you meant.

0reactions
pgansslecommented, Feb 8, 2019

@maxandersen The behavior around .toml is a known and deliberate behavior. The presence of a pyproject.toml file triggers pip to use the new PEP 517 behavior, with a default backend of setuptools.build_meta:__legacy__. The reason this is “fixed” when you remove the pyproject.toml is that this bug exists in setuptools’s PEP 517 backend but not when you call python setup.py bdist_wheel.

The reason pyproject.toml is used as an opt-in to PEP 517 is because pyproject.toml was originally conceived of as the configuration file for the new PEP 517/518 mechanisms. This is not as clean a sign of opt-in as we would have hoped because other tools are already using pyproject.toml for their configuration. The decision was made after much discussion that if we don’t use the presence of pyproject.toml as the opt-in mechanism, we’ll never get enough people using the new features to find the important bugs in our implementations.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing/upgrading old versions - failing - #35 by parautenbach
I've been running HA for a LONG time, using the instructions here for new installs, and it's always worked as long as an...
Read more >
2022.12: It does matter! - Home Assistant
Breaking Changes; Farewell to the following; All changes ... Building a calendar isn't easy, but Allen Porter did it!
Read more >
Where is homeassistant hiding? - Configuration
I installed Home-Assistant in a virtual environment using the following guide: I opened it manually: $ hass --open-ui And saw it posting ...
Read more >
Check Home Assistant configuration*ERROR
Running Ubuntu 20.0.4 and HA in Docker. Just went into the console in my homeassistant container and ran: pip show multidict. results:
Read more >
Restart / stop Home Assistant? Systemd - Configuration
I am struggling with how to stop and then restart after changing the ... seems to fully stop the application. ps aux |...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found