Mentions légales du service

Skip to content
Snippets Groups Projects

Replace setuptools with importlib_* equivalents

Merged JONGLEZ Baptiste requested to merge fix_setuptools into main

Our version constraint on setuptools was causing installation failures in some environments (e.g. outside a virtualenv), because pip cannot uninstall the "incompatible" system version of setuptools.

But anyway, using setuptools/pkg_resources is deprecated:

https://setuptools.pypa.io/en/stable/pkg_resources.html

Replace our usage of pkg_resources with importlib_resources and importlib_metadata, so that we don't even need setuptools as a runtime dependency anymore.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading