summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2023-05-29 13:05:56 +0200
committerCalum Lind <calumlind+deluge@gmail.com>2023-05-29 13:08:34 +0200
commit40a66278a36e8aa202273a3ace073136f744a73c (patch)
tree91c59966b2789eaf104591a52c3058fd391076c9 /.github
parent[GTKUI] Enable appindicator support by default (diff)
downloaddeluge-40a66278a36e8aa202273a3ace073136f744a73c.tar.xz
deluge-40a66278a36e8aa202273a3ace073136f744a73c.zip
[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>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml3
1 files changed, 0 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index adf156e71..82a9fd99a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,9 +7,6 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
-env:
- SETUPTOOLS_ENABLE_FEATURES: "legacy-editable"
-
jobs:
test-linux:
runs-on: ubuntu-20.04