deluge/.github/workflows
Calum Lind 40a66278a3
[Common] Replace pkg_resources with importlib for resource path finding
With an existing Deluge package installed on the system errors were
occuring trying to start a development instance in virtualenv.

Fixed by replacing usage of deprecated pkg_resource for finding
non-python data files. Includes fallback for Python 3.7/3.8 but drops
Python 3.6 support.

The plugins are still using pkg_resources since they are distributed as
eggs and importlib extracts those data files differently to
pkg_resources so requires a different solution, either as a file stream
or manually cached when plugins are installed.

Closes: https://github.com/deluge-torrent/deluge/pull/403

Co-authored-by: DjLegolas <djlegolas@protonmail.com>
2023-05-29 12:08:34 +01:00
..
cd.yml [CD] Cleanup pip cache in Win builds 2022-06-13 19:37:41 +01:00
ci.yml [Common] Replace pkg_resources with importlib for resource path finding 2023-05-29 12:08:34 +01:00
docs.yml [CI] Fix installing enchant for github docs workflow 2022-12-01 13:11:53 +00:00
lint.yml [Lint] Update pre-commit apps to latest versions 2023-02-24 14:59:15 +00:00