Python 2 / PyPy removal help page




Python 2 Countdown:

Check list

Quick list of things to do while removing Python / ?PyPy binary package:

Suggested commands for also finding autopkgtests

To search for all runtime Depends/Recommends, and all mentions in the Sources index (Build-Depends*, Testsuite-Triggers, and the package itself):

Where $module is *binary* package name.

grep-dctrl -w -F Depends,Recommends -s Source "python-$module" 
grep-dctrl -w -s Package "python-$module" 

Outputs only this package's source name => ready to be removed Outputs other source package(s) => not ready yet Outputs nothing => package doesn't exist (either it's already been removed, or you mis-spelt it)

apt-cache rdepends python-$module can slow and does not find autopkgtest depends.

(Suggested by Rebecca Palmer on the debian-python mailing list)

usertags (

Every package should be tagged with:

Add more tags for better classifications:


My package is affected only because it uses python-sphinx to generate documentation, what should I do?

just replace it with python3-sphinx