According to http://www.python.org/dev/peps/pep-0004/, md5 and sha modules are deprecated in python 2.5, and require switching over to hashlib. Todd spotted this issue when trying to configure bamboo. I realized that the security module has an encode/decode process to encrypt passwords, so we need to make spring python able to to handle multiple python versions and deal with this deprecation. See http://docs.python.org/lib/module-hashlib.html for information on how to migrate to hashlib.
You can either do hashlib.md5(), or hashlib.new("md5"), to get an md5 hasher. The first version is cited as faster and preferred, but the second version is more consistent with the old API, and is probably easier to migrate to. PEP-247 documents a standard API for hashing algorithms, and the second version seems to be more in compliance with that.