Task Todo List Drop python-mock checkdepends

2022-11-11 - Jelle van der Waa

The mock module has mostly been replaced by Python's stdlib unittest.mock. So let's drop this where we can, it already happened in Fedora.

In essence, check if the source code explicitly imports `mock` using `import mock`, modern code uses `from unittest import mock`.

https://fedoraproject.org/wiki/Changes/DeprecatePythonMock

Link to lists of pkgbase values:

Filter Todo List Packages

Select filter criteria
166 packages displayed out of 166 total packages.
Arch Repository Name Current Version Staging Version Maintainers Status Last Touched By
any Community aws-cli-v2 2.8.5-1 yan12125 Incomplete yan12125
any Community beets 1.6.0-3 alucryd, Archange Incomplete
any Community blockdiag 3.0.0-2 felixonmars, dvzrv Complete jelle
any Community buildbot 3.6.1-1 yan12125 Incomplete
any Community certbot-dns-hetzner 1.0.5-5 hashworks Complete hashworks
any Community copr-cli 1.103-2 felixonmars Complete jelle
x86_64 Community curator 5.7.6-8 anthraxx Incomplete
any Community flake8 1:6.0.0-1 jelle, polyzen Complete jelle
any Community in-toto 1.2.0-2 sangy Incomplete
any Community magic-wormhole 0.12.0-7 alex19EP Incomplete
any Community mailman3-hyperkitty 1.2.0-2 dvzrv Incomplete
any Community python-alembic 1.7.6-2 felixonmars, anthraxx Complete jelle
any Community python-aniso8601 9.0.1-4 felixonmars Complete jelle
any Community python-apispec 6.0.2-1 felixonmars Complete jelle
any Community python-argh 0.26.2-10 felixonmars Incomplete
any Community python-aspectlib 1.5.2-4 felixonmars Complete jelle
any Community python-aws-xray-sdk 2.11.0-2 yan12125 Complete jelle
any Community python-basictracer 3.2.0-2 felixonmars Incomplete
any Extra python-beaker 1.11.0-8 felixonmars Incomplete
any Community python-behave 1.2.7.dev2-2 felixonmars Complete jelle
any Community python-boto 2.49.0.20190327-8 lfleischer, felixonmars Complete jelle
any Community python-browserid 0.14.0-12 bgyorgy Complete jelle
any Community python-cachecontrol 1:0.12.11-1 felixonmars, dvzrv Incomplete
any Community python-cliff 4.1.0-1 felixonmars Complete jelle
x86_64 Community python-cmsis-pack-manager 0.4.0-3 dvzrv Incomplete
any Community python-configargparse 1.5.3-2 felixonmars Complete jelle
any Community python-copr 1.123-2 felixonmars Complete jelle
x86_64 Community python-coverage 6.5.0-2 felixonmars, FFY00 Complete jelle
any Extra python-csv23 0.3.4-1 felixonmars Incomplete
any Community python-daemon 2.3.0-3 jlichtblau Complete jelle
any Community python-daiquiri 3.2.1-2 felixonmars Complete jelle
any Community python-django-allauth 0.51.0-2 dvzrv Complete jelle
any Community python-django-compressor 4.1-2 dvzrv Complete jelle
any Community python-django-filter 22.1-2 dvzrv Complete jelle
any Community python-django-guardian 2.4.0-3 dvzrv Complete jelle
any Community python-django-haystack 3.2.1-2 dvzrv Complete jelle
any Community python-docker 6.0.1-3 andrewSC, Foxboron Complete jelle
any Community python-dogpile.cache 1.1.8-2 felixonmars Complete jelle
any Community python-elasticsearch 7.9.0-1 Incomplete jelle
x86_64 Community python-elasticsearch-curator 5.7.6-8 anthraxx Incomplete
any Community python-engineio 4.3.4-2 anthraxx Complete jelle
any Community python-enrich 1.2.7-4 dvzrv Complete jelle
any Community python-eventlet 0.33.1-1 anthraxx Incomplete
any Community python-exam felixonmars Complete jelle
any Community python-fire 0.4.0-3 dvzrv Complete jelle
any Community python-fixtures 4.0.1-2 Complete jelle
any Community python-flaky 3.7.0-7 felixonmars Complete jelle
any Community python-flask-dance 6.2.0-1 Complete jelle
any Community python-flask-login 0.6.2-2 felixonmars, anthraxx Complete jelle
any Community python-flask-mail 0.9.1-9 anthraxx Complete jelle
any Community python-flask-restful 0.3.9-4 felixonmars Complete jelle
any Community python-flask-security-too 4.1.5-2 anthraxx Complete jelle
any Community python-flask-sqlalchemy 2.5.1-3 anthraxx Incomplete
any Community python-fxa 0.7.7-6 bgyorgy Complete jelle
any Community python-genty 1.3.2-11 felixonmars Complete jelle
any Community python-geopy 2.3.0-1 dvzrv Complete jelle
any Community python-glanceclient 4.1.0-2 felixonmars Complete jelle
any Community python-google-auth 2.10.0-1 felixonmars Incomplete
any Community python-google-auth-httplib2 0.1.0-3 felixonmars Incomplete
any Community python-google-auth-oauthlib 0.7.1-2 svenstaro Complete jelle
any Community python-graphviz 0.20.1-2 alerque Complete jelle
any Community python-helper 2.5.0-2 felixonmars Incomplete
any Community python-html5lib 1.1-11 jelle Incomplete
any Community python-httplib2 0.21.0-2 grawlinson Complete grawlinson
any Community python-httpretty 1.1.4-3 felixonmars Incomplete
any Community python-humanfriendly 10.0-3 dvzrv Incomplete
any Community python-hvac 1.0.2-2 yan12125 Complete jelle
any Community python-hypothesis 6.54.4-3 FFY00 Complete jelle
any Community python-influxdb 5.3.0-4 jelle Complete jelle
any Community python-installer 0.5.1-2 polyzen, FFY00 Complete polyzen
any Community python-invoke 1.7.3-1 Incomplete
any Community python-ipdb 0.13.9-3 felixonmars Complete jelle
any Community python-ipykernel 6.18.0-1 kkeen, arojas Complete arojas
any Community python-jaeger-client 4.8.0-3 felixonmars Incomplete
any Community python-json-config 2.0.1-5 felixonmars Complete jelle
any Community python-jsonrpc-server 0.4.0-5 Foxboron, maximbaz Incomplete
any Community python-keystoneauth1 5.1.0-1 felixonmars Complete jelle
any Community python-kubernetes 25.3.0-1 shibumi, foxxx0 Incomplete
any Community python-libarchive-c 4.0-1 anthraxx Incomplete
x86_64 Community python-librabbitmq 2.0.0-8 felixonmars Complete jelle
x86_64 Community python-logbook 1.5.3-11 felixonmars Complete jelle
any Community python-magic-wormhole-mailbox-server 0.4.1-6 alex19EP Incomplete
any Community python-magic-wormhole-transit-relay 0.2.1-5 alex19EP Incomplete
x86_64 Community python-maxminddb 2.2.0-5 felixonmars Complete jelle
any Community python-minio 7.1.12-2 grawlinson Complete grawlinson
any Community python-mocket 3.10.8-2 felixonmars Complete jelle
any Community python-mohawk 1.1.0-6 bgyorgy Incomplete
any Community python-moto 4.0.10-1 yan12125 Incomplete
any Community python-natsort 8.2.0-2 dvzrv Complete dvzrv
any Community python-nodeenv 1.7.0-1 felixonmars Incomplete
any Community python-nose2 0.12.0-2 dvzrv Complete dvzrv
any Community python-objgraph 3.5.0-7 felixonmars Complete jelle
any Community python-openstacksdk 0.102.0-2 felixonmars Complete jelle
any Community python-opentracing 2.4.0-3 felixonmars Incomplete
any Community python-os-client-config 2.1.0-7 felixonmars Complete jelle
any Community python-oslo-context 5.0.0-2 felixonmars Complete jelle
any Community python-oslo-db 12.2.0-2 felixonmars Complete jelle
any Community python-parameterized 0.8.1-3 felixonmars Incomplete
any Community python-paramiko 2.11.1-1 felixonmars Incomplete
any Community python-paver 1.3.4-6 felixonmars Complete jelle
any Community python-pbr 5.11.0-2 felixonmars Complete jelle
any Community python-pecan 1.4.2-2 foxxx0 Complete jelle
any Extra python-pep517 0.13.0-1 felixonmars Incomplete
any Community python-pilkit 2.0-10 dvzrv Incomplete
any Community python-praw 7.6.1-1 felixonmars Incomplete
any Community python-prawcore 2.3.0-3 felixonmars Incomplete
any Community python-pure-sasl 0.6.2-4 felixonmars Incomplete
any Community python-pydocstyle 6.1.1-4 Foxboron Complete jelle
any Community python-pyee 9.0.4-2 Complete polyzen
any Community python-pyftpdlib 1.5.7-2 felixonmars Complete jelle
any Community python-pygls 0.13.0-1 Incomplete
any Community python-pylink-square 0.14.3-2 dvzrv Complete dvzrv
any Community python-pytest 7.2.0-4 polyzen, FFY00 Complete polyzen
any Community python-pytest-console-scripts 1.3.1-2 arojas Complete arojas
any Community python-pytest-rerunfailures 10.3-1 dvzrv Complete dvzrv
any Community python-pytest-services 2.2.1-7 dvzrv Complete dvzrv
any Community python-pytest-shutil 1.7.0-8 felixonmars, FFY00 Incomplete
any Community python-pytest-testinfra 6.8.0-2 dvzrv Complete dvzrv
any Community python-pytest-verbose-parametrize dvzrv Complete dvzrv
any Community python-pyu2f 0.1.5-3 felixonmars Incomplete
any Community python-pyudev 0.24.0-2 FFY00 Complete jelle
any Community python-qtpy 2.3.0-1 muflone, Archange Complete jelle
any Community python-railroad 0.5.0-1 felixonmars Incomplete
any Community python-rawkit 0.6.0-11 jlichtblau Incomplete
any Community python-readme-renderer 37.3-2 Complete jelle
any Community python-remoto 1.2.1-2 foxxx0 Incomplete
any Community python-requests-kerberos 0.14.0-3 felixonmars Complete jelle
any Community python-requests-mock 1.10.0-1 felixonmars Incomplete
any Community python-requests-oauthlib 1.3.1-2 felixonmars Complete jelle
any Community python-rstcheck-core 1.0.3-1 polyzen Complete polyzen
any Community python-schema 0.7.5-1 bluewind Incomplete
any Extra python-setuptools 1:65.6.2-1 felixonmars Incomplete
any Community python-simplebayes bgyorgy Complete jelle
any Community python-socketio 5.7.1-2 anthraxx Complete jelle
any Community python-softlayer 6.1.2-2 felixonmars Complete jelle
any Community python-sphinx-testing 1.0.1-7 kgizdov Complete jelle
any Community python-sphinxcontrib-blockdiag 3.0.0-2 yan12125 Complete yan12125
any Community python-sphinxcontrib-seqdiag 3.0.0-1 Incomplete
any Community python-spyder-kernels 2.4.0-2 Archange Complete jelle
x86_64 Community python-sqlalchemy 1.4.43-2 jelle, anthraxx Complete jelle
any Community python-sqlalchemy-migrate 0.13.0-9 Incomplete
any Community python-sqlalchemy-utils 0.38.3-2 jelle, anthraxx Complete jelle
x86_64 Community python-sqlalchemy1.3 1.3.24-5 jelle Incomplete
any Community python-sshtunnel 0.4.0-3 anthraxx Incomplete
any Community python-stem 1.8.0-6 anthraxx Complete jelle
any Community python-stestr 4.0.1-2 felixonmars Complete jelle
any Community python-stone 3.3.1-2 Complete jelle
any Community python-subprocess-tee 0.4.0-1 dvzrv Complete dvzrv
any Community python-sure 2.0.0-5 felixonmars, yan12125 Complete yan12125
any Community python-swiftclient 4.1.0-2 felixonmars Complete jelle
any Community python-tappy 3.1-2 lfleischer Complete jelle
x86_64 Community python-tornado 6.2.0-2 felixonmars, FFY00 Complete jelle
any Community python-transaction 3.0.1-3 felixonmars Incomplete
any Community python-txtorcon 22.0.0-1 alex19EP Incomplete
any Community python-uproot 4.3.5-3 kgizdov Complete jelle
any Extra python-urllib3 1.26.12-1 felixonmars Incomplete
any Community python-vcrpy 4.2.1-2 felixonmars Complete jelle
any Community python-webargs 8.2.0-2 FFY00 Complete jelle
any Community python-wurlitzer 3.0.2-4 Archange Complete jelle
any Community python-xlib 0.31-3 Foxboron Incomplete jelle
any Community python-xvfbwrapper 0.2.9-9 dvzrv Complete jelle
any Community python-yarg 0.1.9-8 felixonmars Incomplete
any Community sshtunnel 0.4.0-3 anthraxx Incomplete
any Community thefuck 3.32-4 felixonmars, FFY00 Incomplete
any Community trash-cli 0.22.10.20-3 alex19EP Complete jelle
any Community yubikey-manager 1:4.0.9-3 eworm, Foxboron Complete eworm