On Fri, 30 Aug 2019 07:27:38 +0000 Matthias Klose <d...@debian.org> wrote: > Package: src:nagios-plugins-contrib > Version: 24.20190301 > Severity: normal > Tags: sid bullseye > User: debian-pyt...@lists.debian.org > Usertags: py2removal
nagios-plugins-contrib is virtually the only rdep for python-pymongo, and it looks like the code from the last update already supports python3: could you change check_mongodb/check_mongodb.py shebang to point to py3k and update the recommends to python3-pymongo? this way we could drop the py2 support from src:pymongo. there's a percona mongo check too, but tbh it hasnt been updated in 5 years upstream, and python-pymongo is only a suggests there, so maybe we can ignore it? other checks depending on python2: * check_graphite/check_graphite.py - very old check (upstream last change 8years ago) - does it even work anymore? - seems trivial to port to python3, a quick `2to3` reveals just some very basic changes * check_libs_ng/check_libs_ng - this looks almost ready to get its shebang switched to py3k, small `2to3` fix to apply * percona-nagios-plugins/nagios/bin/pmp-check-aws-rds.py - really old script, should be verified if it still works properly - `2to3` suggests really basic changes, maybe let's apply them? please let me know what you think about this, definitely prioritizing dropping python-pymongo would help a lot; i can help preparing/committing the changes, but i wont be able to test them out myself in real-world examples. Regards, Sandro