spyder dependency on python3-importlib-metadata

Julian Gilbey julian at d-and-j.net
Sun May 11 15:27:46 BST 2025


Hi Alexandre,

Thanks for trying to tidy up Python packages!  Please can I request
that in future, before you try dropping dependencies from packages
(especially this far into the freeze), that you check carefully why
the dependency is present?  In the case of spyder (python3-spyder),
the dependency on python3-importlib-metadata is essential, and is used
throughout the code; at least the following files require it (via
spyder/utils/programs.py), and there may well be others too:

spyder/utils/qthelpers.py
spyder/utils/introspection/rope_patch.py
spyder/utils/tests/test_programs.py
spyder/utils/programs.py
spyder/dependencies.py
spyder/plugins/editor/widgets/codeeditor/tests/conftest.py
spyder/plugins/editor/widgets/main_widget.py
spyder/plugins/help/widgets.py
spyder/plugins/help/confpage.py
spyder/plugins/variableexplorer/widgets/tests/test_dataframeeditor.py
spyder/plugins/variableexplorer/widgets/main_widget.py
spyder/plugins/variableexplorer/widgets/importwizard.py
spyder/plugins/maininterpreter/confpage.py
spyder/plugins/profiler/widgets/main_widget.py
spyder/plugins/ipythonconsole/utils/kernelspec.py
spyder/plugins/pythonpath/widgets/tests/test_pathmanager.py

Most of these are in the main part of the code, not the test suite.

So please don't try to get rid of this dependency even when trixie
arrives!

Best wishes,

   Julian



More information about the debian-science-maintainers mailing list