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.tyrtyr.thefun.eu.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-2 heftig Complete heftig
x86_64 Extra adljack 1.3.1-2 dvzrv Complete jelle
any Extra autopep8 1:2.3.1-3 grawlinson Complete jelle
x86_64 Extra bazel 7.4.0-1 svenstaro, kgizdov Complete dvzrv
any Extra beets 2.1.0-1 alucryd, Archange Complete alucryd
any Extra binwalk anthraxx, FFY00, freswa Complete dvzrv
x86_64 Extra bluefish 2.2.15-3 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-12 lfleischer Complete dvzrv
any Extra dstat Complete svenstaro
x86_64 Extra gnome-code-assistance heftig Complete dvzrv
any Extra gpodder 3.11.4-5 bgyorgy Complete dvzrv
x86_64 Extra powerline 2.8.4-3 farseerfc, Antiz, carsme Complete Antiz
x86_64 Extra pycharm-community-edition 2024.3-4 anthraxx, artafinde Complete artafinde
any Extra python-ansiwrap felixonmars Complete dvzrv
any Extra python-asn1crypto 1.5.1-5 felixonmars Complete jelle
any Extra python-boto lfleischer, felixonmars Complete dvzrv
any Extra python-diff-match-patch 20230430-2 jlichtblau Complete jelle
any Extra python-dominate 2.9.1-3 felixonmars Complete jelle
x86_64 Extra python-ethtool Complete dvzrv
x86_64 Extra python-iminuit 2.30.2-1 kgizdov Complete dvzrv
any Extra python-jieba 0.42.1-8 felixonmars Complete dvzrv
any Extra python-klein 24.8.0-2 yan12125 Complete yan12125
x86_64 Extra python-lxml 5.3.0-2 jelle, felixonmars Complete dvzrv
any Extra python-manhole 1.8.0-7 felixonmars Complete jelle
any Extra python-nose-fixes felixonmars Complete dvzrv
any Extra python-oscrypto 1.3.0-7 Complete jelle
any Extra python-pathtools felixonmars Complete dvzrv
any Extra python-paver felixonmars Complete dvzrv
x86_64 Extra python-pivy 1:0.6.9-1 Complete dvzrv
any Extra python-ptrace 0.9.9-4 anthraxx Complete dvzrv
x86_64 Extra python-pycuda 2024.1.2-1 svenstaro, tpkessler Complete dvzrv
any Extra python-pynvim 0.5.1-2 svenstaro Complete dvzrv
x86_64 Extra python-pyopencl 1:2024.2.6-3 sangy Complete dvzrv
x86_64 Extra python-pyscard 2.0.10-2 eworm Complete eworm
any Extra python-pysmt 0.9.5-5 anthraxx Complete dvzrv
any Extra python-qt.py 1.3.8-4 FFY00 Complete dvzrv
x86_64 Extra python-reportlab Foxboron Complete Foxboron
x86_64 Extra python-salsa20 felixonmars Complete dvzrv
any Extra python-sphinxcontrib-autoprogram 0.1.9-3 felixonmars Complete dvzrv
any Extra python-straight.plugin alerque Complete alerque
any Extra python-twisted 24.3.0-4 felixonmars Complete dvzrv
x86_64 Extra python-wrapt 1.16.0-4 felixonmars Complete dvzrv
any Extra thefuck 3.32-11 felixonmars Complete dvzrv
x86_64 Extra vigra 1.12.1-3 Archange, alerque Complete dvzrv
x86_64 Extra virtualbox 7.1.4-4 eworm Complete eworm