Skip to content

[BUG] pkg_resources is deprecated as an API #221

@Gerben-Tx

Description

@Gerben-Tx

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Just noticed this warning in the logs when starting up deluge

/usr/lib/python3.12/site-packages/deluge/pluginmanagerbase.py:16: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.

Will this cause issues in the future?

Expected Behavior

No response

Steps To Reproduce

Start a container with the latest deluge image (sha256:3e55b3b88d8ba0dac68f1916516e6f4f63f781c7ce6c70f987ef0dd49f119000 in my case)

Environment

- OS: ubuntu 22.04.5 LTS
- How docker service was installed: apt

CPU architecture

x86-64

Docker creation

version: "2.1"
services:
  deluge:
    image: lscr.io/linuxserver/deluge:latest
    container_name: deluge
    environment:
      - PUID=1000
      - PGID=1003
      - TZ=Europe/Amsterdam
      - DELUGE_LOGLEVEL=info #error #optional
    volumes:
      - deluge-config:/config
      - /media/data/torrents:/downloads
    ports:
      - 8112:8112
      - 6881:6881
      - 6881:6881/udp

volumes:
  deluge-config:

Container logs

This is taken directly from the logs (i prefer not to share my complete log if not necessary)

/usr/lib/python3.12/site-packages/deluge/pluginmanagerbase.py:16: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions