Backports
These packages both exists inside the Standard Library and also outside with another name:
module standard library |
external module |
package |
importlib.metadata |
importlib_metadata |
python3-importlib-metadata |
importlib.resources |
importlib_resources |
python3-importlib-resources |
json |
simplejson |
python3-simplejson |
tomllib |
tomli |
python3-tomli |
unittest.mock |
mock |
python3-mock |
zipfile.Path |
zipp.Path |
python3-zipp |
idem |
python3-exceptiongroup |
In the vast majority of cases, with a recent-enough Python interpreter in Debian, the module from the standard library will be prefered.
python3-toml usage can also trivially be replaced with tomllib
Removed backports
When these backports do not have a single use left in the distribution, they get removed.
module standard library |
external module |
package |
contextlib |
contextlib2 |
python3-contextlib2 |
glob |
glob2 |
python3-glob2 |
inspect |
funcsigs |
python3-funcsigs |
linecache |
linecache2 |
python3-linecache2 |
random |
random2 |
python3-random2 |
unittest |
unittest2 |
python3-unittest2 |
