The mimeparse module doesn't fully support Python 3, and installation also fails with FEATURES=test. Although there is a comment saying the tests are broken on Python 3 that isn't really the case, as it is mimeparse.py itself that needs changes for Python 3 support. Luckily it is only a functools.reduce import and dict.has_key fix, so 2to3 can do the work quite easily. The attached patch fixes this. Maybe it is simpler to just disable Python 3 support entirely, but I thought I'd offer the patch anyway ;) Thanks, James Reproducible: Always
Created attachment 310291 [details, diff] Python 3 support for mimeparse
Thanks James. I have restricted python 3. If you would like to see it supported, please submit a patch upstream. It should be a fairly simple change to setup.py.