Skip to content

Remove pkg_resources #1461

@kilianvolmer

Description

@kilianvolmer

Motivation / Current Behaviour

pkg_resources is a part of setuptools and used in the CI, mainly for epidata and plot. It is deprecated (https://setuptools.pypa.io/en/latest/pkg_resources.html) and removed in the current versions of setuptools.

Enhancement description

Rewrite the functions that depend on pkg_resources and use alternative packages.

Additional context

matrix-org/synapse#12508
https://importlib-resources.readthedocs.io/en/latest/migration.html

Checklist

  • Attached labels, especially loc:: or model:: labels.
  • Linked to project

Metadata

Metadata

Assignees

No one assigned

    Labels

    class::improvementCleanup that doesn't affect functionalitydependenciesPull requests that update a dependency fileloc::continuous integrationThis issue concerns any problem of continuous integration.loc::python interfaceThis issue concerns the python interface to the backend implementation.prio::moderateThe priority of this task is moderate.

    Type

    Projects

    Status

    Product Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions