See attached stacktrace.
Steps to reproduce:
1.Create a pypi repo in a pre-4.7.2 version
2.Deploy a directory to it, e.g:
curl -XPUT -uadmin:password "http://localhost:8081/artifactory/pypi-local/dir/"
3.Annotate the dir with the pypi.name property with some value
4.Upgrade from your version to version 4.7.3+
The new pypi conversion should kick in. The convertor runs the pypi indexer, which searches artifacts based on the 'pypi.name' property. If you have a directory that has the pypi.name property, it will turn out in the property search results and will eventually result in a ClassCastException.