spesmilo / electrum

Electrum Bitcoin Wallet
https://electrum.org
MIT License
7.4k stars 3.08k forks source link

Build failing on MacOS 14.6.1 python 3.10.11 #9242

Open gus4rs opened 4 days ago

gus4rs commented 4 days ago

Running contrib/osx/make_osx.sh fails eventually:

  Running setup.py install for hidapi ... error
  error: subprocess-exited-with-error

  × Running setup.py install for hidapi did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      running install
      /Users/bob/Source/github/electrum/contrib/osx/build-venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_ext
      building 'hid' extension
      error: unknown file type '.pxd' (from 'chid.pxd')
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
SomberNight commented 4 days ago

We are using much older versions of macOS to build, I am not able to test this now. You could try upgrading hidapi and see if that fixes it.

gus4rs commented 4 days ago

You could try upgrading hidapi

Where should I change?