Using pip list, I have just discovered that I have pycrypto installed in a container running in production. Since this library hasn't been updated since 2013 and has at least one un-patched CVE, I'd like to figure out what package I'm installing that is installing this as a dependency, because it's probably outdated and unmaintained as well. My requirements.txt has 60 dependencies (and pycrypto is not one of them), so I don't want to check them all manually.
Is there a way to do this or do I have to spin up a new Ubuntu install, install my dependencies one by one and see which one adds pycrypto?