ikalchev / HAP-python

A python implementation of the HomeKit Accessory Protocol (HAP)
Other
619 stars 118 forks source link

Upgrading version 4.4 to 4.5 or 4.6 on rasperian bullseye (armv7l) #432

Closed Pythonaire closed 1 year ago

Pythonaire commented 1 year ago

can't upgrade version 4.4 to higher version on Raspberry4 (bullseye, Python3.9)

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/chacha20poly1305-reuseable/

then

Building wheels for collected packages: cryptography
  Building wheel for cryptography (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for cryptography (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [193 lines of output]

then:

Setuptools DeprecationWarning:     Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in `packages`.

then:

error: can't find Rust compiler

then:

ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
Pythonaire commented 1 year ago

while adding rustc and trying again:

Building wheels for collected packages: cryptography
  Building wheel for cryptography (pyproject.toml) ... -

freezing

Pythonaire commented 1 year ago

installing cryptography package needs around 10 minutes on amr7l raspberry. Strange, but it works.