Tribler / tribler

Privacy enhanced BitTorrent client with P2P content discovery
https://www.tribler.org
GNU General Public License v3.0
4.74k stars 445 forks source link

Installation failure of requirements on Python 3.10 #7943

Closed kozlovsky closed 3 months ago

kozlovsky commented 3 months ago

Attempting to install the project's requirements on Python 3.10 fails due to an error related to pyproject.toml during the metadata preparation step. The key part of the error message is:

> python -m pip install --upgrade -r requirements.txt
...
Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [23 lines of output]
      pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead

Solution: Upgrading Qt-related dependencies to the latest versions resolves the issue.