You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently packaging larynx + deps for Arch Linux and I encountered an issue with phonemes2ids: setuptools includes the tests in the package, which does not play well with Arch Linux packaging:
error: failed to commit transaction (conflicting files)
python-phonemes2ids: /usr/lib/python3.9/site-packages/tests/__init__.py exists in filesystem (owned by python-gruut-ipa)
python-phonemes2ids: /usr/lib/python3.9/site-packages/tests/__pycache__/__init__.cpython-39.opt-1.pyc exists in filesystem (owned by python-gruut-ipa)
python-phonemes2ids: /usr/lib/python3.9/site-packages/tests/__pycache__/__init__.cpython-39.pyc exists in filesystem (owned by python-gruut-ipa)
Errors occurred, no packages were upgraded.
(I packaged and installed gruut-ipa first - I will create the same issue for it as well)
Just to shed some light on this: The tests package being installed is problematic in that, if other packages include their own tests package, these packages end up conflicting. This is the fault of both packages which conflict with each other, however, if all Arch packages followed this guideline of including their packages, and not blanket tests, the issue would not occur.
I'm currently packaging larynx + deps for Arch Linux and I encountered an issue with phonemes2ids: setuptools includes the tests in the package, which does not play well with Arch Linux packaging:
(I packaged and installed
gruut-ipa
first - I will create the same issue for it as well)I patched the
setup.py
file like this:and now it is working.
The text was updated successfully, but these errors were encountered: