Task Todo List imp module removal in Python 3.12

Dec. 16, 2023 - Jelle van der Waa

Pyhton 3.12 removed the imp module, I've downloaded all packages which depend on Python searched through the source code for occurrences of `import imp` and `from imp import `, e.g. using rg:

```
rg -l "import imp$"
```

There might be false positives in this list as imports may be gated by either `sys.version_info` or `try/ImportError`. But this was the best I could do. Please check if your package still depends on `import imp` or if it supports `importlib` already.

Please mark packages compatible with 3.12 as completed. Those that still require work, please report an issue upstream and add these non-compatible packages in this pad:

https://md.archlinux.org/python-3.12-broken-packages

https://docs.python.org/dev/whatsnew/3.12.html#imp
https://docs.python.org/3.11/library/imp.html
https://docs.python.org/3.11/library/importlib.html

Link to lists of pkgbase values:

Filter Todo List Packages

Select filter criteria
48 packages displayed out of 48 total packages.
Arch Repository Name Current Version Staging Version Maintainers Status Last Touched By
any Extra accerciser 3.44.1-1 heftig Complete heftig
x86_64 Extra adljack 1.3.1-2 dvzrv Complete jelle
any Extra autopep8 1:2.3.1-1 grawlinson Complete jelle
x86_64 Extra bazel 7.3.2-1 svenstaro, kgizdov Complete dvzrv
any Extra beets 2.0.0-1 alucryd, Archange Complete alucryd
any Extra binwalk 2.4.2-1 anthraxx, FFY00, freswa Complete dvzrv
x86_64 Extra bluefish 2.2.15-2 FFY00 Complete dvzrv
x86_64 Extra cern-vdt 0.4.4-2 kgizdov Complete dvzrv
any Extra cxxtest arodseth Complete dvzrv
x86_64 Extra cython0 arojas Complete arojas
any Extra dblatex 0.3.12-11 lfleischer Complete dvzrv
any Extra dstat Complete svenstaro
x86_64 Extra gnome-code-assistance heftig Complete dvzrv
any Extra gpodder 3.11.4-4 bgyorgy Complete dvzrv
x86_64 Extra powerline 2.8.4-2 farseerfc, Antiz, carsme Complete Antiz
x86_64 Extra pycharm-community-edition 2024.1.5-1 anthraxx, artafinde Complete artafinde
any Extra python-ansiwrap felixonmars Complete dvzrv
any Extra python-asn1crypto 1.5.1-4 felixonmars Complete jelle
any Extra python-boto lfleischer, felixonmars Complete dvzrv
any Extra python-diff-match-patch 20230430-1 jlichtblau Complete jelle
any Extra python-dominate 2.9.1-2 felixonmars Complete jelle
x86_64 Extra python-ethtool Complete dvzrv
x86_64 Extra python-iminuit 2.29.1-1 kgizdov Complete dvzrv
any Extra python-jieba 0.42.1-7 felixonmars Complete dvzrv
any Extra python-klein 24.8.0-1 yan12125 Complete yan12125
x86_64 Extra python-lxml 5.3.0-1 jelle, felixonmars Complete dvzrv
any Extra python-manhole 1.8.0-6 felixonmars Complete jelle
any Extra python-nose-fixes felixonmars Complete dvzrv
any Extra python-oscrypto 1.3.0-6 Complete jelle
any Extra python-pathtools felixonmars Complete dvzrv
any Extra python-paver felixonmars Complete dvzrv
x86_64 Extra python-pivy 0.6.9.a0-4 arodseth Complete dvzrv
any Extra python-ptrace 0.9.9-3 anthraxx Complete dvzrv
x86_64 Extra python-pycuda 2024.1-4 svenstaro, tpkessler Complete dvzrv
any Extra python-pynvim 0.5.0-3 svenstaro Complete dvzrv
x86_64 Extra python-pyopencl 1:2024.2.6-2 sangy Complete dvzrv
x86_64 Extra python-pyscard 2.0.10-1 eworm Complete eworm
any Extra python-pysmt 0.9.5-4 anthraxx Complete dvzrv
any Extra python-qt.py 1.3.8-3 FFY00 Complete dvzrv
x86_64 Extra python-reportlab 4.2.2-1 Foxboron Complete Foxboron
x86_64 Extra python-salsa20 felixonmars Complete dvzrv
any Extra python-sphinxcontrib-autoprogram 0.1.9-2 felixonmars Complete dvzrv
any Extra python-straight.plugin alerque Complete alerque
any Extra python-twisted 24.3.0-2 felixonmars Complete dvzrv
x86_64 Extra python-wrapt 1.16.0-3 felixonmars Complete dvzrv
any Extra thefuck 3.32-10 felixonmars Complete dvzrv
x86_64 Extra vigra 1.12.1-1 Archange, alerque Complete dvzrv
x86_64 Extra virtualbox 7.1.2-1 eworm Complete eworm