Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1271192

Bug#1121201: RM: reentry -- RoQA; obsoleted by importlib.metadata

From Alexandre Detiste <alexandre.detiste@gmail.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1121201: RM: reentry -- RoQA; obsoleted by importlib.metadata
Date 2025-11-22 16:40 +0100
Message-ID <LTXSp-eVzs-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: ftp.debian.org
Severity: normal
X-Debbugs-Cc: reentry@packages.debian.org, Andrius Merkys <andrius.merkys@gmail.com>, Thomas Goirand <zigo@infomaniak.com>
Control: affects -1 + src:reentry
User: ftp.debian.org@packages.debian.org
Usertags: remove


Hi FTP Masters, Andrius, Thomas,


I did a quite lenghty investigations abotu this package I and found these facts:


*) The ITP states "This package is used for plugin management in AiiDA framework (http://www.aiida.net),"
but AiiDA CHANGELOGS.md stats: "Use of the reentry dependency has been replaced by the built-in [importlib.metadat…"

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901022
https://github.com/search?q=repo%3Aaiidateam%2Faiida-core%20reentry&type=code


*) reentry upstream itself states a very lenghty reasoning to switch to importlib.metadata:

https://github.com/aiidateam/reentry/commit/577e5bbf6bde5b81b6ee6125e2f300636959389b


> Python 3.8 saw the introduction of `importlib.metadata <https://docs.python.org/3/library/importlib.metadata.html>`_
> into the Python standard library.
> It is both fast to ``import importlib.metadata`` and fast to scan for entry points using the ``entry_points()`` function.
>
> The separate `importlib-metadata <https://pypi.org/project/importlib-metadata/>`_ package
> backports this functionality to python >=3.6, and as of version 4.6.3 (or earlier),
> scanning is even faster than with the standard library.

...

>The advent of faster (solid-state) disks, together with the faster importlib implementations
> have led to a substantial reduction of the speed benefit that ``reentry`` provided ....
> While there may still be certain edge cases where ``reentry`` is useful,
> we will stop using it going forward and are thus archiving this repository.



For all these reasons I aks for the removal of "reentry".

Greetings

Alexandre

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1121201: RM: reentry -- RoQA; obsoleted by importlib.metadata Alexandre Detiste <alexandre.detiste@gmail.com> - 2025-11-22 16:40 +0100

csiph-web