homebrew-core icon indicating copy to clipboard operation
homebrew-core copied to clipboard

esphome home autobump breaking again for version 2025.11.5

Open jharris4 opened this issue 2 months ago • 3 comments

brew config AND brew doctor output OR brew gist-logs <formula> link

autobump for esphome seems to have failed because it couldn't pull dependencies or something.

https://github.com/Homebrew/homebrew-core/actions/runs/20081002771/job/57607789681#step:6:5452

Verification

  • [x] My brew doctor output says Your system is ready to brew. and am still able to reproduce my issue.
  • [x] I ran brew update and am still able to reproduce my issue.
  • [x] I have resolved all warnings from brew doctor and that did not fix my problem.
  • [x] I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.
  • [x] My issue is not about a failure to build a formula from source.

What were you trying to do (and why)?

Install esphome 2025.11.5

What happened (include all command output)?

esphome is still stuck on 2025.11.4

What did you expect to happen?

2025.11.5 be available for install.

I don't mean to be a pest reporting this (I reported a similar issue with 2025.10.x).

I'm not too familiar with the inner workings of homebrew, but I'm happy to learn if there's something relatively straightforward I can do to help resolve these issues. Thanks!

Step-by-step reproduction instructions (by running brew commands)

brew install esphome

jharris4 avatar Dec 10 '25 03:12 jharris4

Because of the failure to resolve the dependencies through, someone will have to manually update the formula and make sure it selects the right downloads.

SMillerDev avatar Dec 10 '25 08:12 SMillerDev

==> Retrieving PyPI dependencies for "esphome==2025.11.5 chardet dbus-fast pyobjc-framework-corebluetooth pyobjc-framework-libdispatch"...
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [55 lines of output]
      Traceback (most recent call last):
        File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
          ~~~~^^
        File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/var/tmp/pip-build-env-j1jxolq6/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/var/tmp/pip-build-env-j1jxolq6/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/var/tmp/pip-build-env-j1jxolq6/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 20, in <module>
        File "/var/tmp/pip-install-p0akppba/pyobjc-framework-corebluetooth_45e8e182c1314e2e803e84e198fcbd7d/pyobjc_setup.py", line 552, in setup
          os_level = get_os_level()
        File "/var/tmp/pip-install-p0akppba/pyobjc-framework-corebluetooth_45e8e182c1314e2e803e84e198fcbd7d/pyobjc_setup.py", line 252, in get_os_level
          subprocess.check_output(["/usr/bin/sw_vers", "-productVersion"])
          ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/subprocess.py", line 472, in check_output
          return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
                 ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                     **kwargs).stdout
                     ^^^^^^^^^
        File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/subprocess.py", line 554, in run
          with Popen(*popenargs, **kwargs) as process:
               ~~~~~^^^^^^^^^^^^^^^^^^^^^^
        File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/subprocess.py", line 1039, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
          ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                              pass_fds, cwd, env,
                              ^^^^^^^^^^^^^^^^^^^
          ...<5 lines>...
                              gid, gids, uid, umask,
                              ^^^^^^^^^^^^^^^^^^^^^^
                              start_new_session, process_group)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/subprocess.py", line 1876, in _execute_child
          self._posix_spawn(args, executable, env, restore_signals, close_fds,
          ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            p2cread, p2cwrite,
                            ^^^^^^^^^^^^^^^^^^
                            c2pread, c2pwrite,
                            ^^^^^^^^^^^^^^^^^^
                            errread, errwrite)
                            ^^^^^^^^^^^^^^^^^^
        File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.13/subprocess.py", line 1820, in _posix_spawn
          self.pid = os.posix_spawn(executable, args, env, **kwargs)
                     ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/sw_vers'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'pyobjc-framework-corebluetooth' when getting requirements to build wheel

Not sure what is wrong during autobump... need a look here.

daeho-ro avatar Dec 11 '25 13:12 daeho-ro

Should just remove it from autobump list as we can't update the macOS resources on Linux runner.

In current infrastructure, we won't be able to autobump unless we intentionally break some macOS features, i.e. do an incomplete install of bleak without pyobjc-framework-CoreBluetooth dependency.

Would need a macOS runner to actually bump this with all resources. Perhaps we could consider enabling a GitHub macOS runner for formulae that can't autobump on Linux.

cho-m avatar Dec 11 '25 16:12 cho-m

This has been removed from the autobump list as of 30ef9aced8711b02d45af7d08adc7c1fc3f9e82a.

issyl0 avatar Dec 14 '25 15:12 issyl0