While attempting to use pypi.io links as suggested here #1939, I've discovered that while spack is able to download these links when using spack install or spack create, spack checksum returns the following error:
spack checksum py-matplotlib
==> Error: Could not fetch any versions for py-matplotlib