As far as I know (but correct me if I'm wrong) COPS does not list Python as a dependency.
The module CGIHTTPServer does exist in Python 2.7 that is deprecated in the latest linux releases
This might be a problem in the future.
Maybe that's why my LAN server still runs Debian Jessie (8) instead of the latest and greatest. However COPS still runs fine on Debian Buster (10). So I'm not to worried yet.