Spyder 6.0 requires python-pygithub at runtime

Description:

The latest version of Spyder fails to launch on my system with the following backtrace :

[...]
  File "/usr/lib/python3.12/site-packages/spyder/widgets/github/backend.py", line 28, in <module>
    import github
ModuleNotFoundError: No module named 'github'

Looking at the dependencies in the requirements.py file, this version of Spyder newly depends on the PyGithub library to run. This dependency is not expressed in the current PKGBUILD, with PyGithub only declared in the check dependencies.

Installing independently the python-pygithub package allows Spyder to start correctly.

Additional info:

  • package version(s): 6.0.0-1

Steps to reproduce:

  1. Install spyder 6.0.0-1 on a system without python-pygithub installed.
  2. Try to launch spyder