[x] I have thoroughly checked the answer is not in the wiki.
Env
h8mail version: N/A
Python version: N/A
Operating System: N/A
Description
The issue is that the setup.py is deploying the tests folder under the root python path and not under this package one.
So it's end up under /usr/lib/python3.11/site-packages/tests rather than /usr/lib/python3.11/site-packages/h8mail/tests and so conflicts with other packages having the same issue.
Anyway usually test are not shipped in a release package so the easiest would just to remove them. Else they should be deployed in the children directory.
Checkbox
Env
Description
The issue is that the setup.py is deploying the
tests
folder under the root python path and not under this package one.So it's end up under
/usr/lib/python3.11/site-packages/tests
rather than/usr/lib/python3.11/site-packages/h8mail/tests
and so conflicts with other packages having the same issue.Anyway usually test are not shipped in a release package so the easiest would just to remove them. Else they should be deployed in the children directory.
It's explained in ArchLinux packaging guidelines for Python: https://wiki.archlinux.org/title/Python_package_guidelines#Test_directory_in_site-package
What I Did